This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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 */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]