diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2007-04-10 16:02:41 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2007-04-10 16:02:41 +0000 |
commit | a489f7899482002eac7956dfcd923dc0688b6ac0 (patch) | |
tree | 5b988c002ff1465e5b190a2f3b2eebaae056e78b /gdb | |
parent | b0b13bb4cc57090510c28345de1c5ab678c68b13 (diff) | |
download | gdb-a489f7899482002eac7956dfcd923dc0688b6ac0.zip gdb-a489f7899482002eac7956dfcd923dc0688b6ac0.tar.gz gdb-a489f7899482002eac7956dfcd923dc0688b6ac0.tar.bz2 |
* rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR
register.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/rs6000-tdep.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b123a95..c10d29e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 6e17167..73dffee 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -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: |