This is the mail archive of the
insight-prs@sources.redhat.com
mailing list for the Insight project.
insight/40: Clicking 'Stop' button on Insight GUI blows away X session.
- To: insight-gnats at sourceware dot cygnus dot com
- Subject: insight/40: Clicking 'Stop' button on Insight GUI blows away X session.
- From: ken at kenm dot demon dot co dot uk
- Date: 2 Aug 2000 23:47:39 -0000
- Reply-To: ken at kenm dot demon dot co dot uk
- Resent-Cc: insight-prs at sourceware dot cygnus dot com
- Resent-Reply-To: insight-gnats@sourceware.cygnus.com, ken@kenm.demon.co.uk
>Number: 40
>Category: insight
>Synopsis: Clicking 'Stop' button on Insight GUI blows away X session.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 02 16:53:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Ken Milmore
>Release: 20000725
>Organization:
>Environment:
RedHat 6.2; I686; Kernel 2.2.16; XFree86; Gnome
>Description:
Clicking 'Stop' button on Insight GUI blows away X session.
>How-To-Repeat:
Launch Insight from Source Navigator, to debug a C++ console app running in an xterm.
Click 'Run' then 'Continue', then while code is executing, click 'Stop'.
The X session appears to die immediately, and you're dumped back into gdm or whatever.
>Fix:
Problem appeared to be with function child_stop() defined in
file gdb/iftarg.c: Zero pid value being passed to kill().
I hacked around this by changing child_stop to do the following
instead:
if (inferior_pid)
kill (inferior_pid, SIGINT);
>Release-Note:
>Audit-Trail:
>Unformatted: