aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-base.h
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-11-07 19:07:41 +0000
committerThiemo Seufer <ths@networkno.de>2006-11-07 19:07:41 +0000
commit7e12978101ece6f8cfd097bb2489d370459a1607 (patch)
tree8123d115903f180da50f56a6e312458c787501b4 /sim/common/sim-base.h
parent645f81233bd13bc6102580bac4b886c6056028e3 (diff)
downloadgdb-7e12978101ece6f8cfd097bb2489d370459a1607.zip
gdb-7e12978101ece6f8cfd097bb2489d370459a1607.tar.gz
gdb-7e12978101ece6f8cfd097bb2489d370459a1607.tar.bz2
* sim-base.h (text_start, text_end, start_addr): Use bfd_vma type
for bfd text addresses.
Diffstat (limited to 'sim/common/sim-base.h')
-rw-r--r--sim/common/sim-base.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/common/sim-base.h b/sim/common/sim-base.h
index fde9847..831768b 100644
--- a/sim/common/sim-base.h
+++ b/sim/common/sim-base.h
@@ -181,13 +181,13 @@ typedef struct {
/* The program's text section. */
struct bfd_section *text_section;
/* Starting and ending text section addresses from the bfd. */
- SIM_ADDR text_start, text_end;
+ bfd_vma text_start, text_end;
#define STATE_TEXT_SECTION(sd) ((sd)->base.text_section)
#define STATE_TEXT_START(sd) ((sd)->base.text_start)
#define STATE_TEXT_END(sd) ((sd)->base.text_end)
/* Start address, set when the program is loaded from the bfd. */
- SIM_ADDR start_addr;
+ bfd_vma start_addr;
#define STATE_START_ADDR(sd) ((sd)->base.start_addr)
/* Size of the simulator's cache, if any.