From: Jonas Maebe <jonas.maebe@elis.ugent.be>
To: gdb@sourceware.org
Subject: Re: Skipping over trampolines/stubs
Date: Wed, 01 Apr 2009 21:40:00 -0000 [thread overview]
Message-ID: <B1379BDE-D4B8-4AED-837D-98351723D9EB@elis.ugent.be> (raw)
In-Reply-To: <20090401201952.GA22834@caradoc.them.org>
On 01 Apr 2009, at 22:19, Daniel Jacobowitz wrote:
> On Wed, Apr 01, 2009 at 10:15:33PM +0200, Jonas Maebe wrote:
>> 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).
In case anyone else would ever wonder about this, below is the first
answer I received (since the archives for the dwarf-discuss list are
limited to subscribers). It appears that it's entirely up to binutils/
gdb maintainers in this case.
Jonas
From: roland at redhat.com
Subject: Re: [Dwarf-Discuss] Reserving a new DW_AT_calling_convention
value
Date: Wed 1 Apr 2009 23:26:58 GMT+02:00
To: jonas.maebe@elis.ugent.be
Cc: dwarf-discuss@lists.dwarfstd.org
> I would like to use a new DW_AT_calling_convention attribute value in
> the range DW_CC_lo_user .. DW_CC_hi_user. As far as I can tell, the
> only one currently in (public) use is DW_CC_GNU_renesas_sh (= 0x40).
> My question is: how does one go about reserving/obtaining such a
> number? Do you just take the next one that appears to be available and
> submit patches using this value to binutils (for elf/dwarf.h) and gdb?
> (and possibly dwarflib, and maybe others)
In the lo_user..hi_user range, it is up to each "vendor" to decide the
conventions for using that range. The different implementors
("vendors")
try to stay aware of each other's uses, but "vendor-specific extensions"
means exactly that there is not any shared formal management of that
space.
The DWARF committee decides on the common uses in the <lo_user range.
It's entirely reasonable to propose new values in the common range.
For ELF and DWARF "vendor" stuff in the GNU and Linux world, the
convention
is consensus of the binutils, elfutils, and (when relevant) GCC
maintainers.
If you propose your patches for binutils/gdb and gcc in the normal
ways on
those mailing lists, that will do it.
Thanks,
Roland
prev parent reply other threads:[~2009-04-01 21:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-01 19:08 Jonas Maebe
2009-04-01 19:14 ` Daniel Jacobowitz
2009-04-01 20:15 ` Jonas Maebe
2009-04-01 20:20 ` Daniel Jacobowitz
2009-04-01 21:40 ` Jonas Maebe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=B1379BDE-D4B8-4AED-837D-98351723D9EB@elis.ugent.be \
--to=jonas.maebe@elis.ugent.be \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox