Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* local gdb could not stop at breakpoint?
@ 2005-11-29  4:27 yang xiaoli
  2005-11-29  4:41 ` Neo Jia
  2005-11-29 10:13 ` Jim Blandy
  0 siblings, 2 replies; 6+ messages in thread
From: yang xiaoli @ 2005-11-29  4:27 UTC (permalink / raw)
  To: gdb

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb2312; format=flowed, Size: 675 bytes --]

I compile gdb6.0 for arm , now it works, but when I debug a program and set 
breakpoint at a line, it does't stop at breakpoint, it runs over, for 
example like this:

(gdb)l
1 #include <stdlib.h>
2 int main()
3 {
4    int a, b;
5    
6    a = 10;
7    b = 20;
8    printf("hello world\n");
9    printf("a+b= %d", a+b);
(gdb)b 6
(gdb)r
Startomg program...
hello world
a+b= 30

Program exited normally 
(gdb)

when I see breakpoints using command "info b" ,it display the breakpoints 
information normally, why it does not stop at breakpoints?

_________________________________________________________________
Ãâ·ÑÏÂÔØ MSN Explorer:   http://explorer.msn.com/lccn  


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

end of thread, other threads:[~2005-11-30  4:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-29  4:27 local gdb could not stop at breakpoint? yang xiaoli
2005-11-29  4:41 ` Neo Jia
2005-11-29 10:13 ` Jim Blandy
2005-11-30  2:47   ` yang xiaoli
2005-11-30  4:23     ` Jim Blandy
2005-11-30  9:42       ` Daniel Jacobowitz

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