aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-data.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-02-07 17:46:14 +0000
committerAndrew Cagney <cagney@redhat.com>2004-02-07 17:46:14 +0000
commit22940a245df9e2473270137fbfbf1280db4eebcf (patch)
treef118ef934a6b399ebdd034e191dc5fcbdbd3accc /gdb/tui/tui-data.h
parentb99607ea3cc204c613ef8acf0fce8bdffb7e89e7 (diff)
downloadgdb-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-data.h')
-rw-r--r--gdb/tui/tui-data.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h
index e0269cb..82c03ad 100644
--- a/gdb/tui/tui-data.h
+++ b/gdb/tui/tui-data.h
@@ -35,11 +35,11 @@
struct tui_gen_win_info
{
WINDOW *handle; /* window handle */
- TuiWinType type; /* type of window */
+ enum tui_win_type type; /* type of window */
int width; /* window width */
int height; /* window height */
- TuiPoint origin; /* origin of window */
- OpaquePtr content; /* content of window */
+ struct tui_point origin; /* origin of window */
+ void **content; /* content of window */
int contentSize; /* Size of content (# of elements) */
int contentInUse; /* Can it be used, or is it already used? */
int viewportHeight; /* viewport height */
@@ -107,7 +107,7 @@ enum tui_scroll_direction
/* General list struct. */
struct tui_list
{
- OpaqueList list;
+ void **list;
int count;
};
@@ -153,7 +153,7 @@ union tui_line_or_address
/* Current Layout definition */
struct tui_layout_def
{
- TuiWinType displayMode;
+ enum tui_win_type displayMode;
int split;
enum tui_register_display_type regsDisplayType;
enum tui_register_display_type floatRegsDisplayType;
@@ -175,7 +175,7 @@ struct tui_data_element
const char *name;
int itemNo; /* the register number, or data display number */
enum tui_data_type type;
- Opaque value;
+ void *value;
int highlight;
};
@@ -276,7 +276,7 @@ struct tui_win_info
struct tui_source_info sourceInfo;
struct tui_data_info dataDisplayInfo;
struct tui_command_info commandInfo;
- Opaque opaque;
+ void *opaque;
}
detail;
int canHighlight; /* Can this window ever be highlighted? */
@@ -324,7 +324,7 @@ extern struct tui_win_info *(winList[MAX_MAJOR_WINDOWS]);
/* Data Manipulation Functions */
extern void tui_initialize_static_data (void);
extern struct tui_gen_win_info *tui_alloc_generic_win_info (void);
-extern struct tui_win_info *tui_alloc_win_info (TuiWinType);
+extern struct tui_win_info *tui_alloc_win_info (enum tui_win_type);
extern void tui_init_generic_part (struct tui_gen_win_info *);
extern void tui_init_win_info (struct tui_win_info *);
extern tui_win_content tui_alloc_content (int, enum tui_win_type);