This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

local gdb could not stop at breakpoint?


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]