This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


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

[PATCH/5] m68k core dump on remote targets


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

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