[patch] Add tests for JIT debugging interface
Pedro Alves
pedro@codesourcery.com
Wed Jan 12 16:12:00 GMT 2011
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
More information about the Gdb-patches
mailing list