summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-01-21 04:16:53 +0000
committerAndrew Cagney <cagney@redhat.com>2004-01-21 04:16:53 +0000
commitb0a30fcea7c66ee6d345a9b08b42529aaf3a2836 (patch)
treeb482b8c09fb7cf5bc8c88e8577dd9506ea1a9b94
parent81f08b92d6f1fac7ffef42e5aa031cb8d70f1e06 (diff)
downloadbinutils-gdb-b0a30fcea7c66ee6d345a9b08b42529aaf3a2836.tar.gz
2004-01-20 Andrew Cagney <cagney@redhat.com>
* tui/tui-command.c: Update references. * tui/tui-io.c: Update references. * tui/tui-command.h: Update copyright. (tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/tui/tui-command.c7
-rw-r--r--gdb/tui/tui-command.h26
-rw-r--r--gdb/tui/tui-io.c2
4 files changed, 15 insertions, 27 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cc67ce00dab..b885f07f7c9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,12 +1,15 @@
2004-01-20 Andrew Cagney <cagney@redhat.com>
+ * tui/tui-command.c: Update references.
+ * tui/tui-io.c: Update references.
+ * tui/tui-command.h: Update copyright.
+ (tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar.
+
* source.c (ambiguous_line_spec): Delete never-defined function.
* remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto.
* gdbtypes.c (add_name, add_mangled_type): Ditto.
* cli/cli-cmds.c (validate_comname): Ditto.
-2004-01-20 Andrew Cagney <cagney@redhat.com>
-
* tui/tui-disasm.h: Update copyright. Include "tui.h" and
"tui-data.h".
(tui_set_disassem_content): Rename tuiSetDisassemContent.
diff --git a/gdb/tui/tui-command.c b/gdb/tui/tui-command.c
index 551a5344417..4b1c0fd8e0d 100644
--- a/gdb/tui/tui-command.c
+++ b/gdb/tui/tui-command.c
@@ -48,12 +48,9 @@
** PUBLIC FUNCTIONS **
******************************************/
-/*
- ** tuiDispatchCtrlChar().
- ** Dispatch the correct tui function based upon the control character.
- */
+/* Dispatch the correct tui function based upon the control character. */
unsigned int
-tuiDispatchCtrlChar (unsigned int ch)
+tui_dispatch_ctrl_char (unsigned int ch)
{
TuiWinInfoPtr winInfo = tuiWinWithFocus ();
WINDOW *w = cmdWin->generic.handle;
diff --git a/gdb/tui/tui-command.h b/gdb/tui/tui-command.h
index 7afeb1bb395..9653bf07ee5 100644
--- a/gdb/tui/tui-command.h
+++ b/gdb/tui/tui-command.h
@@ -1,5 +1,8 @@
/* Specific command window processing.
- Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+
+ Copyright 1998, 1999, 2000, 2001, 2004 Free Software Foundation,
+ Inc.
+
Contributed by Hewlett-Packard Company.
This file is part of GDB.
@@ -19,24 +22,9 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#ifndef _TUI_COMMAND_H
-#define _TUI_COMMAND_H
-/*
- ** This header file supports
- */
-
-
-/*****************************************
-** TYPE DEFINITIONS **
-******************************************/
-
-
-
-/*****************************************
-** PUBLIC FUNCTION EXTERNAL DECLS **
-******************************************/
+#ifndef TUI_COMMAND_H
+#define TUI_COMMAND_H
-extern unsigned int tuiDispatchCtrlChar (unsigned int);
+extern unsigned int tui_dispatch_ctrl_char (unsigned int);
#endif
-/*_TUI_COMMAND_H*/
diff --git a/gdb/tui/tui-io.c b/gdb/tui/tui-io.c
index 0cffd6eea9f..61b1f93dcbd 100644
--- a/gdb/tui/tui-io.c
+++ b/gdb/tui/tui-io.c
@@ -689,7 +689,7 @@ tui_getc (FILE *fp)
if (key_is_command_char (ch))
{ /* Handle prev/next/up/down here */
- ch = tuiDispatchCtrlChar (ch);
+ ch = tui_dispatch_ctrl_char (ch);
}
if (ch == '\n' || ch == '\r' || ch == '\f')