[patch] Last remaining abort()?

Andrew Cagney ac131313@cygnus.com
Tue Mar 20 09:48:00 GMT 2001


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
  


More information about the Gdb-patches mailing list