diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2001-07-16 14:46:34 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2001-07-16 14:46:34 +0000 |
commit | 210661e72f813f88355073842a68bcad63eb6760 (patch) | |
tree | 8b6fa51a143bcdd5f22ba4870447c11c488617c6 /gdb/cli | |
parent | 2584159ed946bc2182960a1bdf06f754c177ce50 (diff) | |
download | gdb-210661e72f813f88355073842a68bcad63eb6760.zip gdb-210661e72f813f88355073842a68bcad63eb6760.tar.gz gdb-210661e72f813f88355073842a68bcad63eb6760.tar.bz2 |
2001-07-16 Elena Zannoni <ezannoni@redhat.com>
* top.c (is_complete_command, init_cmd_lists, init_cli_cmds,
execute_user_command, do_setshow_command, get_prompt, init_proc,
serial_log_command): Remove extern declarations. Include
cli/cli-cmds.h, cli/cli-script.h, cli/cli-setshow.h, serial.h.
* gdbcmd.h (execute_user_command): Remove declaration, it's already
in cli/cli-script.h.
* command.h (do_setshow_command): Remove declaration, it's already
in cli/cli-setshow.h.
* infrun.c: Include "cli/cli-script.h" for execute_user_command.
* Makefile.in (infrun.o): Update dependencies.
(top.o): Ditto.
* cli/cli-setshow.h: Add comment for do_setshow_command.
Diffstat (limited to 'gdb/cli')
-rw-r--r-- | gdb/cli/cli-setshow.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/cli/cli-setshow.h b/gdb/cli/cli-setshow.h index e9337dc..393612a 100644 --- a/gdb/cli/cli-setshow.h +++ b/gdb/cli/cli-setshow.h @@ -1,5 +1,5 @@ /* Header file for GDB CLI set and show commands implementation. - Copyright 2000 Free Software Foundation, Inc. + Copyright 2000, 2001 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,6 +21,10 @@ /* Exported to cli/cli-cmds.c and gdb/top.c */ +/* Do a "set" or "show" command. ARG is NULL if no argument, or the text + of the argument, and FROM_TTY is nonzero if this command is being entered + directly by the user (i.e. these are just like any other + command). C is the command list element for the command. */ extern void do_setshow_command (char *arg, int from_tty, struct cmd_list_element *c); |