This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Add tests for JIT debugging interface
On Wednesday 12 January 2011 15:08:00, Paul Pluzhnikov wrote:
> Is there a "standard" way to achieve this?
Run to main, and write whatever options you need to
(global) variables (e.g., "p count $count") instead of
using "set args". You could leave the argc > 0 handling
in place if it makes it simpler to debug manually.
That, or compile the program with -DOPTION=FOO. Some
tests do that instead.
--
Pedro Alves