🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #527

<Type not defined in this context> message from gdb v3.6

#527
From: Stuart Hungerford
Date: Thu, 11 Apr 1991 04:45
17 lines
1428 bytes
When using gdb v3.6 to debug code compiled with g++ v3.9 I always get the
message <Type not defined in this context> when I try to "print" class
variables or compound classes made up of other classes.

How do I bring these other classes into "this context" so I can print them?

Stuart


+---------------------------------------------------------------------------+
| Internet : stuarth@csis.dit.csiro.au                  |                   |
| Voice    : +61-6-2750941                              |    _--_|\         |
| Fax      : +61-6-2571052                              |   /      \        |
| Postal   : CSIRO Division of Information Technology,  |   \_.--._/        |
|            GPO Box 664, Canberra ACT 2601             |         v         |
|            AUSTRALIA                                  |                   |
+---------------------------------------------------------------------------+
Technical Details
Message-ID: <1991Apr11.044546.14798@csis.dit.csiro.au>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!pacbell.com!att!ucbvax!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!pacbell.com!att!ucbvax!tut.cis.ohio-state.edu!unreplyable!garbage
From: stuarth@CSIS.DIT.CSIRO.AU (Stuart Hungerford)
Newsgroups: gnu.g++.help,comp.lang.c++
Subject: <Type not defined in this context> message from gdb v3.6
Message-ID: <1991Apr11.044546.14798@csis.dit.csiro.au>
Date: 11 Apr 91 04:45:46 GMT
Sender: daemon@tut.cis.ohio-state.edu
Followup-To: gnu.g++.help
Organization: csis.dit.csiro.au
Lines: 17