[RFA] elfn32-mips.c: Adjust core file related constants

Kevin Buettner kevinb@redhat.com
Mon Apr 7 17:36:00 GMT 2003


Ping!

--- Forwarded mail from Kevin Buettner <kevinb@redhat.com>

Date: Wed, 15 Jan 2003 13:43:52 -0700
From: Kevin Buettner <kevinb@redhat.com>
To: binutils@sources.redhat.com
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;
     }


--- End of forwarded mail from Kevin Buettner <kevinb@redhat.com>



More information about the Binutils mailing list