diff options
author | Stan Shebs <shebs@codesourcery.com> | 1999-04-26 18:34:20 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1999-04-26 18:34:20 +0000 |
commit | 7a292a7adf506b866905b06b3024c0fd411c4583 (patch) | |
tree | 5b208bb48269b8a82d5c3a5f19c87b45a62a22f4 /gdb/sh3-rom.c | |
parent | This commit was generated by cvs2svn to track changes on a CVS vendor (diff) | |
download | binutils-gdb-7a292a7adf506b866905b06b3024c0fd411c4583.tar.gz binutils-gdb-7a292a7adf506b866905b06b3024c0fd411c4583.tar.bz2 binutils-gdb-7a292a7adf506b866905b06b3024c0fd411c4583.zip |
import gdb-19990422 snapshot
Diffstat (limited to 'gdb/sh3-rom.c')
-rw-r--r-- | gdb/sh3-rom.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/gdb/sh3-rom.c b/gdb/sh3-rom.c index ab4aa692427..a4675a607d2 100644 --- a/gdb/sh3-rom.c +++ b/gdb/sh3-rom.c @@ -65,10 +65,12 @@ sh3_supply_register (regname, regnamelen, val, vallen) case 'G': case 'V': if (regname[1] == 'B' && regname[2] == 'R') - if (regname[0] == 'G') - regno = VBR_REGNUM; - else - regno = GBR_REGNUM; + { + if (regname[0] == 'G') + regno = VBR_REGNUM; + else + regno = GBR_REGNUM; + } break; case 'S': if (regname[1] == 'S' && regname[2] == 'R') @@ -84,10 +86,12 @@ sh3_supply_register (regname, regnamelen, val, vallen) { case 'M': if (regname[1] == 'A' && regname[2] == 'C') - if (regname[3] == 'H') - regno = MACH_REGNUM; - else if (regname[3] == 'L') - regno = MACL_REGNUM; + { + if (regname[3] == 'H') + regno = MACH_REGNUM; + else if (regname[3] == 'L') + regno = MACL_REGNUM; + } break; case 'R': if (regname[1] == '0' && regname[2] == '-' && regname[3] == '7') |