This is the mail archive of the gdb-patches@sources.redhat.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] Last remaining abort()?


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
  

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