aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-05-02 17:57:02 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-05-02 17:57:02 +0000
commit02240683a51805269b8f2900e51e600b79ae2a43 (patch)
treee2461a0c7f138cdacf9dd5abb7864d4491c3e754 /gdb
parent146243a7e09cc4e7f6e66593affbac688747832d (diff)
downloadgdb-02240683a51805269b8f2900e51e600b79ae2a43.zip
gdb-02240683a51805269b8f2900e51e600b79ae2a43.tar.gz
gdb-02240683a51805269b8f2900e51e600b79ae2a43.tar.bz2
2000-05-02 H.J. Lu <hjl@gnu.org>
* ia64-tdep.c (ia64_gdbarch_init): Reference to ELFOSABI_NONE instead of ELFOSABI_SYSV.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/ia64-tdep.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2bf0f1f..2a6214f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-02 H.J. Lu <hjl@gnu.org>
+
+ * ia64-tdep.c (ia64_gdbarch_init): Reference to ELFOSABI_NONE
+ instead of ELFOSABI_SYSV.
+
Tue May 2 19:07:20 2000 Andrew Cagney <cagney@b1.cygnus.com>
* gdbarch.sh (NPC_REGNUM, NNPC_REGNUM): Add.
diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c
index 2ff8780..e220e27 100644
--- a/gdb/ia64-tdep.c
+++ b/gdb/ia64-tdep.c
@@ -1897,7 +1897,7 @@ ia64_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
os_ident = elf_elfheader (info.abfd)->e_ident[EI_OSABI];
/* If os_ident is 0, it is not necessarily the case that we're on a
- SYSV system. (ELFOSABI_SYSV is defined to be 0.) GNU/Linux uses
+ SYSV system. (ELFOSABI_NONE is defined to be 0.) GNU/Linux uses
a note section to record OS/ABI info, but leaves e_ident[EI_OSABI]
zero. So we have to check for note sections too. */
if (os_ident == 0)