aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-disasm.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-11-06 16:09:28 -0700
committerTom Tromey <tom@tromey.com>2019-12-20 09:15:49 -0700
commit8acfefcc8fc7a346d0ecf3d37ca47c5c43761223 (patch)
treedc1fce17a2ce6a636a07efd8babbf55b328b689d /gdb/tui/tui-disasm.h
parent5ebd54023c160383290f20f492ff871f64b7439a (diff)
downloadgdb-8acfefcc8fc7a346d0ecf3d37ca47c5c43761223.zip
gdb-8acfefcc8fc7a346d0ecf3d37ca47c5c43761223.tar.gz
gdb-8acfefcc8fc7a346d0ecf3d37ca47c5c43761223.tar.bz2
Remove tui_show_disassem_and_update_source
tui_show_disassem_and_update_source only has a single caller. This patch simplifies that caller, by having it call tui_show_disassem, and then removes tui_show_disassem_and_update_source. gdb/ChangeLog 2019-12-20 Tom Tromey <tom@tromey.com> * tui/tui-winsource.c (tui_update_source_windows_with_addr): Call tui_show_disassem. * tui/tui-disasm.h (tui_show_disassem_and_update_source): Don't declare. * tui/tui-disasm.c (tui_show_disassem_and_update_source): Remove. Change-Id: I7554eca8e259f3539ea7710f2ff369b4a630dd9d
Diffstat (limited to 'gdb/tui/tui-disasm.h')
-rw-r--r--gdb/tui/tui-disasm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/tui/tui-disasm.h b/gdb/tui/tui-disasm.h
index bfddfa0..a4b04e4 100644
--- a/gdb/tui/tui-disasm.h
+++ b/gdb/tui/tui-disasm.h
@@ -69,7 +69,6 @@ private:
};
extern void tui_show_disassem (struct gdbarch *, CORE_ADDR);
-extern void tui_show_disassem_and_update_source (struct gdbarch *, CORE_ADDR);
extern void tui_get_begin_asm_address (struct gdbarch **, CORE_ADDR *);
#endif /* TUI_TUI_DISASM_H */