aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tuiStack.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/tuiStack.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/tuiStack.c')
-rw-r--r--gdb/tui/tuiStack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tuiStack.c b/gdb/tui/tuiStack.c
index bf02dec..501252c 100644
--- a/gdb/tui/tuiStack.c
+++ b/gdb/tui/tuiStack.c
@@ -126,7 +126,7 @@ tuiSetLocatorInfo (char *fname, char *procname, int lineNo,
** Update only the filename portion of the locator.
*/
void
-tuiUpdateLocatorFilename (char *fileName)
+tuiUpdateLocatorFilename (const char *fileName)
{
TuiGenWinInfoPtr locator = locatorWinInfoPtr ();