Patches for signal handling in Linux i386

Eric PAIRE e.paire@opengroup.org
Tue May 5 09:10:00 GMT 1998


Hi,

In my latest set of patches I sent you to correctly handle signal handler
trampoline, I made a small mistake. Please find here the correction:

Best regards,
-Eric
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ Eric PAIRE
Email : e.paire@gr.opengroup.org  | THE Open GROUP - Research Institute
Phone : +33 (0) 476 63 48 71 	  | 2, avenue de Vignate
Fax   : +33 (0) 476 51 05 32	  | F-38610 Gieres      FRANCE
------ ChangeLog here  ------ ChangeLog here  ------ ChangeLog here  ------
Tue May  5 18:06:13 1998  Eric Paire  <e.paire@gr.opengroup.org>

	* infrun.c (START_SIGHANDLER): Don't subtract FUNCTION_START_OFFSET.

----- diffs here  ----- diffs here  ----- diffs here ----- diffs here  -----
--- gdb-4.17/gdb/infrun.c~	Thu Apr 30 17:56:00 1998
+++ gdb-4.17/gdb/infrun.c	Tue May  5 18:04:57 1998
@@ -65,8 +65,7 @@
 
 #ifndef START_SIGHANDLER
 #define START_SIGHANDLER(pc, func_start, func_name) \
-  ((pc) == (func_start) - FUNCTION_START_OFFSET \
-   && IN_SIGTRAMP((pc), (func_name)))
+  ((pc) == (func_start) && IN_SIGTRAMP((pc), (func_name)))
 #endif
 
 /* Some machines have trampoline code that sits between function callers



More information about the Gdb-patches mailing list