aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-02-12 15:14:36 +0000
committerAndrew Cagney <cagney@redhat.com>2003-02-12 15:14:36 +0000
commit88fa91b4734013adadbd4e1c44155af5b3f5ef5e (patch)
treeb694f7455defe09d0c851074d535501db42c85c7 /gdb/tui
parent41b22a8ddd1031307c1c02842f93c73ad33bd2e5 (diff)
downloadfsf-binutils-gdb-88fa91b4734013adadbd4e1c44155af5b3f5ef5e.zip
fsf-binutils-gdb-88fa91b4734013adadbd4e1c44155af5b3f5ef5e.tar.gz
fsf-binutils-gdb-88fa91b4734013adadbd4e1c44155af5b3f5ef5e.tar.bz2
2003-02-12 Andrew Cagney <ac131313@redhat.com>
* tuiIO.c (tui_prep_terminal): Add one notused parameter. * tui.c (tui_rl_switch_mode): Add two notused parameters. (tui_rl_change_windows, tui_rl_next_keymap): Ditto. (tui_rl_delete_other_windows): Ditto. (tui_rl_change_windows, tui_rl_delete_other_windows): Update calls.
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/ChangeLog9
-rw-r--r--gdb/tui/tui.c12
-rw-r--r--gdb/tui/tuiIO.c2
3 files changed, 16 insertions, 7 deletions
diff --git a/gdb/tui/ChangeLog b/gdb/tui/ChangeLog
index 88ad5e7..e11ee23 100644
--- a/gdb/tui/ChangeLog
+++ b/gdb/tui/ChangeLog
@@ -1,3 +1,12 @@
+2003-02-12 Andrew Cagney <ac131313@redhat.com>
+
+ * tuiIO.c (tui_prep_terminal): Add one notused parameter.
+ * tui.c (tui_rl_switch_mode): Add two notused parameters.
+ (tui_rl_change_windows, tui_rl_next_keymap): Ditto.
+ (tui_rl_delete_other_windows): Ditto.
+ (tui_rl_change_windows, tui_rl_delete_other_windows): Update
+ calls.
+
2002-12-08 Elena Zannoni <ezannoni@redhat.com>
Import of readline 4.3.
diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c
index d5cde22..f0e039a 100644
--- a/gdb/tui/tui.c
+++ b/gdb/tui/tui.c
@@ -102,7 +102,7 @@ static Keymap tui_readline_standard_keymap;
/* TUI readline command.
Switch the output mode between TUI/standard gdb. */
static int
-tui_rl_switch_mode (void)
+tui_rl_switch_mode (int notused1, int notused2)
{
if (tui_active)
{
@@ -138,10 +138,10 @@ tui_rl_switch_mode (void)
a functionality close to the Emacs split-window command. We always
show two windows (src+asm), (src+regs) or (asm+regs). */
static int
-tui_rl_change_windows (void)
+tui_rl_change_windows (int notused1, int notused2)
{
if (!tui_active)
- tui_rl_switch_mode ();
+ tui_rl_switch_mode (0/*notused*/, 0/*notused*/);
if (tui_active)
{
@@ -186,10 +186,10 @@ tui_rl_change_windows (void)
/* TUI readline command.
Delete the second TUI window to only show one. */
static int
-tui_rl_delete_other_windows (void)
+tui_rl_delete_other_windows (int notused1, int notused2)
{
if (!tui_active)
- tui_rl_switch_mode ();
+ tui_rl_switch_mode (0/*notused*/, 0/*notused*/);
if (tui_active)
{
@@ -255,7 +255,7 @@ tui_rl_command_mode (int count, int key)
/* TUI readline command.
Switch between TUI SingleKey mode and gdb readline editing. */
static int
-tui_rl_next_keymap (void)
+tui_rl_next_keymap (int notused1, int notused2)
{
tui_set_key_mode (tui_current_key_mode == tui_command_mode
? tui_single_key_mode : tui_command_mode);
diff --git a/gdb/tui/tuiIO.c b/gdb/tui/tuiIO.c
index b9b373c..f53cef3 100644
--- a/gdb/tui/tuiIO.c
+++ b/gdb/tui/tuiIO.c
@@ -262,7 +262,7 @@ tui_redisplay_readline (void)
/* Readline callback to prepare the terminal. It is called once
each time we enter readline. Terminal is already setup in curses mode. */
static void
-tui_prep_terminal (void)
+tui_prep_terminal (int notused1)
{
/* Save the prompt registered in readline to correctly display it.
(we can't use gdb_prompt() due to secondary prompts and can't use