corrections to scren bar rendering offsets
[AROS.git] / rom / debug / debug_intern.h
blob310941a38184e0f593d539db2f39e626d8227add
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 */
8 #include <dos/bptr.h>
9 #include <exec/libraries.h>
10 #include <exec/semaphores.h>
12 typedef struct
14 char *s_name; /* Symbol name */
15 void *s_lowest; /* Start address */
16 void *s_highest; /* End address */
17 } dbg_sym_t;
19 typedef struct
21 BPTR m_seg; /* First segment pointer */
22 char *m_shstr; /* Section headers table */
23 char *m_str; /* Symbol names table */
24 unsigned int m_segcnt; /* Count of segments */
25 dbg_sym_t *m_symbols; /* Array of associated symbols */
26 unsigned long m_symcnt; /* Number of symbols in the array */
27 char m_name[1]; /* Module name, variable length */
28 } module_t;
30 struct segment
32 struct MinNode s_node; /* For linking into the list */
33 BPTR s_seg; /* DOS segment pointer */
34 void * s_lowest; /* Start address */
35 void * s_highest; /* End address */
36 module_t * s_mod; /* Module descriptor */
37 char * s_name; /* Segment name */
38 unsigned int s_num; /* Segment number */
41 struct DebugBase
43 struct Library db_Lib;
44 struct MinList db_Modules;
45 struct ELF_ModuleInfo *db_KernelModules;
46 struct SignalSemaphore db_ModSem;
47 APTR db_KernelBase;
50 #define DBGBASE(x) ((struct DebugBase *)x)
51 #define KernelBase DBGBASE(DebugBase)->db_KernelBase