This is the mail archive of the
insight-prs@sources.redhat.com
mailing list for the Insight project.
insight/52: Segfault when trying to download program
- To: insight-gnats at sourceware dot cygnus dot com
- Subject: insight/52: Segfault when trying to download program
- From: sbjohnson at ozemail dot com dot au
- Date: 11 Oct 2000 21:30:17 -0000
- Reply-To: sbjohnson at ozemail dot com dot au
- Resent-Cc: insight-prs at sourceware dot cygnus dot com
- Resent-Reply-To: insight-gnats@sourceware.cygnus.com, sbjohnson@ozemail.com.au
>Number: 52
>Category: insight
>Synopsis: Segfault when trying to download program
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 11 14:33:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Steven Johnson
>Release: 10/10/00 CVS Snapshot
>Organization:
>Environment:
Mandrake Linux 7.0 (2.2.14 Kernel)
GDB Compiled for cross debugging PowerPC (mpc860 variant)
Remote Target connected using GDB Remote Protocol
>Description:
If you have a hook defined for the load command that sets
a register when the download is initiated from Insight, it
segfaults.
The segfault occurs at line 1060 in gdbtypes.c
The culprit seems to be set_command in printcmd.c
>How-To-Repeat:
Create a hook like this:
define hook-load
set $ictrl=0x07
end
and perform a download.
the set can be any register for any architecture (I Believe).
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: