aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2011-12-16 00:08:06 +0000
committerKevin Buettner <kevinb@redhat.com>2011-12-16 00:08:06 +0000
commit083a5534142f4615f9fc4f01a5e9b7be4ef1bee9 (patch)
treeb52d5fa2327558ebbc347d23223c895a76b4af61
parent006695fbe7f5064065239632f3fc7accf720f3a2 (diff)
downloadgdb-083a5534142f4615f9fc4f01a5e9b7be4ef1bee9.zip
gdb-083a5534142f4615f9fc4f01a5e9b7be4ef1bee9.tar.gz
gdb-083a5534142f4615f9fc4f01a5e9b7be4ef1bee9.tar.bz2
* elf32-am33lin.c (elf32_am33lin_grok_prstatus): Add case
to correspond to a smaller ELF_NGREG defined by the kernel.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-am33lin.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3048a1a..2cc2bc7 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-15 Kevin Buettner <kevinb@redhat.com>
+
+ * elf32-am33lin.c (elf32_am33lin_grok_prstatus): Add case
+ to correspond to a smaller ELF_NGREG defined by the kernel.
+
2011-12-15 H.J. Lu <hongjiu.lu@intel.com>
* elf64-x86-64.c (ELF32_DYNAMIC_INTERPRETER): Set to
diff --git a/bfd/elf32-am33lin.c b/bfd/elf32-am33lin.c
index 177a714..dd2aed4 100644
--- a/bfd/elf32-am33lin.c
+++ b/bfd/elf32-am33lin.c
@@ -50,6 +50,7 @@ elf32_am33lin_grok_prstatus (bfd *abfd, Elf_Internal_Note *note)
default:
return FALSE;
+ case 184:
case 188: /* Linux/am33 */
/* pr_cursig */
elf_tdata (abfd)->core_signal = bfd_get_16 (abfd, note->descdata + 12);