Search
lxdream.org :: lxdream/src/gui/gui.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gui/gui.h
changeset 9:2784c7660165
prev2:42349f6ea216
next10:c898b37506e0
author nkeynes
date Thu Dec 08 13:38:00 2005 +0000 (15 years ago)
permissions -rw-r--r--
last change Generalise the core debug window to allow multiple instances.
Add cpu description structure to define different cpus for use by the
debug window, in preparation for ARM implementation
file annotate diff log raw
1.1 --- a/src/gui/gui.h Sat Aug 21 06:15:49 2004 +0000
1.2 +++ b/src/gui/gui.h Thu Dec 08 13:38:00 2005 +0000
1.3 @@ -6,6 +6,7 @@
1.4
1.5 #include <gnome.h>
1.6 #include "dream.h"
1.7 +#include "disasm.h"
1.8
1.9 #ifdef __cplusplus
1.10 extern "C" {
1.11 @@ -17,16 +18,23 @@
1.12 void init_gui(void);
1.13 void update_gui(void);
1.14
1.15 -void init_debug_win(GtkWidget *);
1.16 +typedef struct debug_info_struct *debug_info_t;
1.17 +extern debug_info_t main_debug;
1.18 +
1.19 +debug_info_t init_debug_win(GtkWidget *, cpu_desc_t cpu );
1.20 +debug_info_t get_debug_info(GtkWidget *widget);
1.21 void open_file_dialog( void );
1.22 void update_mmr_win( void );
1.23 void init_mmr_win( void );
1.24 -void update_registers( void );
1.25 -void update_icount( void );
1.26 -void dump_win_update_all( void );
1.27 -void set_disassembly_region( unsigned int page );
1.28 -void set_disassembly_pc( unsigned int pc, gboolean select );
1.29 -void jump_to_disassembly( unsigned int addr, gboolean select );
1.30 +void update_registers( debug_info_t debug );
1.31 +void update_icount( debug_info_t debug );
1.32 +void dump_win_update_all();
1.33 +void set_disassembly_region( debug_info_t debug, unsigned int page );
1.34 +void set_disassembly_pc( debug_info_t debug, unsigned int pc, gboolean select );
1.35 +void jump_to_disassembly( debug_info_t debug, unsigned int addr, gboolean select );
1.36 +void jump_to_pc( debug_info_t debug, gboolean select );
1.37 +uint32_t row_to_address( debug_info_t debug, int row );
1.38 +int address_to_row( debug_info_t debug, uint32_t address );
1.39
1.40 extern PangoFontDescription *fixed_list_font;
1.41 extern GdkColor clrNormal, clrChanged, clrError, clrWarn,
.