This is the mail archive of the
frysk-bugzilla@sourceware.org
mailing list for the frysk project.
[Bug general/4820] fhpd + breakpoint + exit == Trace/breakpoint trap on inferior
- From: "mark at klomp dot org" <sourceware-bugzilla at sourceware dot org>
- To: frysk-bugzilla at sourceware dot org
- Date: 21 Jul 2007 12:18:49 -0000
- Subject: [Bug general/4820] fhpd + breakpoint + exit == Trace/breakpoint trap on inferior
- References: <20070720183811.4820.mcvet@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From mark at klomp dot org 2007-07-21 12:18 -------
Unfortunately inserting breakpoints is kind of a "destructive" process. The
actual instruction is being replaced. Frysk then makes sure it is attached to
all threads to catch any trap event caused by these breakpoints, signals the
observers, and "fixes up" the thread so it doesn't notice the breakpoint being
hit when it continues. This does mean that you cannot just exit a frysk-core
using program like fhpd when you still have Code observers installed on the client.
It looks like fhpd main() just stops when the quit command is received without
waiting for the CLI to remove all Code observers it inserted.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4820
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.