This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [gdb]howto specify breakpoints with gdb convenience variables
- From: Tom Tromey <tromey at redhat dot com>
- To: Larry Evans <cppljevans at suddenlink dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 12 Jul 2009 13:01:13 -0600
- Subject: Re: [gdb]howto specify breakpoints with gdb convenience variables
- References: <h3cvbh$cbo$1@ger.gmane.org> <h3d71e$v2b$1@ger.gmane.org>
- Reply-to: tromey at redhat dot com
>>>>> "Larry" == Larry Evans <cppljevans@suddenlink.net> writes:
Larry> Based on:
Larry> http://sourceware.org/ml/gdb/2008-02/msg00070.html
Larry> I guess there's no way to do that :(
If you use the cvs gdb you can do it using python.
In plain gdb you can do it by using set logging to set the output
file, writing the data to it in a source-able form (or using shell sed
or whatever to transform it), then sourcing the file.
Tom