This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk 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]

[Bug general/4820] fhpd + breakpoint + exit == Trace/breakpoint trap on inferior


------- 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.


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