aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/tracebak.c
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2007-04-06 11:28:04 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2007-04-06 11:28:04 +0200
commitd72eef2995c548bcec77bebacf09e1a8a22151c4 (patch)
treebbfc690b35d236d5a73fed9dc57893e505c5d2f6 /gcc/ada/tracebak.c
parent6d770ce515058de8275fc7197d0fb62c0d6431b5 (diff)
downloadgcc-d72eef2995c548bcec77bebacf09e1a8a22151c4.zip
gcc-d72eef2995c548bcec77bebacf09e1a8a22151c4.tar.gz
gcc-d72eef2995c548bcec77bebacf09e1a8a22151c4.tar.bz2
tracebak.c (PC_ADJUST - ia64): -4 instead of -16...
2007-04-06 Olivier Hainque <hainque@adacore.com> * tracebak.c (PC_ADJUST - ia64): -4 instead of -16, expected to yield an address always within the call instruction from a return address. From-SVN: r123602
Diffstat (limited to 'gcc/ada/tracebak.c')
-rw-r--r--gcc/ada/tracebak.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/ada/tracebak.c b/gcc/ada/tracebak.c
index 9c25d1e..03b32ac 100644
--- a/gcc/ada/tracebak.c
+++ b/gcc/ada/tracebak.c
@@ -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