This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/sim ChangeLog cris/Makefile.in cris/sim-if.c
- From: hp at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 30 Dec 2008 13:10:35 -0000
- Subject: src/sim ChangeLog cris/Makefile.in cris/sim-if.c
CVSROOT: /cvs/src
Module name: src
Changes by: hp@sourceware.org 2008-12-30 13:10:35
Modified files:
sim : ChangeLog
sim/cris : Makefile.in sim-if.c
Log message:
* cris/Makefile.in (SIM_OBJS): Remove sim-hload.o.
* cris/sim-if.c: Include elf-bfd.h.
(struct progbounds): New members end_loadmem, start_nonloadmem.
(xprintf, eprintf): New functions, copied from common/sim-load.c.
(cris_load_elf_file, sim_load, cris_get_progbounds): New functions.
(get_progbounds_iterator): Renamed from get_progbounds. Make
static. Update head comment. Set new struct progbounds members.
(exec_load_addr, interp_load_addr, interp_start_addr): New static
variables.
(aux_ent_phdr, aux_ent_phent, aux_ent_phnum, aux_ent_base)
(aux_ent_entry, cris_write_interp, cris_handle_interpreter): New
functions.
(sim_open): New constant array auxv_entries. Rewrite AUX_ENT
handling to use auxv_entries. Improve error message and checking
for invalid programs. Use new variable abfd for the program
instead of for each access reaching into sd to get it.
(sim_create_inferior): If non-zero, use interp_start_addr instead
of the program start address.
(cris_disassemble_insn): Remove incorrect and unclear, supposedly
stale comment. Always specify little-endian.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/ChangeLog.diff?cvsroot=src&r1=1.104&r2=1.105
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/cris/Makefile.in.diff?cvsroot=src&r1=1.9&r2=1.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/cris/sim-if.c.diff?cvsroot=src&r1=1.6&r2=1.7