This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Breakpoint Handling in GDB
- From: "Veenu Verma \(AS/EAB\)" <veenu dot verma at ericsson dot com>
- To: <gdb at sourceware dot org>
- Date: Wed, 30 Aug 2006 15:40:21 +0200
- Subject: 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