aboutsummaryrefslogtreecommitdiff
path: root/gdb/maint.c
diff options
context:
space:
mode:
authorDawn Perchik <dawn@cygnus>1997-02-18 19:33:29 +0000
committerDawn Perchik <dawn@cygnus>1997-02-18 19:33:29 +0000
commit7ae78a73cf9529cbbcbe6ab8c83557047de957be (patch)
tree7a2252cd80570f621333f30335058190407bc093 /gdb/maint.c
parent8d1ba96ecc35ac9eb4454fa7d5523bbc196451ad (diff)
downloadgdb-7ae78a73cf9529cbbcbe6ab8c83557047de957be.zip
gdb-7ae78a73cf9529cbbcbe6ab8c83557047de957be.tar.gz
gdb-7ae78a73cf9529cbbcbe6ab8c83557047de957be.tar.bz2
* 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.
Diffstat (limited to 'gdb/maint.c')
-rw-r--r--gdb/maint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/maint.c b/gdb/maint.c
index 54fc626..ac86dd0 100644
--- a/gdb/maint.c
+++ b/gdb/maint.c
@@ -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++;