This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[3.1] fix x86_64 DWARF2 table
- From: Jan Hubicka <jh at suse dot cz>
- To: gcc-patches at gcc dot gnu dot org, mark at codesourcery dot com, aj at suse dot de,bo at suse dot de, patches at x86-64 dot org
- Date: Mon, 29 Apr 2002 13:06:23 +0200
- Subject: [3.1] fix x86_64 DWARF2 table
Hi,
this patch fixes stupid typo in the DWARF2 register number definition.
I've installed the patch to mainline branch as obvious.
Mark, can I do the same for the branch? The table is unused for i386,
so there is little risc of damage and the 3.1/3.2 would be debug info
incompatible w/o the patch.
Mon Apr 29 13:02:50 CEST 2002 Jan Hubicka <jh@suse.cz>
* i386.c (dbx64_register_map): Fix typo.
Index: i386.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/i386/i386.c,v
retrieving revision 1.387
diff -c -3 -p -r1.387 i386.c
*** i386.c 23 Apr 2002 12:29:43 -0000 1.387
--- i386.c 29 Apr 2002 11:02:30 -0000
*************** static int const x86_64_int_return_regis
*** 458,464 ****
int const dbx64_register_map[FIRST_PSEUDO_REGISTER] =
{
0, 1, 2, 3, 4, 5, 6, 7, /* general regs */
! 33, 34, 35, 36, 37, 38, 39, 40 /* fp regs */
-1, -1, -1, -1, -1, /* arg, flags, fpsr, dir, frame */
17, 18, 19, 20, 21, 22, 23, 24, /* SSE */
41, 42, 43, 44, 45, 46, 47, 48, /* MMX */
--- 458,464 ----
int const dbx64_register_map[FIRST_PSEUDO_REGISTER] =
{
0, 1, 2, 3, 4, 5, 6, 7, /* general regs */
! 33, 34, 35, 36, 37, 38, 39, 40, /* fp regs */
-1, -1, -1, -1, -1, /* arg, flags, fpsr, dir, frame */
17, 18, 19, 20, 21, 22, 23, 24, /* SSE */
41, 42, 43, 44, 45, 46, 47, 48, /* MMX */