This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch/rfa] Handle unwinding through export stubs on hpux

> I don't believe that the 64-bit HP-UX runtime uses export stubs which
> clobber the return value of the caller.  This is only true for the SOM
> runtime.

I removed 64-bit HPUX from the list.



2004-05-18  Randolph Chung <>

	* hppa-tdep.c (hppa_stub_frame_unwind_cache): Don't do export stub
	handling for 64-bit HPUX (elf).

Index: hppa-tdep.c
RCS file: /cvs/src/src/gdb/hppa-tdep.c,v
retrieving revision 1.159
diff -u -p -r1.159 hppa-tdep.c
--- hppa-tdep.c	17 May 2004 16:46:06 -0000	1.159
+++ hppa-tdep.c	19 May 2004 02:14:49 -0000
@@ -1998,8 +1998,7 @@ hppa_stub_frame_unwind_cache (struct fra
   info->base = frame_unwind_register_unsigned (next_frame, HPPA_SP_REGNUM);
-  if (gdbarch_osabi (gdbarch) == GDB_OSABI_HPUX_ELF 
-      || gdbarch_osabi (gdbarch) == GDB_OSABI_HPUX_SOM)
+  if (gdbarch_osabi (gdbarch) == GDB_OSABI_HPUX_SOM)
       /* HPUX uses export stubs in function calls; the export stub clobbers
          the return value of the caller, and, later restores it from the

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