tracebak.c: Enable tracebacks on ia64 platforms

2005-07-04  Matthew Gingell  <gingell@adacore.com>

	* tracebak.c: Enable tracebacks on ia64 platforms

From-SVN: r101594
This commit is contained in:
Matthew Gingell 2005-07-04 15:30:55 +02:00 committed by Arnaud Charlet
parent ef82b92b13
commit 55d4360971
1 changed files with 11 additions and 0 deletions

View File

@ -347,6 +347,17 @@ struct layout
#define PC_ADJUST -2
/* The minimum size of call instructions on this architecture is 2 bytes */
/*----------------------------- ia64 ---------------------------------*/
#elif defined (__ia64__)
#define USE_GCC_UNWINDER
#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. */
#endif
/*---------------------------------------------------------------------*