aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tuiWin.c
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2001-07-23 21:13:57 +0000
committerStephane Carrez <stcarrez@nerim.fr>2001-07-23 21:13:57 +0000
commitc6f60bcd2c458714bd21da267719d55ba7e10736 (patch)
tree23342d6814f59cbeea06415378a0eba33232eb18 /gdb/tui/tuiWin.c
parentab35b6115a9eb2b59ea5cf028dc9241766a19949 (diff)
downloadgdb-c6f60bcd2c458714bd21da267719d55ba7e10736.zip
gdb-c6f60bcd2c458714bd21da267719d55ba7e10736.tar.gz
gdb-c6f60bcd2c458714bd21da267719d55ba7e10736.tar.bz2
* tuiStack.c (tuiUpdateLocatorFilename): Use const char*.
* tuiStack.h (tuiUpdateLocatorFilename): Update prototype. * tuiWin.c (_initialize_tuiWin): Don't cast table of enum in calls to add_set_enum_cmd. * tui.c (tui_show_source): New function. (tuiGetLowDisassemblyAddress): Use CORE_ADDR for newLow. (tui_switch_mode): Prep or deprep readline terminal; make sure the \n we return does not redo the last command. * tui.h (tui_show_source): Declare. (tui_out_new, tui_install_hooks, tui_remove_hooks): Likewise. (tui_active, tui_initialize_io, tui_initialize_readline): Likewise.
Diffstat (limited to 'gdb/tui/tuiWin.c')
-rw-r--r--gdb/tui/tuiWin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/tui/tuiWin.c b/gdb/tui/tuiWin.c
index 509f590..024a295 100644
--- a/gdb/tui/tuiWin.c
+++ b/gdb/tui/tuiWin.c
@@ -317,7 +317,7 @@ Usage: w <#lines>\n");
/* Define the tui control variables. */
c = add_set_enum_cmd
("tui-border-kind", class_tui,
- tui_border_kind_enums, (char*) &tui_border_kind,
+ tui_border_kind_enums, &tui_border_kind,
"Set the kind of border for TUI windows.\n"
"This variable controls the border of TUI windows:\n"
"space use a white space\n"
@@ -328,7 +328,7 @@ Usage: w <#lines>\n");
c = add_set_enum_cmd
("tui-border-mode", class_tui,
- tui_border_mode_enums, (char*) &tui_border_mode,
+ tui_border_mode_enums, &tui_border_mode,
"Set the attribute mode to use for the TUI window borders.\n"
"This variable controls the attributes to use for the window borders:\n"
"normal normal display\n"
@@ -343,7 +343,7 @@ Usage: w <#lines>\n");
c = add_set_enum_cmd
("tui-active-border-mode", class_tui,
- tui_border_mode_enums, (char*) &tui_active_border_mode,
+ tui_border_mode_enums, &tui_active_border_mode,
"Set the attribute mode to use for the active TUI window border.\n"
"This variable controls the attributes to use for the active window border:\n"
"normal normal display\n"