* tracebak.c (i386): Use GCC unwinder on Linux with GCC > 4.5.
From-SVN: r163352
This commit is contained in:
parent
21667997d0
commit
fbb12873f2
@ -1,3 +1,7 @@
|
||||
2010-08-18 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* tracebak.c (i386): Use GCC unwinder on Linux with GCC > 4.5.
|
||||
|
||||
2010-08-10 Robert Dewar <dewar@adacore.com>
|
||||
|
||||
* sem_ch8.adb, sem_ch8.ads: Change name Write_Scopes to ws.
|
||||
|
@ -303,7 +303,14 @@ struct layout
|
||||
#define IS_BAD_PTR(ptr) 0
|
||||
#endif
|
||||
|
||||
/* Starting with GCC 4.6, -fomit-frame-pointer is turned on by default for
|
||||
32-bit x86/Linux as well and DWARF 2 unwind tables are emitted instead.
|
||||
See the x86-64 case below for the drawbacks with this approach. */
|
||||
#if defined (linux) && (__GNUC__ * 10 + __GNUC_MINOR__ > 45)
|
||||
#define USE_GCC_UNWINDER
|
||||
#else
|
||||
#define USE_GENERIC_UNWINDER
|
||||
#endif
|
||||
|
||||
struct layout
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user