* elf32-cris.c (cris_elf_grok_prstatus): Adjust values to match new
authorHans-Peter Nilsson <hp@axis.com>
Mon, 12 Nov 2001 23:47:02 +0000 (23:47 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Mon, 12 Nov 2001 23:47:02 +0000 (23:47 +0000)
core dump format.

bfd/ChangeLog
bfd/elf32-cris.c

index 8ee8ab4..0a09617 100644 (file)
@@ -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
index 41f4cfc..f8f0725 100644 (file)
@@ -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;
     }