Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@red-bean.com>
To: Kim Lux <lux@diesel-research.com>
Cc: gdb@sourceware.org
Subject: Re: How is info.bfd_arch_info set ?
Date: Sun, 11 Dec 2005 22:34:00 -0000	[thread overview]
Message-ID: <8f2776cb0512111356q6e2b08bs63635dedfc1fbf3d@mail.gmail.com> (raw)
In-Reply-To: <1134332830.14961.19.camel@localhost.localdomain>

You need to tell us more about what you're doing.  There's no global
variable called 'info', so you must be looking at a local variable of
some function; which function?  How did you get there?

The m68hc11_gdbarch_init function will usually be called more than
once.  If I remember right, once for GDB's default architecture and
once for the architecture it gets from the executable file.  So don't
assume that, because it's being called once with the wrong
bfd_arch_info structure, that that's the one it will actually use. 
After you've told GDB which executable file you want it to use for
debugging information, use 'show arch' to see what architecture it's
using.


      reply	other threads:[~2005-12-11 22:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1134332391.14961.10.camel@localhost.localdomain>
2005-12-11 20:27 ` Kim Lux
2005-12-11 22:34   ` Jim Blandy [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=8f2776cb0512111356q6e2b08bs63635dedfc1fbf3d@mail.gmail.com \
    --to=jimb@red-bean.com \
    --cc=gdb@sourceware.org \
    --cc=lux@diesel-research.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