diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-02-07 17:46:14 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-02-07 17:46:14 +0000 |
commit | 22940a245df9e2473270137fbfbf1280db4eebcf (patch) | |
tree | f118ef934a6b399ebdd034e191dc5fcbdbd3accc /gdb/tui/tui.c | |
parent | b99607ea3cc204c613ef8acf0fce8bdffb7e89e7 (diff) | |
download | gdb-22940a245df9e2473270137fbfbf1280db4eebcf.zip gdb-22940a245df9e2473270137fbfbf1280db4eebcf.tar.gz gdb-22940a245df9e2473270137fbfbf1280db4eebcf.tar.bz2 |
2004-02-07 Andrew Cagney <cagney@redhat.com>
* tui/tui.h (Opaque, OpaquePtr OpaqueList): Delete definition.
(TuiPoint, TuiPointPtr): Ditto.
(TuiStatus, TuiStatusPtr): Ditto.
(TuiWinType, TuiWinTypePtr): Ditto.
(struct tui_point): Rename _TuiPoint.
(tui_get_low_disassembly_address): Rename
tuiGetLowDisassemblyAddress.
(tui_update_all_exec_infos): Rename tuiUpdateAllExecInfos.
(tuiFree): Delete declaration.
(OpaqueFuncPtr, TuiOpaqueFuncPtr): Delete definitions.
(TuiVoidFuncPtr, TuiIntFuncPtr): Delete definitions.
* tui/tui.c (tuiFree): Delete function.
* cli/cli-cmds.c (disassemble_command): Update references.
* tui/tui-data.c, tui/tui-data.h, tui/tui-disasm.c: Ditto.
* tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
* tui/tui-stack.c, tui/tui-win.c, tui/tui-wingeneral.c: Ditto.
* tui/tui-winsource.c: Ditto.
Diffstat (limited to 'gdb/tui/tui.c')
-rw-r--r-- | gdb/tui/tui.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c index 038401c..49a9937 100644 --- a/gdb/tui/tui.c +++ b/gdb/tui/tui.c @@ -456,17 +456,6 @@ tui_disable (void) tui_update_gdb_sizes (); } -/* Wrapper on top of free() to ensure that input address - is greater than 0x0. */ -void -tuiFree (char *ptr) -{ - if (ptr != (char *) NULL) - { - xfree (ptr); - } -} - void strcat_to_buf (char *buf, int buflen, const char *itemToAdd) { @@ -577,7 +566,7 @@ tui_show_assembly (CORE_ADDR addr) } int -tui_is_window_visible (TuiWinType type) +tui_is_window_visible (enum tui_win_type type) { if (tui_active == 0) return 0; |