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]

Breakpoint Handling in GDB


Hello
I was going through the gdb internals on software breakpoint handling
and have a question regarding that.
Gdb replaces the program instruction with a trap which means target does
not have any control over setting a bp.
What happens if the connection with the gdb breaks down ? 
Does it mean that the illegal instruction won't be restored and the
application will crash ?
If that's the case, then how can it be handled ? 


Thanx
Veenu


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