This is the mail archive of the gdb@sources.redhat.com 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]

RE: "xbreak" command in GDB ?


>Simply try 
>./gdb ./gdb
>break main
>xbreak main
>disas main

 GDB never exits via the leaving point
of main() function, I suppose.
It exits via "quit_command" function.
I vaguely remember this ( when I was
browsing GDB source code.) So this test
might not reflect things correctly.
Correct me if I am wrong

Sarnath


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