Set BP immediately

Fabian Cenedese Cenedese@indel.ch
Thu Aug 12 09:20:00 GMT 2004


Hi

I'm trying to debug an embedded PPC board with gdb, that's why I'm
writing a stub. When I set a breakpoint in gdb (b file:nr), gdb just records
this internally and doesn't do anything with the target. Only upon step
or cont it will set the breakpoint in the hardware. But we need the
possibility to immediately set any breakpoint, even if it's for another
not-halted thread. Is this possible with some gdb commands (like
set PC) or would I need to change the code (break flush :) .. ok, better
name it break apply... or set break apply 1) ?

Thanks

bye  Fabi




More information about the Gdb mailing list