From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15169 invoked by alias); 21 Jul 2007 12:19:01 -0000 Received: (qmail 15136 invoked by uid 48); 21 Jul 2007 12:18:49 -0000 Date: Sat, 21 Jul 2007 12:19:00 -0000 Message-ID: <20070721121849.15135.qmail@sourceware.org> From: "mark at klomp dot org" To: frysk-bugzilla@sourceware.org In-Reply-To: <20070720183811.4820.mcvet@redhat.com> References: <20070720183811.4820.mcvet@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/4820] fhpd + breakpoint + exit == Trace/breakpoint trap on inferior X-Bugzilla-Reason: AssignedTo Mailing-List: contact frysk-bugzilla-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: frysk-bugzilla-owner@sourceware.org X-SW-Source: 2007-q3/txt/msg00138.txt.bz2 List-Id: ------- 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.