mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 02:53:48 +08:00
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.
This commit is contained in:
parent
81f08b92d6
commit
b0a30fcea7
@ -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.
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
*/
|
||||
#ifndef TUI_COMMAND_H
|
||||
#define TUI_COMMAND_H
|
||||
|
||||
|
||||
/*****************************************
|
||||
** TYPE DEFINITIONS **
|
||||
******************************************/
|
||||
|
||||
|
||||
|
||||
/*****************************************
|
||||
** PUBLIC FUNCTION EXTERNAL DECLS **
|
||||
******************************************/
|
||||
|
||||
extern unsigned int tuiDispatchCtrlChar (unsigned int);
|
||||
extern unsigned int tui_dispatch_ctrl_char (unsigned int);
|
||||
|
||||
#endif
|
||||
/*_TUI_COMMAND_H*/
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user