OSDN Git Service

2007-04-06 Olivier Hainque <hainque@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Apr 2007 09:28:04 +0000 (09:28 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Apr 2007 09:28:04 +0000 (09:28 +0000)
* tracebak.c (PC_ADJUST - ia64): -4 instead of -16, expected to yield
an address always within the call instruction from a return address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123602 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ada/tracebak.c

index 9c25d1e..03b32ac 100644 (file)
@@ -362,10 +362,8 @@ struct layout
    library. On HP-UX 11.23 this requires patch PHSS_33352, which adds
    _Unwind_Backtrace to the system unwind library. */
 
-#define PC_ADJUST -16
-/* Every call on ia64 is part of a 128 bit bundle, so an adjustment of
-   minus 16 bytes from the point of return finds the address of the
-   previous bundle. */
+#define PC_ADJUST -4
+
 
 #endif