aac18a6996
The sbrk syscall assumes the sbrk region starts after the bss and the current implementation requires a bss section to exist. Since there is no requirement for programs to have a bss in general, we want to drop this check. However, there is still the sbrk syscall that wants to know about the region. Since libgloss doesn't actually use the sbrk syscall (it implements sbrk in its own way), and the sim really shouldn't enforce a specific memory layout on programs, lets simply delete sbrk support. Now it always returns an error.
290 lines
7.9 KiB
Text
290 lines
7.9 KiB
Text
2015-03-29 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* interp.c (heap_ptr, int_sbrk): Delete.
|
|
(handle_trap1): Change case 69 (sbrk) to always return -1.
|
|
(sim_load): Delete bss checks and heap_ptr setup.
|
|
|
|
2015-03-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* interp.c: Strip trailing whitespace.
|
|
|
|
2015-03-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* configure.ac: Call SIM_AC_OPTION_WARNINGS.
|
|
* confingure: Regenerate.
|
|
* interp.c (mcore_extract_unsigned_integer): Make static and update
|
|
prototype. Fix up printf string.
|
|
(mcore_store_unsigned_integer): Make static and update prototype.
|
|
(int_sbrk): Likewise.
|
|
(wbat, wlat, what, rbat, rlat, rhat): Delete INLINE and update
|
|
prototype.
|
|
(SEXTB, SEXTW, IOMEM): Delete.
|
|
(sim_size): Update prototype. Fix up printf string.
|
|
(init_pointers): Update prototype.
|
|
(set_initial_gprs): Update prototype. Fix up printf string.
|
|
(log_open, log_close, is_opened, handle_trap1, process_stub, util,
|
|
iu_carry): Update prototype.
|
|
(sim_resume): Update prototype. Change addr to a word.
|
|
(sim_write, sim_read, sim_store_register, sim_fetch_register,
|
|
sim_trace, sim_stop_reason, sim_stop, sim_info, sim_open,
|
|
sim_close, sim_load, sim_create_inferior, sim_do_command,
|
|
sim_set_callbacks): Update prototype.
|
|
|
|
2015-03-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
2015-03-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* Makefile.in (SIM_EXTRA_CLEAN): Delete.
|
|
(interp.o, mcore-clean): Delete rules.
|
|
|
|
2015-03-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* Makefile.in (SIM_EXTRA_CFLAGS): Set to
|
|
-DSIM_USE_DEPRECATED_RUN_FRONTEND.
|
|
(SIM_RUN_OBJS): Set to run.o.
|
|
|
|
2015-03-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* configure.ac (AC_CHECK_HEADERS): Delete.
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
2015-02-20 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* interp.c: Delete sysdep.h and netinet/in.h includes.
|
|
Include stdlib.h and string.h.
|
|
* sysdep.h: Delete.
|
|
|
|
2015-02-19 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* interp.c (sim_kill): Delete unused func.
|
|
|
|
2015-02-11 Chen Gang <gang.chen.5i5j@gmail.com>
|
|
|
|
* interp.c: Include "unistd.h".
|
|
|
|
2015-02-02 Chen Gang <gang.chen.5i5j@gmail.com>
|
|
|
|
* interp.c (sim_do_command): Call freeargv() before return.
|
|
|
|
2014-08-19 Alan Modra <amodra@gmail.com>
|
|
|
|
* configure: Regenerate.
|
|
|
|
2014-08-15 Roland McGrath <mcgrathr@google.com>
|
|
|
|
* configure: Regenerate.
|
|
* config.in: Regenerate.
|
|
|
|
2014-03-10 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* interp.c (sim_do_command): Add const to cmd.
|
|
|
|
2014-03-05 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* interp.c (sim_load): Add const to prog.
|
|
|
|
2014-02-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
PR gdb/16450
|
|
* interp.c (interrupt): Delete.
|
|
(sim_resume): Delete signal(SIGINT) handling.
|
|
|
|
2013-09-23 Alan Modra <amodra@gmail.com>
|
|
|
|
* configure: Regenerate.
|
|
|
|
2013-06-03 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* aclocal.m4, configure: Regenerate.
|
|
|
|
2012-06-15 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
2012-05-20 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
PR 14072
|
|
* interp.c: Include config.h before system header files.
|
|
|
|
2012-03-24 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* aclocal.m4, config.in, configure: Regenerate.
|
|
|
|
2011-12-03 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* aclocal.m4: New file.
|
|
* configure: Regenerate.
|
|
|
|
2011-10-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* configure.ac: Change include to common/acinclude.m4.
|
|
|
|
2011-10-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
|
|
call. Replace common.m4 include with SIM_AC_COMMON.
|
|
* configure: Regenerate.
|
|
|
|
2010-04-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* interp.c (sim_write): Add const to buffer arg.
|
|
|
|
2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
* configure: Regenerate.
|
|
|
|
2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
* config.in: Regenerate.
|
|
* configure: Likewise.
|
|
|
|
* configure: Regenerate.
|
|
|
|
2008-07-11 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
* configure: Regenerate to track ../common/common.m4 changes.
|
|
* config.in: Ditto.
|
|
|
|
2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
|
|
Daniel Jacobowitz <dan@codesourcery.com>
|
|
Joseph Myers <joseph@codesourcery.com>
|
|
|
|
* configure: Regenerate.
|
|
|
|
2006-12-21 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
* config.in: Regenerate.
|
|
|
|
2006-06-13 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
* configure: Regenerated.
|
|
|
|
2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
* configure: Regenerated.
|
|
|
|
2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
* configure: Regenerated.
|
|
|
|
2005-03-23 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
* configure: Regenerate.
|
|
|
|
2005-01-14 Andrew Cagney <cagney@gnu.org>
|
|
|
|
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
|
|
explicit call to AC_CONFIG_HEADER.
|
|
* configure: Regenerate.
|
|
|
|
2005-01-12 Andrew Cagney <cagney@gnu.org>
|
|
|
|
* configure.ac: Update to use ../common/common.m4.
|
|
* configure: Re-generate.
|
|
|
|
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
|
|
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
|
|
|
2005-01-07 Andrew Cagney <cagney@gnu.org>
|
|
|
|
* configure.ac: Rename configure.in, require autoconf 2.59.
|
|
* configure: Re-generate.
|
|
|
|
2004-12-08 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
* configure: Regenerate for ../common/aclocal.m4 update.
|
|
|
|
2003-10-11 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
* interp.c (sim_load): Don't refer directly to _cooked_size and vma;
|
|
Use bfd_section_size and bfd_get_section_vma.
|
|
|
|
2003-02-27 Andrew Cagney <cagney@redhat.com>
|
|
|
|
* interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
|
|
|
|
2002-06-16 Andrew Cagney <ac131313@redhat.com>
|
|
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
|
|
|
2002-06-08 Andrew Cagney <cagney@redhat.com>
|
|
|
|
* interp.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
|
|
|
|
Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
|
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
|
|
|
2000-02-14 Nick Clifton <nickc@cygnus.com>
|
|
|
|
* interp.c (handle_trap1): Fix handling of fclose system call.
|
|
Patch submitted by <drew.sarkisian@motorola.com>.
|
|
|
|
2000-02-10 Nick Clifton <nickc@cygnus.com>
|
|
|
|
* interp.c (target_big_endian): New variable.
|
|
(mcore_extract_unsigned_integer, mcore_store_unsigned_integer,
|
|
wlat, rlat, sim_resume, sim_load): Add supprot for little
|
|
endian targets.
|
|
|
|
2000-01-13 Nick Clifton <nickc@cygnus.com>
|
|
|
|
* interp.c (sim_resume): Do not rely upon host semantics of shift
|
|
operators to implement M*Core semantics.
|
|
|
|
Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
|
|
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
|
|
|
1999-06-23 Nick Clifton <nickc@cygnus.com>
|
|
|
|
* sysdep.h: Do not define prototypes for memcpy and strchr if they
|
|
are macros.
|
|
|
|
1999-05-21 Nick Clifton <nickc@cygnus.com>
|
|
|
|
* interp.c (sim_resume): Add more tracing output.
|
|
|
|
1999-05-17 Keith Seitz <keiths@cygnus.com>
|
|
|
|
* interp.c (NUM_MCORE_REGS): Increase by one to allow access to PC.
|
|
(sim_resume): Correct off by one instruction error when a breakpoint
|
|
is hit.
|
|
|
|
1999-05-08 Felix Lee <flee@cygnus.com>
|
|
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
|
|
|
1999-05-10 Nick Clifton <nickc@cygnus.com>
|
|
|
|
* interp.c (sim_resume): Record PC in case it is needed for error
|
|
messages and the original has been corrupted.
|
|
|
|
1999-05-07 Nick Clifton <nickc@cygnus.com>
|
|
|
|
* interp.c (sim_resume): Fix typo 'oze' -> 'doze'.
|
|
(util): Handle 0x50FF stubs properly.
|
|
|
|
|
|
1999-04-29 Nick Clifton <nickc@cygnus.com>
|
|
|
|
* interp.c (set_initial_gprs): Only display memory range if
|
|
verbose option has been set.
|
|
|
|
1999-04-22 Nick Clifton <nickc@cygnus.com>
|
|
|
|
* interp.c: Add tracing and verbose options.
|
|
Fixed trap and syscall emulations.
|
|
|
|
1999-04-08 Nick Clifton <nickc@cygnus.com>
|
|
|
|
* interp.c: New file: Simulator for MCore.
|
|
* sysdep.h: New file: Systems definitions for MCore simulator.
|
|
* configure.in: New file: Configure script for MCore simulator.
|
|
* configure: New file: Genreated.
|
|
* config,in: New file: Config support.
|
|
* Makefile.in: New file: Meta makefile for MCore simulator.
|
|
|