From b0a30fcea7c66ee6d345a9b08b42529aaf3a2836 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 21 Jan 2004 04:16:53 +0000 Subject: 2004-01-20 Andrew Cagney * tui/tui-command.c: Update references. * tui/tui-io.c: Update references. * tui/tui-command.h: Update copyright. (tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar. --- gdb/ChangeLog | 7 +++++-- gdb/tui/tui-command.c | 7 ++----- gdb/tui/tui-command.h | 26 +++++++------------------- gdb/tui/tui-io.c | 2 +- 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 + * 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 - * 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') -- cgit v1.2.1