Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jeffrey A Law <law@cygnus.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: Jimmy Guo <guo@cup.hp.com>, gdb-patches@sourceware.cygnus.com
Subject: Re: (patch) hpjyg23: gdbtypes.[ch] & values.c
Date: Wed, 15 Dec 1999 01:00:00 -0000	[thread overview]
Message-ID: <919.945247655@upchuck> (raw)
In-Reply-To: <3831BAF0.269CEFA1@cygnus.com>

  In message < 3831BAF0.269CEFA1@cygnus.com >you write:
  > Jimmy Guo wrote:
  > > 
  > 
  > > >BFD64:  I'm not sure this is the right test. Should some characteristic
  > > >of the ABFD be tested instead?
  > > 
  > > Suggestion for a better alternative is appreciated.
  > 
  > Hmm, TARGET_PTR_BIT indicates the size of a target C-pointer but doesn't
  > help when it comes to the object file.
  > 
  > Checking through the BFD code it looks like there isn't anything to
  > determine the address size of the object file being loaded.  Sorry.
This information is kept in the architecture/machine structures.  See
cpu-hppa.c for examples.

Once you know the architecture/machine you can extract the size of a word,
pointer or byte for the target.

jeff



      reply	other threads:[~1999-12-15  1:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.10.9911161011080.21452-100000@hpcll168.cup.hp.com>
1999-11-16 12:17 ` Andrew Cagney
1999-12-15  1:00   ` Jeffrey A Law [this message]

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=919.945247655@upchuck \
    --to=law@cygnus.com \
    --cc=ac131313@cygnus.com \
    --cc=gdb-patches@sourceware.cygnus.com \
    --cc=guo@cup.hp.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