| delorie.com/archives/browse.cgi | search |
| From: | Martin Str|mberg <ams AT ludd DOT luth DOT se> |
| Message-Id: | <200207211153.g6LBrVW07272@speedy.ludd.luth.se> |
| Subject: | Examining C++'s this in gdb |
| To: | DJGPP <djgpp AT delorie DOT com> |
| Date: | Sun, 21 Jul 2002 13:53:31 +0200 (CEST) |
| X-Mailer: | ELM [version 2.4ME+ PL78 (25)] |
| MIME-Version: | 1.0 |
| Reply-To: | djgpp AT delorie DOT com |
How do I examine "this" and "this->blarg" (in C++) while debugging with gdb. "p this" only says "No symbol "this" in current context." Doesn't every C++ function have a this variable. The source is using this "this" at least. Right, MartinS
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |