diff options
author | John Gilmore <gnu@cygnus> | 1992-05-20 06:03:50 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-05-20 06:03:50 +0000 |
commit | 6ad6ef422c2eadede6584a3c526f64a8eaf03944 (patch) | |
tree | 326f495a181c59349f1b1d0d008c22e9c637ba7e /gdb/m88k-pinsn.c | |
parent | 21a6705a60bb586a06e0ceb698c8e0f49ae4d867 (diff) | |
download | gdb-6ad6ef422c2eadede6584a3c526f64a8eaf03944.zip gdb-6ad6ef422c2eadede6584a3c526f64a8eaf03944.tar.gz gdb-6ad6ef422c2eadede6584a3c526f64a8eaf03944.tar.bz2 |
88K changes inspired by Ted Lemon (uunet!lupine!mellon)
* tm-m88k.h, tm-umax.h: Avoid sizeof() in REGISTER_xxx macros,
since they define the target, not the host.
* m88k-pinsn.c: Fix typo.
Patches by Paul Eggert <eggert@twinsun.com>.
* valarith.c (value_zerop): -0.0 is still zero.
* eval.c (evaluate_subexp): Avoid NaN anomalies in float compares.
Diffstat (limited to 'gdb/m88k-pinsn.c')
-rw-r--r-- | gdb/m88k-pinsn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/m88k-pinsn.c b/gdb/m88k-pinsn.c index 7113232..70dee95 100644 --- a/gdb/m88k-pinsn.c +++ b/gdb/m88k-pinsn.c @@ -340,8 +340,8 @@ void sprint_address (addr, buffer) if (!fs) { msymbol = lookup_minimal_symbol_by_pc (addr); - if (i == NULL) return;/* If nothing comes through, don't - print anything symbolic */ + if (msymbol == NULL) return; /* If nothing comes through, don't + print anything symbolic */ name = msymbol -> name; name_location = msymbol -> address; |