* maint.c: Fix dereference of pointer.
* remote-sim.c: Fix reference of structure member "last_error". * debugify.c: Include config.h to get ANSI definitions.
This commit is contained in:
parent
8d1ba96ecc
commit
7ae78a73cf
3 changed files with 8 additions and 5 deletions
|
@ -297,7 +297,7 @@ maintenance_translate_address (arg, from_tty)
|
|||
sect = NULL;
|
||||
p = arg;
|
||||
|
||||
if (!isdigit (p))
|
||||
if (!isdigit (*p))
|
||||
{ /* See if we have a valid section name */
|
||||
while (*p && !isspace (*p)) /* Find end of section name */
|
||||
p++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue