Andes Workshop
http://forum.andestech.com/

gdb列出所有的breakpoints
http://forum.andestech.com/viewtopic.php?f=16&t=232
Page 1 of 1

Author:  cindy [ Mon Jan 02, 2012 5:02 pm ]
Post subject:  gdb列出所有的breakpoints

gdb列出所有的breakpoints
info breakpoints
Num Type Disp Enb Address What
1 hw breakpoint keep y 0x00005eb0 ../SRC/crt0.S:316
breakpoint already hit 1 time
2 hw breakpoint keep y 0x00006c20 in main at ../SRC/main.c:25
breakpoint already hit 1 time

將breakpoint disable如下
disable 1
info breakpoints
Num Type Disp Enb Address What
1 hw breakpoint keep n 0x00005eb0 ../SRC/crt0.S:316
breakpoint already hit 1 time
2 hw breakpoint keep y 0x00006c20 in main at ../SRC/main.c:25
breakpoint already hit 1 time

跳過breakpoint的指命,例如要跳過5次。
ignore 2 5
Will ignore next 5 crossings of breakpoint 2.

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/