aboutsummaryrefslogtreecommitdiff
path: root/gdb/command.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1991-11-12 17:50:14 +0000
committerFred Fish <fnf@specifix.com>1991-11-12 17:50:14 +0000
commit58ae87f612e884727a3fc18a2d623534589463a4 (patch)
tree652f140e43ab5430a3d59bb72c8e2e32ae2470a6 /gdb/command.c
parentecb1b520dee9279c9ab81a0352122f88619a90d4 (diff)
downloadgdb-58ae87f612e884727a3fc18a2d623534589463a4.zip
gdb-58ae87f612e884727a3fc18a2d623534589463a4.tar.gz
gdb-58ae87f612e884727a3fc18a2d623534589463a4.tar.bz2
Remove internal gdb definition of fixed arg count concat() function and
convert to use of variable arg count concat() in libiberty.
Diffstat (limited to 'gdb/command.c')
-rw-r--r--gdb/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/command.c b/gdb/command.c
index a1ce588..d883940 100644
--- a/gdb/command.c
+++ b/gdb/command.c
@@ -216,7 +216,7 @@ add_show_from_set (setcmd, list)
/* Replace "set " at start of docstring with "show ". */
if (setcmd->doc[0] == 'S' && setcmd->doc[1] == 'e'
&& setcmd->doc[2] == 't' && setcmd->doc[3] == ' ')
- showcmd->doc = concat ("Show ", setcmd->doc + 4, "");
+ showcmd->doc = concat ("Show ", setcmd->doc + 4, NULL);
else
fprintf (stderr, "GDB internal error: Bad docstring for set command\n");