Article View: gnu.gdb.bug
Article #10020Ideas
From: Richard Stallman
Date: Sun, 14 Oct 1990 20:31
Date: Sun, 14 Oct 1990 20:31
27 lines
1764 bytes
1764 bytes
I was reading a manual for another debugger and found the following ideas: * Allow GDB to read macro definitions, perhaps by running cpp with the option to dump out all macro definitions, and then teach it how to expand macros in expressions. * Have "break if CONDITION" create an assertion to be tested after each line. * Have a way to set a breakpoint at the exit from a named function. (This might not work on machines that use individual return instructions, unless you want to scan the function for such instructions. But we could fix this by making GCC use only one common return point when -O is not used.) * Support constructions for referring to variables and functions in specified scopes. For example, function:var for a variable in a given function, or file:function:function for a nested function in a static function in a given a file, and so on. These might not make sense for automatic variables, since you have to identify a frame to get them, not just a scope. * Create a way to put some of the command history into a specified file so that you can edit it and make a script. * Add an if statement that would test an expression for nonzeroness.
Technical Details
Message-ID:
<9010142031.AA07758@pogo>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!AI.MIT.EDU!rmsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5053,d8aa93aa56e3781e,start X-Google-Attributes: gidf5053,public X-Google-ArrivalTime: 1990-10-14 13:31:00 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!AI.MIT.EDU!rms From: rms@AI.MIT.EDU (Richard Stallman) Newsgroups: gnu.gdb.bug Subject: Ideas Message-ID: <9010142031.AA07758@pogo> Date: 14 Oct 90 20:31:00 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 27 Approved: bug-gdb@prep.ai.mit.edu Posted: Sun Oct 14 21:31:00 1990