From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: dave@hiauly1.hia.nrc.ca
Cc: randolph@tausq.org, gdb@sources.redhat.com, brobecker@adacore.com
Subject: Re: Register numbers on hppa64
Date: Sat, 26 Nov 2005 18:31:00 -0000 [thread overview]
Message-ID: <200511261800.jAQI0QuJ028927@elgar.sibelius.xs4all.nl> (raw)
In-Reply-To: <200511261752.jAQHqPrA004033@hiauly1.hia.nrc.ca> (dave@hiauly1.hia.nrc.ca)
> Date: Sat, 26 Nov 2005 12:52:25 -0500 (EST)
> From: "John David Anglin" <dave@hiauly1.hia.nrc.ca>
>
> > But we have a de-facto ABI since GCC has been using
> > DBX_REGISTER_NUMBER for all non-CFI DWARF2 output. I never noticed
> > DWARF2_FRAME_REG_OUT before, but it seems to implement a suggestion I
> > made in the ppc64 discussion. Now that it's there I really think you
> > should consider using it for hppa/hppa64 too. Something like
> >
> > #define DWARF2_FRAME_REG_OUT(REGNO, FOR_EH) \
> > ((FOR_EH) ? (REGNO) : DBX_REGISTER_NUMBER (REGNO)
> >
> > if pa32-reg.h and pa64-reg.h should be enough.
> >
> > Meanwhile, I should get busy and implement the necessary support in
> > gdb to cope with the fact that .debug_frame has a different encoding
> > than .eh_frame.
>
> Let me understand, are you saying that .debug_frame has a mix
> of gcc and dbx register numbers at present (i.e., it contains
> both cfi and non-cfi data)? If that's the case and it's hard
> for gdb to tell the difference, then I agree that we should
> make the above change.
No what I'm saying is that .dwarf_frame uses different register
numbers than .debug_info and other .debug_xxx sections. This is
awkward and confusing because the same DWARF operations that refer to
register numbers are used in both sections but suddenly have a
different meaning.
Mark
next prev parent reply other threads:[~2005-11-26 18:00 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200511260253.jAQ2rP7Z021130@hiauly1.hia.nrc.ca>
2005-11-26 9:23 ` Randolph Chung
2005-11-26 15:54 ` Mark Kettenis
2005-11-26 16:52 ` Randolph Chung
2005-11-26 17:32 ` Mark Kettenis
2005-11-26 18:50 ` John David Anglin
2005-11-27 16:30 ` Randolph Chung
2005-11-26 17:34 ` John David Anglin
2005-11-26 17:20 ` John David Anglin
2005-11-26 17:13 ` John David Anglin
2005-11-26 17:52 ` Mark Kettenis
2005-11-26 18:00 ` John David Anglin
2005-11-26 18:31 ` Mark Kettenis [this message]
2005-11-27 4:30 ` John David Anglin
2005-11-27 15:10 ` Randolph Chung
2005-11-27 16:52 ` John David Anglin
2005-11-27 17:42 ` Mark Kettenis
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=200511261800.jAQI0QuJ028927@elgar.sibelius.xs4all.nl \
--to=mark.kettenis@xs4all.nl \
--cc=brobecker@adacore.com \
--cc=dave@hiauly1.hia.nrc.ca \
--cc=gdb@sources.redhat.com \
--cc=randolph@tausq.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