2001-04-05 Jeff Holcomb <jeffh@redhat.com>
* monitor.c (monitor_supply_register): Only report an error if we don't get a valid value.
This commit is contained in:
parent
f032fb6e9e
commit
1fcef33420
@ -1,3 +1,8 @@
|
||||
2001-04-05 Jeff Holcomb <jeffh@redhat.com>
|
||||
|
||||
* monitor.c (monitor_supply_register): Only report an error if we
|
||||
don't get a valid value.
|
||||
|
||||
2001-04-05 Eli Zaretskii <eliz@is.elta.co.il>
|
||||
|
||||
* README: Don't mention gdba.el.
|
||||
|
@ -906,7 +906,7 @@ monitor_supply_register (int regno, char *valstr)
|
||||
}
|
||||
monitor_debug ("Supplying Register %d %s\n", regno, valstr);
|
||||
|
||||
if (*p != '\0')
|
||||
if (val == 0 && valstr == p)
|
||||
error ("monitor_supply_register (%d): bad value from monitor: %s.",
|
||||
regno, valstr);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user