This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/sim ChangeLog cris/sim-if.c
- From: hp at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 18 Jan 2009 22:17:04 -0000
- Subject: src/sim ChangeLog cris/sim-if.c
CVSROOT: /cvs/src
Module name: src
Changes by: hp@sourceware.org 2009-01-18 22:17:04
Modified files:
sim : ChangeLog
sim/cris : sim-if.c
Log message:
* 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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/ChangeLog.diff?cvsroot=src&r1=1.115&r2=1.116
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/cris/sim-if.c.diff?cvsroot=src&r1=1.10&r2=1.11