From: Kevin Buettner <kevinb@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: [PATCH] rs6000-tdep.c: Reenable debugging of 64-bit AIX executables
Date: Thu, 03 Apr 2003 17:59:00 -0000 [thread overview]
Message-ID: <1030403175926.ZM1520@localhost.localdomain> (raw)
I recently discovered that we were no longer able to debug 64-bit AIX
executables. This patch make it work again.
Committed.
Kevin
* rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set
``mach'' to the value determined by bfd_default_set_arch_mach().
Index: rs6000-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/rs6000-tdep.c,v
retrieving revision 1.122
diff -u -p -r1.122 rs6000-tdep.c
--- rs6000-tdep.c 1 Apr 2003 17:17:29 -0000 1.122
+++ rs6000-tdep.c 3 Apr 2003 17:49:00 -0000
@@ -2741,9 +2741,9 @@ rs6000_gdbarch_init (struct gdbarch_info
else
{
arch = bfd_arch_powerpc;
- mach = 0;
- bfd_default_set_arch_mach (&abfd, arch, mach);
+ bfd_default_set_arch_mach (&abfd, arch, 0);
info.bfd_arch_info = bfd_get_arch_info (&abfd);
+ mach = info.bfd_arch_info->mach;
}
tdep = xmalloc (sizeof (struct gdbarch_tdep));
tdep->wordsize = wordsize;
reply other threads:[~2003-04-03 17:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1030403175926.ZM1520@localhost.localdomain \
--to=kevinb@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