diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2009-01-18 22:17:03 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2009-01-18 22:17:03 +0000 |
commit | c10b3605497aa9c927f6399d23f9f5b2a32b8029 (patch) | |
tree | 35d3e53aa7e76a75dae62e81ae90356f9264f7e5 /sim/testsuite | |
parent | aefc706471ace00a164b5a65717d5a0932d2eaf0 (diff) | |
download | gdb-c10b3605497aa9c927f6399d23f9f5b2a32b8029.zip gdb-c10b3605497aa9c927f6399d23f9f5b2a32b8029.tar.gz gdb-c10b3605497aa9c927f6399d23f9f5b2a32b8029.tar.bz2 |
* cris/sim-if.c: Include errno.h.
(cris_start_address, cris_program_offset): New variables.
(OPTION_CRIS_PROGRAM_OFFSET, OPTION_CRIS_STARTADDR): New option
enums.
(cris_options): New options --cris-program-offset and
--cris-start-address.
(cris_option_handler): Handle new options.
(cris_program_offset_write, cris_set_section_offset_iterator)
(cris_offset_sections, cris_offset_sections): New functions.
(sim_load): Use cris_program_offset_write as function argument to
cris_load_elf_file, not sim_write.
(struct offsetinfo): New struct.
(cris_handle_interpreter): Fix typo in comment.
(sim_open): Call cris_offset_sections as soon as the bfd of the
infile is available. Gate bfd validity checks on abfd non-NULL.
(sim_create_inferior): Let cris_start_address when != -1 override
other start-address choices.
Diffstat (limited to 'sim/testsuite')
0 files changed, 0 insertions, 0 deletions