Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Jan Hoogerbrugge <hoogerbrugge@hotmail.com>
Cc: gdb@sources.redhat.com
Subject: Re: two gdb porting questions
Date: Sat, 25 Jan 2003 22:10:00 -0000	[thread overview]
Message-ID: <20030125221028.GA16996@nevyn.them.org> (raw)
In-Reply-To: <F21iKBsuZ2K4xDh9vXs00026868@hotmail.com>

On Fri, Jan 24, 2003 at 03:18:13PM +0100, Jan Hoogerbrugge wrote:
> Dear all,
> 
> I am porting gdb to a new target and I can use some help. I am having
> the following questions:
> 
> * How to find out whether there is a symbol at a memory address in
>  opcodes/xxx-dis.c? Info->symbol_at_address_func does not work. It
>  returns always 1.
> 
> * I want to use stabs to pass frame information from my compiler to
>  gdb. Which stab number(s) should I use for this? How do I get this
>  information in my xxx-tdep.c given the start address of the
>  function? (I use ELF in the case that matters)

Is it absolutely necessary that you use stabs?  There are clean ways to
express this information in DWARF-2, and if you're using ELF, there's
really no excuse.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2003-01-25 22:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-24 14:24 Jan Hoogerbrugge
2003-01-25 22:10 ` Daniel Jacobowitz [this message]
2003-01-26 10:50 Jan Hoogerbrugge
2003-01-26 16:21 ` 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=20030125221028.GA16996@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    --cc=hoogerbrugge@hotmail.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