aboutsummaryrefslogtreecommitdiff
path: root/sim/common
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
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')
-rw-r--r--sim/common/ChangeLog5
-rw-r--r--sim/common/sim-base.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 37a8e73..506029c 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,8 @@
+2006-11-07 Thiemo Seufer <ths@mips.com>
+
+ * sim-base.h (text_start, text_end, start_addr): Use bfd_vma type
+ for bfd text addresses.
+
2006-08-29 Thiemo Seufer <ths@mips.com>
Nigel Stephens <nigel@mips.com>
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.