diff options
author | John Gilmore <gnu@cygnus> | 1992-02-22 01:46:16 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-02-22 01:46:16 +0000 |
commit | 1ab3bf1b148d31aad66735f52f9ff72af8769cd0 (patch) | |
tree | f599e61700fc54d6ecd3d090e3d01cf6fa66a801 /gdb/symm-tdep.c | |
parent | 8e48d87af60233cc7e8dc18ab4e8f63d223ac20f (diff) | |
download | gdb-1ab3bf1b148d31aad66735f52f9ff72af8769cd0.zip gdb-1ab3bf1b148d31aad66735f52f9ff72af8769cd0.tar.gz gdb-1ab3bf1b148d31aad66735f52f9ff72af8769cd0.tar.bz2 |
* Check in Fred Fish's changes in these modules. Fred
will make ChangeLog entries for all of them.
Diffstat (limited to 'gdb/symm-tdep.c')
-rw-r--r-- | gdb/symm-tdep.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gdb/symm-tdep.c b/gdb/symm-tdep.c index 55a75ad..e5161d5 100644 --- a/gdb/symm-tdep.c +++ b/gdb/symm-tdep.c @@ -444,15 +444,12 @@ symmetry_extract_return_value(type, regbuf, valbuf) double d; int l[2]; } xd; - int i; + struct minimal_symbol *msymbol; float f; if (TYPE_CODE_FLT == TYPE_CODE(type)) { - for (i = 0; i < misc_function_count; i++) { - if (!strcmp(misc_function_vector[i].name, "1167_flt")) - break; - } - if (i < misc_function_count) { + msymbol = lookup_minimal_symbol ("1167_flt", (struct objfile *) NULL); + if (msymbol != NULL) { /* found "1167_flt" means 1167, %fp2-%fp3 */ /* float & double; 19= %fp2, 20= %fp3 */ /* no single precision on 1167 */ |