From: Mark Kettenis <kettenis@chello.nl>
To: ac131313@redhat.com
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH/RFA] Re: [RFC] Core files and the architecture vector
Date: Mon, 27 Oct 2003 20:53:00 -0000 [thread overview]
Message-ID: <200310272052.h9RKqq95000600@elgar.kettenis.dyndns.org> (raw)
In-Reply-To: <3F9D3E7F.2010001@redhat.com> (message from Andrew Cagney on Mon, 27 Oct 2003 10:49:19 -0500)
Date: Mon, 27 Oct 2003 10:49:19 -0500
From: Andrew Cagney <ac131313@redhat.com>
Like it. Yep.
Thanks, I checked it in, with a ChangeLog that also mentions the
change to arch-utils.h:
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* arch-utils.c (deprecated_select_gdbarch_hack): New function.
(gdbarch_from_bfd): New function.
(set_gdbarch_from_file): Re-implement using gdbarch_from_bfd and
deprecated_select_gdbarch_hack.
* arch-utils.h (gdbarch_from_bfd): New prototype.
BTW, while you're there can you tweak:
error ("Architecture of file not recognized.\n");
to something like this:
error ("Architecture %s of file not recognized",
bfd_get_arch_info(bfd)->printable_name);
Hmm, that would seem strange to me:
Architecture sparc:v8plus of file not recognized
Quite contradictory isn't it. By printing the name GDB implies that
it is somehow recognizing the architecture. So I left this out for
now. Perhaps we can change the string to something that doesn't let
GDB make a fool out of itself?
Mark
next prev parent reply other threads:[~2003-10-27 20:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200310112207.h9BM7WW0010332@elgar.kettenis.dyndns.org>
[not found] ` <3F888D0E.4010001@redhat.com>
2003-10-24 15:04 ` Mark Kettenis
2003-10-27 15:49 ` Andrew Cagney
2003-10-27 20:53 ` Mark Kettenis [this message]
2003-10-28 15:55 ` Andrew Cagney
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=200310272052.h9RKqq95000600@elgar.kettenis.dyndns.org \
--to=kettenis@chello.nl \
--cc=ac131313@redhat.com \
--cc=gdb-patches@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