aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-hooks.c
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2002-08-25 19:19:50 +0000
committerStephane Carrez <stcarrez@nerim.fr>2002-08-25 19:19:50 +0000
commit1f393769d4d0ac2ccf84cd57bef7c8f9bc7a08d7 (patch)
tree0dd1d6b8ee590ff72598d0acdb398b7d6d73d252 /gdb/tui/tui-hooks.c
parentd2c6833eda0aeb1e4a5649f5717ab7c96098b95a (diff)
downloadgdb-1f393769d4d0ac2ccf84cd57bef7c8f9bc7a08d7.zip
gdb-1f393769d4d0ac2ccf84cd57bef7c8f9bc7a08d7.tar.gz
gdb-1f393769d4d0ac2ccf84cd57bef7c8f9bc7a08d7.tar.bz2
* tuiSourceWin.c (tui_display_main): Rename from tuiDisplayMainFunction
and use tuiGetBeginAsmAddress. * tuiSourceWin.h (tui_display_main): Declare. * tui.h (tuiDisplayMainFunction): Remove. * tui-hooks.c (tui_new_objfile_hook): Update.
Diffstat (limited to 'gdb/tui/tui-hooks.c')
-rw-r--r--gdb/tui/tui-hooks.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/tui/tui-hooks.c b/gdb/tui/tui-hooks.c
index 48eeeda..d605194 100644
--- a/gdb/tui/tui-hooks.c
+++ b/gdb/tui/tui-hooks.c
@@ -71,9 +71,7 @@ static void
tui_new_objfile_hook (struct objfile* objfile)
{
if (tui_active)
- {
- tuiDisplayMainFunction ();
- }
+ tui_display_main ();
if (tui_target_new_objfile_chain)
tui_target_new_objfile_chain (objfile);