Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* How can I define the breakpoint-commands in my gdbinit file
@ 2006-12-14  1:51 Luo Yi
  2006-12-14  1:54 ` Daniel Jacobowitz
  2006-12-14  4:27 ` Eli Zaretskii
  0 siblings, 2 replies; 7+ messages in thread
From: Luo Yi @ 2006-12-14  1:51 UTC (permalink / raw)
  To: gdb

How can I define the breakpoint-commands in my gdbinit file ?

define b1
b *0x805d3bf
commands
silent
printf "ne, eax = %x\n", $eax
end    <<< ------------
end

the commands need a end instruction which can't appear in the middle
of the gdbinit file.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-12-14 21:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-14  1:51 How can I define the breakpoint-commands in my gdbinit file Luo Yi
2006-12-14  1:54 ` Daniel Jacobowitz
2006-12-14  2:01   ` Luo Yi
2006-12-14  3:10     ` Daniel Jacobowitz
2006-12-14  4:27 ` Eli Zaretskii
2006-12-14  5:02   ` Luo Yi
2006-12-14 21:10     ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox