aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-disasm.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-11-12 17:19:59 -0700
committerTom Tromey <tom@tromey.com>2019-12-20 09:15:51 -0700
commit855f89b3da22a2673b177b2ab99f49974c1ed0e7 (patch)
treec0bad500c5be42b2d396834ef81357d0887c63cf /gdb/tui/tui-disasm.h
parentd4669c0fc75ad5ad2e99748f9307b5038955f9d3 (diff)
downloadfsf-binutils-gdb-855f89b3da22a2673b177b2ab99f49974c1ed0e7.zip
fsf-binutils-gdb-855f89b3da22a2673b177b2ab99f49974c1ed0e7.tar.gz
fsf-binutils-gdb-855f89b3da22a2673b177b2ab99f49974c1ed0e7.tar.bz2
Remove tui_show_disassem
tui_show_disassem is just a wrapper for the update_source_window method, and it only has a single caller. This removes the function and inlines the logic into that caller. gdb/ChangeLog 2019-12-20 Tom Tromey <tom@tromey.com> * tui/tui-winsource.c (tui_update_source_windows_with_addr): Call update_source_window directly. * tui/tui-disasm.h (tui_show_disassem): Don't declare. * tui/tui-disasm.c (tui_show_disassem): Remove. Change-Id: I7ae7a3309f64a4a949c07a80c46e1664c7f12913
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 28f87c6..f5cc373 100644
--- a/gdb/tui/tui-disasm.h
+++ b/gdb/tui/tui-disasm.h
@@ -66,7 +66,6 @@ private:
bool addr_is_displayed (CORE_ADDR addr) const;
};
-extern void tui_show_disassem (struct gdbarch *, CORE_ADDR);
extern void tui_get_begin_asm_address (struct gdbarch **, CORE_ADDR *);
#endif /* TUI_TUI_DISASM_H */