This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] Last remaining abort()?
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: [patch] Last remaining abort()?
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Tue, 20 Mar 2001 12:48:24 -0500
FYI,
I've checked in the attached.
Andrew
2001-03-20 Andrew Cagney <ac131313@redhat.com>
* config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Replace abort
with internal_error.
Index: config/powerpc/tm-linux.h
===================================================================
RCS file: /cvs/src/src/gdb/config/powerpc/tm-linux.h,v
retrieving revision 1.7
diff -p -r1.7 tm-linux.h
*** tm-linux.h 2001/03/06 08:21:34 1.7
--- tm-linux.h 2001/03/20 17:41:41
*************** Foundation, Inc., 59 Temple Place - Suit
*** 27,33 ****
/* We can single step on linux */
#undef SOFTWARE_SINGLE_STEP
! #define SOFTWARE_SINGLE_STEP(p,q) abort() /* Will never execute! */
#undef SOFTWARE_SINGLE_STEP_P
#define SOFTWARE_SINGLE_STEP_P 0
--- 27,33 ----
/* We can single step on linux */
#undef SOFTWARE_SINGLE_STEP
! #define SOFTWARE_SINGLE_STEP(p,q) internal_error (__FILE__, __LINE__, "Will never execute!")
#undef SOFTWARE_SINGLE_STEP_P
#define SOFTWARE_SINGLE_STEP_P 0