This is the mail archive of the
mailing list for the GDB project.
Re: expression debugging
- To: Doug Evans <dje at transmeta dot com>
- Subject: Re: expression debugging
- From: David Taylor <taylor at cygnus dot com>
- Date: Thu, 08 Feb 2001 10:58:14 -0500
- cc: gdb at sourceware dot cygnus dot com
Date: Wed, 7 Feb 2001 19:06:47 -0800
From: Doug Evans <email@example.com>
When's the last time anyone did `set debug expression 1'?
[just curious how much bitrot I should expect]
It works. I've used it from the command line version of gdb within
the past month. It could definitely be improved, but it works.
Problems with it when using the GUI (namely, the output not showing
up at all) was my motivation for creating and posting the patch:
[Which, sadly, never got applied because I was told that rather than
fix a bug in this area, I should rewrite the existing code... And,
frankly, right now I don't have the time for that.]
Also, aren't dump_prefix_expression/dump_postfix_expression misnamed?
[should be the other way around]
Probably. But, even then the names wouldn't be completely correct.
I don't know who created the original names. I just try to think of
the names as "pre" (before) 'fixing the expression' and "post" (after)
'fixing the expression' and worry about other things instead. (Where
'fixing the expression' refers to putting the expression into a form
that GDB likes.)