This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
I'll retest. What specific gdb version were you using again? I'm mostly using gdb 5.3 targeted at m68k-elf (well, actually it's m68k-bdm-elf). I gave 6.0 a shot but I had several problems.
anything from 4.17 to 6.0 does not give correct backtrace for
c programs with fomit-frame-pointer.
Perhaps it's a regression on mainline... I've not yet been able to test.
Strangely, it appaears backtrace for c++ programs works even despite fomit-frame-pointer? How can that work? I tried every option I could spot, funwind-tables, ggdb, gdwarf etc.
Hmmm... perhaps exception handling is forcing functions to use fp despite the -fo-f-p flag.
-- // Bernardo Innocenti - Develer S.r.l., R&D dept. \X/ http://www.develer.com/
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |