From: Sergio Durigan Junior <sergiodj@redhat.com>
To: gdb-patches@sourceware.org, tromey@redhat.com
Cc: "Matthew Gretton-Dann" <matthew.gretton-dann@arm.com>
Subject: Re: [PATCH] Gracefully handle not being able to access a DWARF register number
Date: Mon, 26 Apr 2010 20:21:00 -0000 [thread overview]
Message-ID: <201004261720.36179.sergiodj@redhat.com> (raw)
In-Reply-To: <m3eii2m111.fsf@fleche.redhat.com>
On Monday 26 April 2010 17:06:34, Tom Tromey wrote:
> >>>>> "Matthew" == Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
writes:
> Matthew> + warning (_("Unable to access DWARF register number %"
> BFD_VMA_FMT "d"), Matthew> + p->v.expr.value);
>
> I think there is some other way to print a CORE_ADDR, but I forget what
> it is.
I think that's what you're looking for:
/* Convert CORE_ADDR to string in platform-specific manner.
This is usually formatted similar to 0x%lx. */
extern const char *paddress (struct gdbarch *gdbarch, CORE_ADDR addr);
Defined in gdb/defs.h
Regards,
--
Sergio
next prev parent reply other threads:[~2010-04-26 20:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-26 15:28 Matthew Gretton-Dann
2010-04-26 20:06 ` Tom Tromey
2010-04-26 20:21 ` Sergio Durigan Junior [this message]
2010-04-27 10:54 ` Matthew Gretton-Dann
2010-04-30 18:08 ` Tom Tromey
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=201004261720.36179.sergiodj@redhat.com \
--to=sergiodj@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=matthew.gretton-dann@arm.com \
--cc=tromey@redhat.com \
/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