diff options
author | Mark Alexander <marka@cygnus> | 1999-01-26 03:57:32 +0000 |
---|---|---|
committer | Mark Alexander <marka@cygnus> | 1999-01-26 03:57:32 +0000 |
commit | 1eeb1b63faa2dae8e05a7e1e38618c95bdc6bfab (patch) | |
tree | 48e8bb2d80bcbb0268a1aa39b8aa2c0cb2a2286c /gdb/sh-tdep.c | |
parent | b5a10831c4f26b70481e5bdc648095a0229e94f4 (diff) | |
download | gdb-1eeb1b63faa2dae8e05a7e1e38618c95bdc6bfab.zip gdb-1eeb1b63faa2dae8e05a7e1e38618c95bdc6bfab.tar.gz gdb-1eeb1b63faa2dae8e05a7e1e38618c95bdc6bfab.tar.bz2 |
* sh-tdep.c (sh_target_architecture_hook): Return immediately
when a matching machine is found.
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r-- | gdb/sh-tdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 226ca2f..6f9e4cc 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -612,6 +612,7 @@ sh_target_architecture_hook (ap) if (sh_processor_type_table[i].mach == ap->mach) { sh_register_names = sh_processor_type_table[i].regnames; + return 1; } } |