Article View: gnu.gdb.bug
Article #10086printing c++ references in gdb 3.5
From: Kevin Boyce
Date: Tue, 24 Jul 1990 17:04
Date: Tue, 24 Jul 1990 17:04
24 lines
1515 bytes
1515 bytes
Hi,
When gdb prints out a stack frame, it prints out
every argument in full form. There doesn't seem
to be any way to control the amount of info it
gives.
This is real difficult when c++ references are involved,
'cos the deref_ref parameter in val_print() seems
to be hard wired as 1 just about everywhere.
I get some truly fat / possibly infinite
frame dumps out of this, and no way to find out
where I am.
I can hack round this by controlling deref_ref from
an environment variable. It would be nice if
this was settable from gdb, and even better if
the verbosity of these printouts could be
controlled.
Also, is 404828592 bytes a record for core dumps, or
don't you subscribe to comp.archives.core-dumps :-)
regards,
kb@stl.stc.co.uk "..am I being chastised as I loll? ..life is good!"
Technical Details
Message-ID:
<9007241704.4059@siris.stl.stc.co.uk>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!stl.stc.co.uk!Kevin.BoyceShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5053,d0ff2b0222f5aabe,start X-Google-Attributes: gidf5053,public X-Google-ArrivalTime: 1990-07-24 19:00:48 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!stl.stc.co.uk!Kevin.Boyce From: Kevin.Boyce@stl.stc.co.uk (Kevin Boyce) Newsgroups: gnu.gdb.bug Subject: printing c++ references in gdb 3.5 Message-ID: <9007241704.4059@siris.stl.stc.co.uk> Date: 24 Jul 90 17:04:10 GMT Sender: jennifer@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 24 Posted: Tue Jul 24 18:04:10 1990