This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: GDB 4.17 Patch for stack aligned i386 code
- To: msnyder at cygnus dot com
- Subject: Re: GDB 4.17 Patch for stack aligned i386 code
- From: nsd at cygnus dot com
- Date: Fri, 24 Mar 2000 22:45:13 GMT
- CC: cgf at cygnus dot com, eliz at delorie dot com, gdb-patches at sourceware dot cygnus dot com, jimb at cygnus dot com, john at feith dot com
>Nick Duffek also recently did some work related to frameless
>function backtraces on the X86.
Yup.
>I don't know whether his
>work is checked into the main trunk.
Nope. I wanted to tighten up a couple things before committing the
changes.
>I'd like to see him
>involved in this discussion, so that we don't wind up with
>two solutions to the same problem.
Thanks for the heads-up.
>> It's desirable to omit the frame pointer when compiling leaf functions
>> when targeting the x86 processor as this provides another hard register
>> (%ebp) which can be used by the register allocators.
The code I wrote handles non-leaf functions too. It only works on x86 at
the moment, but I tried to make it architecture-independent.
I'll try to post my patches this weekend.
Nick