public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/4820] New: fhpd + breakpoint + exit == Trace/breakpoint trap on inferior
@ 2007-07-20 18:38 mcvet at redhat dot com
2007-07-21 12:19 ` [Bug general/4820] " mark at klomp dot org
0 siblings, 1 reply; 2+ messages in thread
From: mcvet at redhat dot com @ 2007-07-20 18:38 UTC (permalink / raw)
To: frysk-bugzilla
Attach to a process
Set a breakpoint
Run to the breakpoint
Quit fhpd
Attached-to process quits with 'Trace/breakpoint trap'
--
Summary: fhpd + breakpoint + exit == Trace/breakpoint trap on
inferior
Product: frysk
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: general
AssignedTo: frysk-bugzilla at sourceware dot org
ReportedBy: mcvet at redhat dot com
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug general/4820] fhpd + breakpoint + exit == Trace/breakpoint trap on inferior
2007-07-20 18:38 [Bug general/4820] New: fhpd + breakpoint + exit == Trace/breakpoint trap on inferior mcvet at redhat dot com
@ 2007-07-21 12:19 ` mark at klomp dot org
0 siblings, 0 replies; 2+ messages in thread
From: mark at klomp dot org @ 2007-07-21 12:19 UTC (permalink / raw)
To: frysk-bugzilla
------- 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-21 12:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-20 18:38 [Bug general/4820] New: fhpd + breakpoint + exit == Trace/breakpoint trap on inferior mcvet at redhat dot com
2007-07-21 12:19 ` [Bug general/4820] " mark at klomp dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).