* rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR

register.
This commit is contained in:
Andreas Schwab 2007-04-10 16:02:41 +00:00
parent b0b13bb4cc
commit a489f78994
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-04-10 Andreas Schwab <schwab@suse.de>
* rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR
register.
2007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
* breakpoint.c (gdb_breakpoint_query): Really return an

View File

@ -2274,6 +2274,8 @@ rs6000_dwarf2_reg_to_regnum (int num)
else
switch (num)
{
case 64:
return tdep->ppc_cr_regnum;
case 67:
return tdep->ppc_vrsave_regnum - 1; /* vscr */
case 99: