This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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]

Re: Skipping over trampolines/stubs


On Wed, Apr 01, 2009 at 10:15:33PM +0200, Jonas Maebe wrote:
> Thanks. Given that tracing some of these stubs requires access to the  
> parameters, I should start with adding support for the Borland fastcall 
> calling convention to gdb. The reason is that this is our default calling 
> convention on i386 platforms, mainly for Delphi compatibility reasons 
> (quite a bit of unparametrised assembler code there).
>
> Which brings me to the next point: how does one go about "allocating" a 
> new DW_AT_calling_convention value in the DW_CC_lo_user .. DW_CC_hi_user 
> range? At first sight, there is only one such value currently in public 
> use (DW_CC_GNU_renesas_sh). Can I just take 0x41 for 
> DW_CC_BORLAND_fastcall_i386? And should I then submit this constant for 
> inclusion in binutils first?

I don't know - might want to raise this on the DWARF discussion list
(see dwarfstd.org).

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]