Quote:
Originally Posted by jackandking
suppose I have two breakpoint b1 and b2,
and I deinfed scripts s1 and s2 to exec at break time.
how to make s1 autorun when b1 was hit?
|
Code:
break b1
commands
silent # optional. should be first if present
# whatever command you like include running everything via
# gdb's shell command
continue # optional, if you want execution continue after command execution
ends
By the way, what ary trying to achieve ?