aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-load.c
AgeCommit message (Collapse)AuthorFilesLines
2013-01-01Update years in copyright notice for the GDB files.Joel Brobecker1-2/+1
Two modifications: 1. The addition of 2013 to the copyright year range for every file; 2. The use of a single year range, instead of potentially multiple year ranges, as approved by the FSF.
2012-01-04Copyright year update in most files of the GDB Project.Joel Brobecker1-2/+2
gdb/ChangeLog: Copyright year update in most files of the GDB Project.
2011-03-15sim: common: trim trailing whitespaceMike Frysinger1-4/+4
2011-01-05sim: tweak load buffer type to avoid signed warningsMike Frysinger1-1/+1
The sim_load_file func creates a buffer with arbitrary data in it (reads it via the bfd). It then passes it on to a sim_write_fn which expects a unsigned char buffer. Since sim_load_file itself doesn't care about the contents, tweak the type to avoid signed mismatch warnings from gcc: common/sim-load.c: In function ‘sim_load_file’: common/sim-load.c:143: warning: pointer targets in passing argument 3 of ‘do_write’ differ in signedness common/sim-load.c:143: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-01-01run copyright.sh for 2011.Joel Brobecker1-1/+1
2010-01-01Update copyright notices to add year 2010.Joel Brobecker1-1/+1
2009-01-14 Update the copyright notice of some of the files I missedJoel Brobecker1-1/+1
in the previous copyright update.
2008-01-01 Updated copyright notices for most files.Daniel Jacobowitz1-1/+1
2007-08-24 Switch the license of all files explicitly copyright the FSFJoel Brobecker1-4/+3
to GPLv3.
2007-01-09Copyright updates for 2007.Daniel Jacobowitz1-1/+2
2005-07-10 * sim-load.c (xprintf, eprintf): Remove fallout from ANSI_PROTOTYPESHans-Peter Nilsson1-4/+0
change.
2005-07-08 * callback.c: Remove ANSI_PROTOTYPES conditional code.Ben Elliston1-16/+0
* sim-load.c: Likewise. * syscall.c: Likewise.
2004-06-15 * sim-load.c (sim_load_file): Use bfd_get_section_sizeAlan Modra1-1/+1
instead of bfd_get_section_size_before_reloc.
2004-05-10 * callback.c: Update copyright dates.Daniel Jacobowitz1-2/+4
* run.c: Likewise. * sim-basics.h: Likewise. * sim-load.c: Likewise. * syscall.c: Likewise. From Maciej W. Rozycki <macro@ds2.pg.gda.pl> * callback.c: Include cconfig.h instead of config.h. * run.c: Likewise. * sim-basics.h: Likewise. * sim-load.c: Likewise. * syscall.c: Likewise.
2002-06-09Move include/callback.h and include/remote-sim.h to include/gdb/.Andrew Cagney1-2/+2
Update accordingly.
2001-04-25* thanks, nickcFrank Ch. Eigler1-0/+2
2001-04-25 Frank Ch. Eigler <fche@redhat.com> * sim-load.c (sim_load_file): Put it back [...]
2001-04-21Revert call to bfd_cache_close().Andrew Cagney1-2/+0
2001-04-19* bug fixFrank Ch. Eigler1-0/+2
2001-04-19 Frank Ch. Eigler <fche@redhat.com> * sim-utils.c (sim_analyze_program): Call bfd_cache_close after we're finished with its immediate use. * sim-load.c (sim_load_file): Ditto.
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+239
1999-04-16Initial creation of sourceware repositoryStan Shebs1-213/+0
1997-04-22 * Make-common.in: Change clean targets to use :: so that otherStu Grossman1-6/+6
Makefiles can have their own clean targets. * sim-load.c (xprintf eprintf): Use ANSI_PROTOTYPES instead of __STDC__ to control use of stdarg vs. varargs syntax. Some systems can't use __STDC__, but require stdarg.
1997-04-18Add a comment.David Edelsohn1-0/+4
1997-04-17 * Make-common.in (sim-options.o, sim-load.o): Add rules for.David Edelsohn1-0/+209
(sim_main_headers): Add sim-trace.h. * run.c (exec_bfd, target_byte_order): Delete. (main): Pass -E <endian> to sim_open. Delete code to load sections, call sim_load instead. Check return code of sim_create_inferior. * sim-base.h (CURRENT_STATE): Define. (sim_state_base): Make typedef. New members options, prog_argv, prog_bfd, text_{section,start,end}, start_addr, simcache_size, mem_size, memory [+ corresponding access macros]. (sim_cpu_base): New typedef. * sim-trace.h: New file. * sim-basics.h: #include it. * sim-load.c: New file.