aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2001-11-12 23:47:02 +0000
committerHans-Peter Nilsson <hp@axis.com>2001-11-12 23:47:02 +0000
commitbc0d28ee427b6cdb043d038fc321867ef7f7c850 (patch)
tree4ba891dbd5eaffd2171d2c26cd8547b13055f8cf
parent968d5a056ec24bcf4e899a5d93235cc79c6152a4 (diff)
downloadgdb-bc0d28ee427b6cdb043d038fc321867ef7f7c850.zip
gdb-bc0d28ee427b6cdb043d038fc321867ef7f7c850.tar.gz
gdb-bc0d28ee427b6cdb043d038fc321867ef7f7c850.tar.bz2
* elf32-cris.c (cris_elf_grok_prstatus): Adjust values to match new
core dump format.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-cris.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 8ee8ab4..0a09617 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-12 Orjan Friberg <orjanf@axis.com>
+
+ * elf32-cris.c (cris_elf_grok_prstatus): Adjust values to match new
+ core dump format.
+
2001-11-11 H.J. Lu <hjl@gnu.org>
* elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Call
diff --git a/bfd/elf32-cris.c b/bfd/elf32-cris.c
index 41f4cfc..f8f0725 100644
--- a/bfd/elf32-cris.c
+++ b/bfd/elf32-cris.c
@@ -482,7 +482,7 @@ cris_elf_grok_prstatus (abfd, note)
default:
return false;
- case 166: /* Linux/CRIS */
+ case 214: /* Linux/CRIS */
/* pr_cursig */
elf_tdata (abfd)->core_signal = bfd_get_16 (abfd, note->descdata + 12);
@@ -491,7 +491,7 @@ cris_elf_grok_prstatus (abfd, note)
/* pr_reg */
offset = 70;
- raw_size = 92;
+ raw_size = 140;
break;
}