Andes Workshop

It is currently Mon Jul 22, 2019 11:20 pm

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: gdb列出所有的breakpoints
PostPosted: Mon Jan 02, 2012 5:02 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
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.


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group