This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[PATCH/5] m68k core dump on remote targets
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>, Serge Nikulin <nikulin at actsw dot amat dot com>
- Subject: [PATCH/5] m68k core dump on remote targets
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Fri, 28 Apr 2000 15:46:21 +1000
- Organization: Cygnus Solutions
FYI,
I've checked in the attatched. It stops a core dump when debuging a
remote m68k target.
Serge, you should probably read the file gdb/CONTRIBUTE included in the
snapshots.
Andrew
Fri Apr 28 15:31:10 2000 Andrew Cagney <cagney@b1.cygnus.com>
From "Serge Nikulin" <nikulin@actsw.amat.com>:
* m68k-tdep.c (delta68_in_sigtramp): Return 0 when the function
name is unknow.
Index: m68k-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/m68k-tdep.c,v
retrieving revision 1.3
diff -p -r1.3 m68k-tdep.c
*** m68k-tdep.c 2000/03/24 17:55:13 1.3
--- m68k-tdep.c 2000/04/28 05:36:30
*************** delta68_in_sigtramp (pc, name)
*** 91,97 ****
CORE_ADDR pc;
char *name;
{
! return strcmp (name, "_sigcode") == 0;
}
CORE_ADDR
--- 91,100 ----
CORE_ADDR pc;
char *name;
{
! if (name != NULL)
! return strcmp (name, "_sigcode") == 0;
! else
! return 0;
}
CORE_ADDR