projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2011-01-05 Michael Snyder <msnyder@vmware.com>
[deliverable/binutils-gdb.git]
/
gdb
/
cli
/
cli-decode.c
diff --git
a/gdb/cli/cli-decode.c
b/gdb/cli/cli-decode.c
index e49eb032343f3ffb5cb1023e4f79aedcfe25e9d9..4c1b4121587c42bcdf6da732963596f690091e61 100644
(file)
--- a/
gdb/cli/cli-decode.c
+++ b/
gdb/cli/cli-decode.c
@@
-279,7
+279,8
@@
add_alias_cmd (char *name, char *oldname, enum command_class class,
containing that list. */
struct cmd_list_element *
containing that list. */
struct cmd_list_element *
-add_prefix_cmd (char *name, enum command_class class, void (*fun) (char *, int),
+add_prefix_cmd (char *name, enum command_class class,
+ void (*fun) (char *, int),
char *doc, struct cmd_list_element **prefixlist,
char *prefixname, int allow_unknown,
struct cmd_list_element **list)
char *doc, struct cmd_list_element **prefixlist,
char *prefixname, int allow_unknown,
struct cmd_list_element **list)
@@
-1378,7
+1379,8
@@
lookup_cmd (char **line, struct cmd_list_element *list, char *cmdtype,
for (c = local_list; c; c = c->next)
if (!strncmp (*line, c->name, amb_len))
{
for (c = local_list; c; c = c->next)
if (!strncmp (*line, c->name, amb_len))
{
- if (strlen (ambbuf) + strlen (c->name) + 6 < (int) sizeof ambbuf)
+ if (strlen (ambbuf) + strlen (c->name) + 6
+ < (int) sizeof ambbuf)
{
if (strlen (ambbuf))
strcat (ambbuf, ", ");
{
if (strlen (ambbuf))
strcat (ambbuf, ", ");
@@
-1751,7
+1753,7
@@
complete_on_enum (const char *enumlist[],
else
{
matchlist = (char **) xrealloc ((char *) matchlist, ((matches + 1)
else
{
matchlist = (char **) xrealloc ((char *) matchlist, ((matches + 1)
- * sizeof (char *)));
+
* sizeof (char *)));
matchlist[matches] = (char *) 0;
}
matchlist[matches] = (char *) 0;
}
This page took
0.023877 seconds
and
4
git commands to generate.