diff options
author | Jason Molenda <jmolenda@apple.com> | 1999-07-12 11:15:22 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1999-07-12 11:15:22 +0000 |
commit | 43e526b9b4c9868d3cd90772a54f767f8d45cadd (patch) | |
tree | 4d68a4a2d3a6c7e4f6237bc04015fc182a8ced0c /sim/common/sim-hload.c | |
parent | edac9bffc154855d959fcbc32e2fe0b073a9ec71 (diff) | |
download | gdb-43e526b9b4c9868d3cd90772a54f767f8d45cadd.zip gdb-43e526b9b4c9868d3cd90772a54f767f8d45cadd.tar.gz gdb-43e526b9b4c9868d3cd90772a54f767f8d45cadd.tar.bz2 |
import gdb-1999-07-12 snapshot
Diffstat (limited to 'sim/common/sim-hload.c')
-rw-r--r-- | sim/common/sim-hload.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sim/common/sim-hload.c b/sim/common/sim-hload.c index e4016f4..b8726ba 100644 --- a/sim/common/sim-hload.c +++ b/sim/common/sim-hload.c @@ -45,20 +45,14 @@ sim_load (sd, prog_name, prog_bfd, from_tty) incorrectly write the program sections at LMA interpreted as a virtual address. This is still accommodated for backward compatibility reasons. */ - /* FIXME: The following simulators use this file as of 980313: - m32r, mips, v850 [grep for sim-hload in all Makefile.in's]. - Each of these should be properly using lma. When this is confirmed, - SIM_HANDLES_LMA can go away. */ -#ifndef SIM_HANDLES_LMA -#define SIM_HANDLES_LMA 0 -#endif result_bfd = sim_load_file (sd, STATE_MY_NAME (sd), STATE_CALLBACK (sd), prog_name, STATE_PROG_BFD (sd), STATE_OPEN_KIND (sd) == SIM_OPEN_DEBUG, - SIM_HANDLES_LMA, sim_write); + STATE_LOAD_AT_LMA_P (sd), + sim_write); if (result_bfd == NULL) { bfd_close (STATE_PROG_BFD (sd)); |