This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[RFA] elfn32-mips.c: Adjust core file related constants
- From: Kevin Buettner <kevinb at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: Wed, 15 Jan 2003 13:43:52 -0700
- Subject: [RFA] elfn32-mips.c: Adjust core file related constants
I found it necessary to adjust certain constants in elfn32-mips.c for
core file support in gdb.
Okay?
* elfn32-mips.c (elf32_mips_grok_prstatus): Adjust core file related
constants for n32 ABI.
Index: elfn32-mips.c
===================================================================
RCS file: /cvs/src/src/bfd/elfn32-mips.c,v
retrieving revision 1.5
diff -u -p -r1.5 elfn32-mips.c
--- elfn32-mips.c 8 Jan 2003 22:00:53 -0000 1.5
+++ elfn32-mips.c 15 Jan 2003 20:33:19 -0000
@@ -2024,7 +2024,7 @@ elf32_mips_grok_prstatus (abfd, note)
default:
return FALSE;
- case 256: /* Linux/MIPS */
+ case 440: /* Linux/MIPS N32 */
/* pr_cursig */
elf_tdata (abfd)->core_signal = bfd_get_16 (abfd, note->descdata + 12);
@@ -2033,7 +2033,7 @@ elf32_mips_grok_prstatus (abfd, note)
/* pr_reg */
offset = 72;
- raw_size = 180;
+ raw_size = 360;
break;
}