2011-03-11 Michael Snyder <msnyder@vmware.com>
* top.c (set_verbose): Assert showcmd was found.
This commit is contained in:
parent
4e6ca6d54b
commit
6dc3565dc4
@ -1,3 +1,7 @@
|
|||||||
|
2011-03-11 Michael Snyder <msnyder@vmware.com>
|
||||||
|
|
||||||
|
* top.c (set_verbose): Assert showcmd was found.
|
||||||
|
|
||||||
2011-03-11 Maxim Grigoriev <maxim2405@gmail.com>
|
2011-03-11 Maxim Grigoriev <maxim2405@gmail.com>
|
||||||
|
|
||||||
* xtensa-tdep.c (warning_once): Correct style issues.
|
* xtensa-tdep.c (warning_once): Correct style issues.
|
||||||
|
@ -1425,6 +1425,8 @@ set_verbose (char *args, int from_tty, struct cmd_list_element *c)
|
|||||||
struct cmd_list_element *showcmd;
|
struct cmd_list_element *showcmd;
|
||||||
|
|
||||||
showcmd = lookup_cmd_1 (&cmdname, showlist, NULL, 1);
|
showcmd = lookup_cmd_1 (&cmdname, showlist, NULL, 1);
|
||||||
|
gdb_assert (showcmd != NULL
|
||||||
|
&& showcmd != (struct cmd_list_element *) -1);
|
||||||
|
|
||||||
if (info_verbose)
|
if (info_verbose)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user