This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch/rfa] Handle unwinding through export stubs on hpux
- From: Randolph Chung <randolph at tausq dot org>
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: gcc-patches at sources dot redhat dot com
- Date: Tue, 18 May 2004 19:16:48 -0700
- Subject: Re: [patch/rfa] Handle unwinding through export stubs on hpux
- References: <200405171731.i4HHVDlq006322@hiauly1.hia.nrc.ca>
- Reply-to: Randolph Chung <randolph at tausq dot org>
> 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.
Committed.
randolph
2004-05-18 Randolph Chung <tausq@debian.org>
* 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