Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Nick Clifton <nickc@redhat.com>
To: gdb@sources.redhat.com
Cc: binutils@sources.redhat.com
Subject: Re: What to do with info addr and location expressions
Date: Mon, 21 Jul 2003 11:14:00 -0000	[thread overview]
Message-ID: <m3y8ysf81z.fsf@redhat.com> (raw)
In-Reply-To: <3F18175E.30607@redhat.com> (Andrew Cagney's message of "Fri, 18 Jul 2003 11:50:54 -0400")

Hi Guys

> [added binutils: gdb needs a way of printing out dwarf2 location
> expressions]
>
> Why not share the readelf code?  Print both the actual expression and
> (for simple cases) an English translation.

readelf was not written with the intention of being used as a
library.  That does not mean however that the expression printing code
could not be moved into a separate file and then compiled in to both
gdb and readelf.

One thing though - readelf does not, and should not, used the bfd
library.  One of its main goals is to provide an alternative to bfd
for parsing and displaying ELF files, so that it can act as a
sanity/bug check.

Cheers
        Nick
        


  reply	other threads:[~2003-07-21 11:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-18 14:54 Elena Zannoni
2003-07-18 15:30 ` Daniel Jacobowitz
2003-07-18 15:50   ` Andrew Cagney
2003-07-21 11:14     ` Nick Clifton [this message]
2003-07-21 17:54       ` Jim Blandy
2003-07-21 19:12         ` Andrew Cagney
2003-07-21 20:07         ` Nick Clifton
2003-07-21 20:14           ` Daniel Berlin
2003-07-21 20:35             ` Doug Evans
2003-07-21 20:33           ` Andrew Cagney
2003-07-21 20:45             ` DJ Delorie
2003-07-22  9:20               ` Nick Clifton
2003-07-22 13:26                 ` DJ Delorie
2003-07-22 15:33                   ` Nick Clifton
2003-07-22 15:39                     ` Daniel Jacobowitz
2003-07-18 16:01   ` Elena Zannoni
2003-07-18 16:11     ` Daniel Jacobowitz

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=m3y8ysf81z.fsf@redhat.com \
    --to=nickc@redhat.com \
    --cc=binutils@sources.redhat.com \
    --cc=gdb@sources.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