This is the mail archive of the
mailing list for the GDB project.
Re: add-symbol-file arguments
Daniel Jacobowitz wrote:
On Mon, Nov 03, 2008 at 12:03:51PM -0800, Manning, Sid wrote:
Is it possible to "stringify" the value in a variable and use the
result in another gdb command. The specific command is
Not yet, but the ongoing Python integration will allow this easily.
Well, that's not entirely true. You can do it now, but it's ugly...
you can steal the "set logging" command to generate output to a
temporary file, generate output using the "printf" command,
and then "source" it. It's not highly recommended :-)
What -- you don't like self-modifying code? ;-)