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-stack.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-stack.c')
-rw-r--r-- | gdb/tui/tui-stack.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/tui/tui-stack.c b/gdb/tui/tui-stack.c index e2f996e..e8cf927 100644 --- a/gdb/tui/tui-stack.c +++ b/gdb/tui/tui-stack.c @@ -280,7 +280,7 @@ tui_set_locator_filename (const char *filename) struct tui_gen_win_info * locator = tui_locator_win_info_ptr (); struct tui_locator_element * element; - if (locator->content[0] == (Opaque) NULL) + if (locator->content[0] == NULL) { tui_set_locator_info (filename, NULL, 0, 0); return; @@ -302,7 +302,7 @@ tui_set_locator_info (const char *filename, const char *procname, int lineno, /* Allocate the locator content if necessary. */ if (locator->contentSize <= 0) { - locator->content = (OpaquePtr) tui_alloc_content (1, locator->type); + locator->content = (void **) tui_alloc_content (1, locator->type); locator->contentSize = 1; } @@ -366,7 +366,7 @@ tui_show_frame_info (struct frame_info *fi) &low, (CORE_ADDR) NULL) == 0) error ("No function contains program counter for selected frame.\n"); else - low = tuiGetLowDisassemblyAddress (low, get_frame_pc (fi)); + low = tui_get_low_disassembly_address (low, get_frame_pc (fi)); } if (winInfo == srcWin) |