This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
bfd/elf32-cris.c cris_elf_grok_prstatus update, committed.
- To: binutils at sources dot redhat dot com
- Subject: bfd/elf32-cris.c cris_elf_grok_prstatus update, committed.
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Date: Tue, 13 Nov 2001 00:48:58 +0100
Committed for Örjan. The old struct user format didn't hold
enough information. As core dump support isn't anywhere but on
Örjan's machine right now AFAIK, there's little need for
compatibility.
2001-11-12 Orjan Friberg <orjanf@axis.com>
* elf32-cris.c (cris_elf_grok_prstatus): Adjust values to match new
core dump format.
Index: elf32-cris.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-cris.c,v
retrieving revision 1.18
diff -p -c -c -p -r1.18 elf32-cris.c
*** elf32-cris.c 2001/11/10 00:23:34 1.18
--- elf32-cris.c 2001/11/12 23:38:43
*************** cris_elf_grok_prstatus (abfd, note)
*** 482,488 ****
default:
return false;
! case 166: /* Linux/CRIS */
/* pr_cursig */
elf_tdata (abfd)->core_signal = bfd_get_16 (abfd, note->descdata + 12);
--- 482,488 ----
default:
return false;
! case 214: /* Linux/CRIS */
/* pr_cursig */
elf_tdata (abfd)->core_signal = bfd_get_16 (abfd, note->descdata + 12);
*************** cris_elf_grok_prstatus (abfd, note)
*** 491,497 ****
/* pr_reg */
offset = 70;
! raw_size = 92;
break;
}
--- 491,497 ----
/* pr_reg */
offset = 70;
! raw_size = 140;
break;
}
brgds, H-P