public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Jan-Benedict Glaw <jbglaw@microdata-pos.de>
To: binutils@sources.redhat.com
Subject: Re: Decode function entry mask on VAXen
Date: Tue, 08 Mar 2005 12:25:00 -0000	[thread overview]
Message-ID: <20050308132522.A9300@microdata-pos.de> (raw)
In-Reply-To: <20050308121400.GD15642@bubble.modra.org>; from amodra@bigpond.net.au on Tue, Mar 08, 2005 at 10:44:00PM +1030

On Tue, Mar 08, 2005 at 10:44:00PM +1030, Alan Modra wrote:

Hi Alan!

> objdump already breaks up calls to disassemble_bytes into the pieces of
> a section between two defined symbols (possibly validated by a target
> symbol_is_valid function).  So if the only symbols in vax code are those
> at the beginning of a function, your idea of using last_symbol_address
> will work.  However, I think it would be better to pass
> "asymbol *last_symbol" instead, which gives your backend disassembler_fn
> a chance to deal with non-function symbols that might appear in code.

I'll try to implement that. For sure, non-function symbols will show up
from time to time... However, in a typical ELF object file, there are
somewhat rare, while wrongly disassembled functions were the standard :)

> Note that gdb also uses the disassembler, so it would be a good idea to
> see how your ideas fit in with gdb too.

I think vax-linux isn't yet a supported gdb target, but I'll try to get
NetBSD running on one of my /90 and have a test with it, too. The BSD
guys should have basically the same problems here...

Thanks again, JBG

-- 
AWEK microdata GmbH -- Am Wellbach 4 -- 33609 Bielefeld

  reply	other threads:[~2005-03-08 12:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-08  2:14 Jan-Benedict Glaw
2005-03-08 12:14 ` Alan Modra
2005-03-08 12:25   ` Jan-Benedict Glaw [this message]
2005-03-08 20:30   ` Jan-Benedict Glaw
2005-03-09  0:45     ` Alan Modra
2005-03-09  9:46       ` Jan-Benedict Glaw
2005-03-09 13:20         ` Alan Modra

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=20050308132522.A9300@microdata-pos.de \
    --to=jbglaw@microdata-pos.de \
    --cc=binutils@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).