* remote.c (remote_query_attached): Fix pasto in packet_ok result
[deliverable/binutils-gdb.git] / sim / ChangeLog
index d502ab62f17135d91dd5a3b70a11bc04caea3fb0..72439b17da357ea57914f5bb8ce3897c6b96608d 100644 (file)
@@ -1,3 +1,40 @@
+2009-01-18  Hans-Peter Nilsson  <hp@axis.com>
+
+       * 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.
+
+2009-01-06  Hans-Peter Nilsson  <hp@axis.com>
+
+       * cris/traps.c (abort): Define to call sim_io_error.
+       (create_map): Make -1 imply a non-fixed address, not 0.  All
+       callers changed.  Only prefer the next higher unmapped address if
+       the last mapped address is no less than 0x40000000.  Check that
+       the address to be mapped is not already mapped.  Update head
+       comment.
+       (unmap_pages): Don't call abort when recursive call fails, just
+       note and return an error if a page in the range couldn't be unmapped.
+       (cris_bmod_handler, h_supr_set_handler, h_supr_get_handler)
+       (schedule, make_first_thread, cris_pipe_empty): New local variable sd.
+       (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
+       non-MAP_FIXED argument overlapping existing map.  For MAP_FIXED,
+       don't abort on page not being mapped.  Handle non-anon filemap
+       with length padded to pagesize.
+
 2009-01-03  Hans-Peter Nilsson  <hp@axis.com>
 
        * cris/sim-if.c (TARGET_AT_NULL, TARGET_AT_PHDR, TARGET_AT_PHENT)
This page took 0.027448 seconds and 4 git commands to generate.