Define PACKAGE macro in all sims' config.h.
Some of the common includes in include/gdb such as callback.h
include bfd.h. But there was a recent change in bfd-in.h to
require that config.h be included before bfd.h can be included:
/* PR 14072: Ensure that config.h is included first. */
#if !defined PACKAGE && !defined PACKAGE_VERSION
#error config.h must be included before this header
#endif
PACKAGE_VERSION is always defined by default by the AC_INIT autoconf
macro, but PACKAGE isn't. This patch updates the SIM_AC_COMMON macro
to define it, and then regenerates all configure scripts and config.in
files.
sim/common/changeLog:
* acinclude.m4 (SIM_AC_COMMON): Define PACKAGE.
* config.in, configure: Regenerate.
sim/ChangeLog:
* configure: Regenerate.
sim/arm/ChangeLog:
* config.in, configure: Regenerate.
sim/avr/ChangeLog:
* config.in, configure: Regenerate.
sim/bfin/ChangeLog:
* config.in, configure: Regenerate.
sim/cr16/ChangeLog:
* config.in, configure: Regenerate.
sim/cris/ChangeLog:
* config.in, configure: Regenerate.
sim/d10v/ChangeLog:
* config.in, configure: Regenerate.
sim/erc32/ChangeLog:
* config.in, configure: Regenerate.
sim/frv/ChangeLog:
* config.in, configure: Regenerate.
sim/h8300/ChangeLog:
* config.in, configure: Regenerate.
sim/iq2000/ChangeLog:
* config.in, configure: Regenerate.
sim/lm32/ChangeLog:
* config.in, configure: Regenerate.
sim/m32c/ChangeLog:
* config.in, configure: Regenerate.
sim/m32r/ChangeLog:
* config.in, configure: Regenerate.
sim/m68hc11/ChangeLog:
* config.in, configure: Regenerate.
sim/mcore/ChangeLog:
* config.in, configure: Regenerate.
sim/microblaze/ChangeLog:
* config.in, configure: Regenerate.
sim/mips/ChangeLog:
* config.in, configure: Regenerate.
sim/mn10300/ChangeLog:
* config.in, configure: Regenerate.
sim/moxie/ChangeLog:
* config.in, configure: Regenerate.
sim/ppc/ChangeLog:
* configure: Regenerate.
sim/rl78/ChangeLog:
* config.in, configure: Regenerate.
sim/rx/ChangeLog:
* config.in, configure: Regenerate.
sim/sh/ChangeLog:
* config.in, configure: Regenerate.
sim/sh64/ChangeLog:
* config.in, configure: Regenerate.
sim/v850/ChangeLog:
* config.in, configure: Regenerate.
sim/testsuite/ChangeLog:
* configure: Regenerate.
2012-06-15 17:20:10 +00:00
|
|
|
2012-06-15 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
* config.in, configure: Regenerate.
|
|
|
|
|
2012-05-24 16:51:47 +00:00
|
|
|
2012-05-24 Pedro Alves <palves@redhat.com>
|
|
|
|
|
|
|
|
PR gdb/7205
|
|
|
|
|
|
|
|
Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
|
|
|
|
|
2012-05-19 16:46:16 +00:00
|
|
|
2012-05-18 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
PR 14072
|
|
|
|
* gdb-if.c: Include config.h before system header files.
|
|
|
|
* load.c: Likewise.
|
|
|
|
* syscalls.c: Likewise.
|
|
|
|
* trace.c: Likewise.
|
|
|
|
|
2012-03-24 05:38:43 +00:00
|
|
|
2012-03-24 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4, config.in, configure: Regenerate.
|
|
|
|
|
Update the copyright header of various files...
... to follow the correct syntax (according to the gospel of
gnulib's update-copyright). In other words:
- no comma after the last year;
- FSF spelled exactly "Free Software Foundation, Inc.", with
the comma and the period at the end.
sim/common/ChangeLog:
* dv-sockser.h, sim-assert.h, sim-fpu.c: Reformat the copyright
header.
sim/m32c/ChangeLog:
* blinky.S, gloss.S, sample.S: Reformat copyright header.
sim/mn10300/ChangeLog:
* sim-main.h: Reformat copyright header.
sim/ppc/ChangeLog:
* dp-bit.c: Reformat copyright header.
gdb/ChangeLog:
* gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c,
gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c:
Reformat the copyright header.
gdb/gdbserver/ChangeLog:
* terminal.h: Reformat copyright header.
gdb/testsuite/ChangeLog:
* dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
gdb.threads/thread_check.c: Reformat copyright header.
2012-01-02 15:37:37 +00:00
|
|
|
2012-01-02 Joel Brobecker <brobecker@adacore.com>
|
|
|
|
|
|
|
|
* blinky.S, gloss.S, sample.S: Reformat copyright header.
|
|
|
|
|
2011-12-03 18:23:51 +00:00
|
|
|
2011-12-03 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* aclocal.m4: New file.
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2011-10-18 00:31:00 +00:00
|
|
|
2011-10-17 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac: Change include to common/acinclude.m4.
|
|
|
|
|
2011-10-18 00:17:24 +00:00
|
|
|
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.
|
|
|
|
|
2011-07-11 19:00:17 +00:00
|
|
|
2011-07-11 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.ac: Rename from configure.in.
|
|
|
|
|
2011-07-11 18:45:45 +00:00
|
|
|
2011-07-11 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* configure.in: Add "dnl" before copyright notice.
|
|
|
|
|
2011-04-16 18:16:36 +00:00
|
|
|
2011-04-16 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* gdb-if.c (sim_complete_command): New stub function.
|
|
|
|
|
2011-01-11 14:19:34 +00:00
|
|
|
2011-01-11 Andrew Burgess <aburgess@broadcom.com>
|
|
|
|
|
|
|
|
* gdb-if.c (sim_store_register): Update return value to
|
|
|
|
match new API.
|
|
|
|
|
2010-12-04 01:58:55 +00:00
|
|
|
2010-12-04 Masaki Muranaka <monaka@monami-software.com>
|
|
|
|
|
|
|
|
* Makefile.in: Use CC_FOR_BUILD to build opc2c.
|
|
|
|
|
2010-05-26 22:40:24 +00:00
|
|
|
2010-05-26 Ozkan Sezer <sezeroz@gmail.com>
|
|
|
|
|
|
|
|
* main.c (setup_tcp_console): Check error return from socket() call
|
|
|
|
by its equality to -1 not by it being negative.
|
|
|
|
|
2010-04-14 07:38:06 +00:00
|
|
|
2010-04-14 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
* gdb-if.c (sim_write): Add const to buf arg.
|
|
|
|
* mem.h (mem_put_blk): Add const to bufptr arg.
|
|
|
|
* mem.c (mem_put_blk): Likewise, and add const to cast.
|
|
|
|
|
2010-01-20 05:52:19 +00:00
|
|
|
2010-01-20 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
* m32c.opc (MATH_OP): When doing subtraction, also set carry if
|
|
|
|
the result is zero.
|
|
|
|
|
2010-01-09 21:11:44 +00:00
|
|
|
2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2009-08-22 11:36:40 +00:00
|
|
|
2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
2009-08-22 16:56:56 +00:00
|
|
|
* config.in: Regenerate.
|
|
|
|
* configure: Likewise.
|
|
|
|
|
2009-08-22 11:36:40 +00:00
|
|
|
* configure: Regenerate.
|
|
|
|
|
2009-08-14 04:24:30 +00:00
|
|
|
2009-08-14 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
* configure.in: Check for sys/select.h, termios.h, sys/socket.h,
|
|
|
|
netinet/in.h, and netinet/tcp.h.
|
|
|
|
* configure: Regenerate.
|
|
|
|
* config.in: Add those headers.
|
|
|
|
* main.c: Check for them.
|
|
|
|
(setup_tcp_console): Disable if no networking.
|
|
|
|
(main): Note missing networking or termios.
|
|
|
|
* mem.c: Check for those headers.
|
|
|
|
(stdin_ready): Disable if no termios.
|
|
|
|
(m32c_sim_restore_console): Disable if no termios.
|
|
|
|
(mem_get_byte): Disable console input if no termios.
|
|
|
|
|
2009-01-06 19:01:36 +00:00
|
|
|
2009-01-06 Joel Sherrill <joel.sherrill@oarcorp.com>
|
|
|
|
|
|
|
|
* r8c.opc, m32c.opc: Add parentheses to remove warnings.
|
|
|
|
|
2008-10-01 20:44:21 +00:00
|
|
|
2008-10-01 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
* int.c (trigger_peripheral_interrupt): Clear interrupt pending
|
|
|
|
bit when peripheral interrupts are serviced.
|
|
|
|
|
2008-07-11 02:41:22 +00:00
|
|
|
2008-07-11 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
* configure: Regenerate to track ../common/common.m4 changes.
|
|
|
|
* config.in: Ditto.
|
|
|
|
|
2008-06-17 00:34:37 +00:00
|
|
|
2008-06-16 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
* m32c.opc (BRK, GDBBRK): Remove debug logic.
|
|
|
|
* main.c (main): Add option to set raw console.
|
|
|
|
* mem.h (m32c_use_raw_console): Declare.
|
|
|
|
* mem.c (m32c_sim_restore_console): Only restore console if it's
|
|
|
|
been previously set.
|
|
|
|
(m32c_use_raw_console): Define.
|
|
|
|
(mem_get_byte): Set raw console if m32c_use_raw_console is set.
|
|
|
|
|
2008-06-07 01:31:27 +00:00
|
|
|
2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
|
|
|
|
Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
2008-06-06 19:18:15 +00:00
|
|
|
2008-06-06 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
* Makefile.in: Add Timer A support.
|
|
|
|
* cpu.h (m32c_opcode_pc): New.
|
|
|
|
(in_gdb): New.
|
|
|
|
* gdb-if.c (sim_open): Add Timer A support. Support unbuffered
|
|
|
|
console.
|
|
|
|
* int.c (trigger_interrupt): Manage the U flag properly.
|
|
|
|
(trigger_based_interrupt): Likewise.
|
|
|
|
(trigger_fixed_interrupt): New.
|
|
|
|
(trigger_peripheral_interrupt): New.
|
|
|
|
* int.h (trigger_peripheral_interrupt): New.
|
|
|
|
* m32c.opc: Use m32c_opcode_pc throughout, as needed.
|
|
|
|
(decode_m32c): Detect jump-to-zero with traceback.
|
|
|
|
(BRK): Try to do the right thing, keeping track of whether we're
|
|
|
|
in gdb or not, and if the user has provided a handler or not.
|
|
|
|
(GBRK): Alternate break opcode for gdb, in case the user's app
|
|
|
|
needs to use BRK for itself.
|
|
|
|
(BRK2): Implement.
|
|
|
|
* main.c: Add Timer A support. Support TCP-based console.
|
|
|
|
(setup_tcp_console): New.
|
|
|
|
(main): Add Timer A support. Support TCP-based console.
|
2008-06-06 19:26:10 +00:00
|
|
|
* mem.h (m32c_sim_restore_console): New.
|
2008-06-06 19:18:15 +00:00
|
|
|
* mem.c: Add Timer A support. Support TCP-based console.
|
|
|
|
(mem_ptr): Enhance NULL pointer detection.
|
|
|
|
(stdin_ready): New.
|
|
|
|
(m32c_sim_restore_console): New.
|
|
|
|
(mem_get_byte): Check for console input ready.
|
|
|
|
(update_timer_a): New.
|
|
|
|
* r8c.opc (SSTR): Use r0l, not r0h.
|
|
|
|
(REIT): Fix return frame logic.
|
|
|
|
* reg.c (print_flags): New.
|
|
|
|
(trace_register_changes): Use it.
|
|
|
|
(m32c_dump_all_registers): New.
|
|
|
|
* timer_a.h: New.
|
|
|
|
|
|
|
|
* load.c: Fix indentation.
|
|
|
|
* trace.c: Fix indentation.
|
|
|
|
* trace.h: Fix indentation.
|
|
|
|
|
2006-06-26 20:31:43 +00:00
|
|
|
2006-06-26 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
* r8c.opc (decode_r8c): Don't bother reading the destination
|
|
|
|
before moving a constant into it. Fix borrow comparison for SUB.
|
|
|
|
|
2006-06-13 08:06:50 +00:00
|
|
|
2006-06-13 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
2006-06-05 14:21:13 +00:00
|
|
|
2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
2006-05-31 15:14:46 +00:00
|
|
|
2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
2006-03-14 03:34:28 +00:00
|
|
|
2006-03-13 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
* mem.c (mem_put_byte): Hook simulated UART to stdout.
|
|
|
|
(mem_put_hi): Hook in simulated trace port.
|
|
|
|
(mem_get_byte): Hook in simulated uart control port.
|
|
|
|
* opc2c: Be more picky about matching special comments.
|
|
|
|
* r8c.opc (shift_op): Limit shift counts to -16..16.
|
|
|
|
(BMcnd): Map conditional codes.
|
|
|
|
* reg.c (condition_true): Mask condition code to 4 bits.
|
|
|
|
* syscalls.c: Include local syscall.h.
|
|
|
|
* syscall.h: New, copied from libgloss.
|
|
|
|
|
2006-01-23 22:10:41 +00:00
|
|
|
2005-10-06 Jim Blandy <jimb@redhat.com>
|
|
|
|
|
|
|
|
Simulator for Renesas M32C and M16C, by DJ Delorie <dj@redhat.com>,
|
|
|
|
with further work from Jim Blandy <jimb@redhat.com> and
|
|
|
|
Kevin Buettner <kevinb@redhat.com>.
|
|
|
|
|
|
|
|
* ChangeLog: New.
|
|
|
|
* Makefile.in: New.
|
|
|
|
* blinky.S: New.
|
|
|
|
* config.in: New.
|
|
|
|
* configure: New.
|
|
|
|
* configure.in: New.
|
|
|
|
* cpu.h: New.
|
|
|
|
* gdb-if.c: New.
|
|
|
|
* gloss.S: New.
|
|
|
|
* int.c: New.
|
|
|
|
* int.h: New.
|
|
|
|
* load.c: New.
|
|
|
|
* load.h: New.
|
|
|
|
* m32c.opc: New.
|
|
|
|
* main.c: New.
|
|
|
|
* mem.c: New.
|
|
|
|
* mem.h: New.
|
|
|
|
* misc.c: New.
|
|
|
|
* misc.h: New.
|
|
|
|
* opc2c.c: New.
|
|
|
|
* r8c.opc: New.
|
|
|
|
* reg.c: New.
|
|
|
|
* safe-fgets.c: New.
|
|
|
|
* safe-fgets.h: New.
|
|
|
|
* sample.S: New.
|
|
|
|
* sample.ld: New.
|
|
|
|
* sample2.c: New.
|
|
|
|
* srcdest.c: New.
|
|
|
|
* syscalls.c: New.
|
|
|
|
* syscalls.h: New.
|
|
|
|
* trace.c: New.
|
|
|
|
* trace.h: New.
|
|
|
|
|
|
|
|
|