aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authornobody <>2008-11-20 00:35:24 +0000
committernobody <>2008-11-20 00:35:24 +0000
commitb4812cfe4dc394392e47e0489f38521da4a0b7ce (patch)
tree172f8d09ca7fb6f4007896cdd0f4a7d7ba98fd4d /sim/common
parent438f751013d510ce01e77855d560ce8dacc32276 (diff)
downloadgdb-b4812cfe4dc394392e47e0489f38521da4a0b7ce.zip
gdb-b4812cfe4dc394392e47e0489f38521da4a0b7ce.tar.gz
gdb-b4812cfe4dc394392e47e0489f38521da4a0b7ce.tar.bz2
This commit was manufactured by cvs2svn to create branchmultiprocess-20081120-branchpoint
'multiprocess-20081120-branch'. Sprout from reverse-20080930-branch 2008-09-30 21:53:33 UTC nobody 'This commit was manufactured by cvs2svn to create branch' Cherrypick from master 2008-11-20 00:35:23 UTC Doug Evans <dje@google.com> ' * inferior.h (proceed_to_finish): Delete, unused.': ChangeLog Makefile.def Makefile.in Makefile.tpl bfd/ChangeLog bfd/bfd-in2.h bfd/bfd.c bfd/bfdio.c bfd/cache.c bfd/cofflink.c bfd/config.bfd bfd/config.in bfd/configure bfd/configure.com bfd/configure.in bfd/doc/ChangeLog bfd/doc/bfd.texinfo bfd/doc/fdl.texi bfd/dwarf2.c bfd/elf-bfd.h bfd/elf.c bfd/elf32-arm.c bfd/elf32-avr.c bfd/elf32-cr16.c bfd/elf32-cris.c bfd/elf32-ppc.c bfd/elf32-sh-symbian.c bfd/elf32-spu.c bfd/elf64-ppc.c bfd/elflink.c bfd/elfxx-sparc.c bfd/hosts/alphavms.h bfd/libbfd.h bfd/linker.c bfd/mach-o-target.c bfd/mach-o.c bfd/mach-o.h bfd/makefile.vms bfd/po/id.po bfd/reloc.c bfd/version.h bfd/vms-hdr.c bfd/xtensa-modules.c configure configure.ac gdb/CONTRIBUTE gdb/ChangeLog gdb/MAINTAINERS gdb/Makefile.in gdb/NEWS gdb/ada-exp.y gdb/ada-lang.c gdb/ada-lang.h gdb/ada-tasks.c gdb/ada-valprint.c gdb/aix-thread.c gdb/amd64-tdep.c gdb/arm-tdep.c gdb/auxv.c gdb/breakpoint.c gdb/breakpoint.h gdb/bsd-uthread.c gdb/c-exp.y gdb/c-lang.c gdb/c-lang.h gdb/c-typeprint.c gdb/c-valprint.c gdb/cli/cli-cmds.c gdb/cli/cli-dump.c gdb/cli/cli-logging.c gdb/cli/cli-script.c gdb/coffread.c gdb/config/alpha/alpha-osf3.mh gdb/configure gdb/configure.ac gdb/configure.tgt gdb/corefile.c gdb/corelow.c gdb/cp-name-parser.y gdb/cp-valprint.c gdb/dbxread.c gdb/dec-thread.c gdb/defs.h gdb/doc/ChangeLog gdb/doc/gdb.texinfo gdb/doc/gdbint.texinfo gdb/doc/observer.texi gdb/dummy-frame.c gdb/dwarf2read.c gdb/elfread.c gdb/eval.c gdb/event-loop.c gdb/event-loop.h gdb/exec.c gdb/expprint.c gdb/f-lang.c gdb/f-lang.h gdb/f-typeprint.c gdb/f-valprint.c gdb/fbsd-nat.c gdb/features/Makefile gdb/features/rs6000/power-fpu-isa205.xml gdb/features/rs6000/powerpc-isa205-32l.c gdb/features/rs6000/powerpc-isa205-32l.xml gdb/features/rs6000/powerpc-isa205-64l.c gdb/features/rs6000/powerpc-isa205-64l.xml gdb/features/rs6000/powerpc-isa205-altivec32l.c gdb/features/rs6000/powerpc-isa205-altivec32l.xml gdb/features/rs6000/powerpc-isa205-altivec64l.c gdb/features/rs6000/powerpc-isa205-altivec64l.xml gdb/features/rs6000/powerpc-isa205-vsx32l.c gdb/features/rs6000/powerpc-isa205-vsx32l.xml gdb/features/rs6000/powerpc-isa205-vsx64l.c gdb/features/rs6000/powerpc-isa205-vsx64l.xml gdb/fork-child.c gdb/frv-tdep.c gdb/gdbarch.c gdb/gdbarch.h gdb/gdbarch.sh gdb/gdbinit.in gdb/gdbserver/ChangeLog gdb/gdbserver/Makefile.in gdb/gdbserver/configure.srv gdb/gdbserver/linux-low.c gdb/gdbserver/linux-ppc-low.c gdb/gdbserver/linux-sparc-low.c gdb/gdbserver/server.c gdb/gdbserver/xtensa-xtregs.c gdb/gdbthread.h gdb/gdbtypes.c gdb/gdbtypes.h gdb/gnu-nat.c gdb/gnu-nat.h gdb/go32-nat.c gdb/hpux-thread.c gdb/i386-dicos-tdep.c gdb/i386gnu-nat.c gdb/ia64-tdep.c gdb/inf-loop.c gdb/inf-ptrace.c gdb/inf-ttrace.c gdb/infcall.c gdb/infcmd.c gdb/inferior.c gdb/inferior.h gdb/inflow.c gdb/infrun.c gdb/interps.c gdb/jv-lang.h gdb/jv-typeprint.c gdb/jv-valprint.c gdb/language.c gdb/language.h gdb/linux-nat.c gdb/linux-thread-db.c gdb/m2-exp.y gdb/m2-lang.c gdb/m2-lang.h gdb/m2-typeprint.c gdb/m2-valprint.c gdb/m68hc11-tdep.c gdb/maint.c gdb/mdebugread.c gdb/mi/mi-cmd-stack.c gdb/mi/mi-cmds.c gdb/mi/mi-cmds.h gdb/mi/mi-common.h gdb/mi/mi-interp.c gdb/mi/mi-main.c gdb/minsyms.c gdb/mips-linux-tdep.c gdb/mips-tdep.c gdb/monitor.c gdb/mt-tdep.c gdb/nto-procfs.c gdb/objc-lang.c gdb/objfiles.h gdb/p-exp.y gdb/p-lang.c gdb/p-lang.h gdb/p-typeprint.c gdb/p-valprint.c gdb/parse.c gdb/ppc-linux-nat.c gdb/ppc-linux-tdep.c gdb/ppc-linux-tdep.h gdb/printcmd.c gdb/procfs.c gdb/python/python-internal.h gdb/python/python-value.c gdb/python/python.c gdb/python/python.h gdb/regcache.c gdb/regformats/reg-sparc64.dat gdb/regformats/reg-xtensa.dat gdb/regformats/rs6000/powerpc-isa205-32l.dat gdb/regformats/rs6000/powerpc-isa205-64l.dat gdb/regformats/rs6000/powerpc-isa205-altivec32l.dat gdb/regformats/rs6000/powerpc-isa205-altivec64l.dat gdb/regformats/rs6000/powerpc-isa205-vsx32l.dat gdb/regformats/rs6000/powerpc-isa205-vsx64l.dat gdb/reggroups.c gdb/remote-m32r-sdi.c gdb/remote-mips.c gdb/remote-sim.c gdb/remote.c gdb/reply_mig_hack.awk gdb/reverse.c gdb/rs6000-nat.c gdb/scm-lang.c gdb/scm-lang.h gdb/scm-valprint.c gdb/ser-mingw.c gdb/sh64-tdep.c gdb/sol-thread.c gdb/solib-frv.c gdb/solib-osf.c gdb/solib-som.c gdb/solib.c gdb/source.c gdb/stack.c gdb/symfile.c gdb/symmisc.c gdb/symtab.c gdb/symtab.h gdb/target.c gdb/target.h gdb/testsuite/ChangeLog gdb/testsuite/Makefile.in gdb/testsuite/configure gdb/testsuite/configure.ac gdb/testsuite/gdb.ada/int_deref.exp gdb/testsuite/gdb.ada/int_deref/foo.adb gdb/testsuite/gdb.ada/int_deref/pck.ads gdb/testsuite/gdb.ada/ref_tick_size.exp gdb/testsuite/gdb.ada/ref_tick_size/p.adb gdb/testsuite/gdb.ada/ref_tick_size/pck.adb gdb/testsuite/gdb.ada/ref_tick_size/pck.ads gdb/testsuite/gdb.arch/ppc-dfp.c gdb/testsuite/gdb.arch/ppc-dfp.exp gdb/testsuite/gdb.base/args.exp gdb/testsuite/gdb.base/callexit.c gdb/testsuite/gdb.base/callexit.exp gdb/testsuite/gdb.base/completion.exp gdb/testsuite/gdb.base/corefile.exp gdb/testsuite/gdb.base/dbx.exp gdb/testsuite/gdb.base/exprs.exp gdb/testsuite/gdb.base/foll-exec.exp gdb/testsuite/gdb.base/foll-fork.exp gdb/testsuite/gdb.base/hashline2.exp gdb/testsuite/gdb.base/hashline3.exp gdb/testsuite/gdb.base/help.exp gdb/testsuite/gdb.base/macscp.exp gdb/testsuite/gdb.base/maint.exp gdb/testsuite/gdb.base/pointers.c gdb/testsuite/gdb.base/pointers.exp gdb/testsuite/gdb.base/remotetimeout.exp gdb/testsuite/gdb.base/sepsymtab.exp gdb/testsuite/gdb.cp/gdb2384-base.cc gdb/testsuite/gdb.cp/gdb2384-base.h gdb/testsuite/gdb.cp/gdb2384.cc gdb/testsuite/gdb.cp/gdb2384.exp gdb/testsuite/gdb.cp/mb-ctor.exp gdb/testsuite/gdb.dwarf2/dw2-cu-size.S gdb/testsuite/gdb.dwarf2/dw2-cu-size.exp gdb/testsuite/gdb.dwarf2/dw2-intercu.S gdb/testsuite/gdb.mi/gdb2549.exp gdb/testsuite/gdb.mi/mi-nonstop.exp gdb/testsuite/gdb.mi/mi-nsmoribund.exp gdb/testsuite/gdb.mi/mi-pthreads.exp gdb/testsuite/gdb.mi/mi-syn-frame.exp gdb/testsuite/gdb.mi/mi2-syn-frame.exp gdb/testsuite/gdb.mi/nsmoribund.c gdb/testsuite/gdb.python/Makefile.in gdb/testsuite/gdb.python/python-value.c gdb/testsuite/gdb.python/python-value.exp gdb/testsuite/lib/gdb.exp gdb/testsuite/lib/mi-support.exp gdb/thread.c gdb/tracepoint.c gdb/tui/tui-regs.c gdb/typeprint.c gdb/utils.c gdb/valops.c gdb/valprint.c gdb/valprint.h gdb/value.c gdb/value.h gdb/varobj.c gdb/version.in gdb/win32-nat.c gdb/xcoffread.c gdb/xml-tdesc.c gdb/xtensa-config.c gdb/xtensa-xtregs.c include/ChangeLog include/demangle.h include/elf/ChangeLog include/elf/arm.h include/elf/common.h include/elf/cris.h include/elf/internal.h include/elf/ppc.h include/fopen-vms.h include/obstack.h include/opcode/ChangeLog include/opcode/arm.h include/opcode/mips.h include/xtensa-config.h libdecnumber/ChangeLog libdecnumber/decBasic.c libdecnumber/decDouble.h libdecnumber/decNumberLocal.h libdecnumber/decQuad.h libdecnumber/decSingle.h libiberty/ChangeLog libiberty/Makefile.in libiberty/config.h-vms libiberty/config.in libiberty/configure libiberty/configure.ac libiberty/cp-demangle.c libiberty/cp-demangle.h libiberty/makefile.vms libiberty/testsuite/demangle-expected libiberty/xstrdup.c opcodes/ChangeLog opcodes/arm-dis.c opcodes/avr-dis.c opcodes/configure opcodes/configure.in opcodes/i386-opc.tbl opcodes/i386-tbl.h opcodes/makefile.vms opcodes/mips-dis.c opcodes/mips-opc.c sim/common/ChangeLog sim/common/Make-common.in sim/common/aclocal.m4 sim/erc32/ChangeLog sim/erc32/erc32.c sim/erc32/exec.c sim/m32c/ChangeLog sim/m32c/int.c sim/ppc/ChangeLog sim/ppc/Makefile.in sim/ppc/configure sim/ppc/configure.ac sim/ppc/debug.c sim/ppc/debug.h sim/ppc/hw_sem.c sim/ppc/hw_shm.c Delete: gdb/cli/cli-utils.c gdb/cli/cli-utils.h
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog8
-rw-r--r--sim/common/Make-common.in2
-rw-r--r--sim/common/aclocal.m442
3 files changed, 30 insertions, 22 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 5b8b192..4ecc04b 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,11 @@
+2008-11-12 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * aclocal.m4: Fix underquoting of function names.
+
+2008-10-21 Julian Brown <julian@codesourcery.com>
+
+ * Make-common.in (run$(EXEEXT)): Add LDFLAGS.
+
2008-07-11 Hans-Peter Nilsson <hp@axis.com>
* common.m4: Add test for libz and zlib.h.
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index e516583..bcadfc1 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -260,7 +260,7 @@ libsim.a: $(LIB_OBJS)
$(RANLIB) libsim.a
run$(EXEEXT): $(SIM_RUN_OBJS) libsim.a $(LIBDEPS)
- $(CC) $(ALL_CFLAGS) -o run$(EXEEXT) \
+ $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o run$(EXEEXT) \
$(SIM_RUN_OBJS) libsim.a $(EXTRA_LIBS)
run.o: $(srccom)/run.c config.h tconfig.h $(remote_sim_h) $(callback_h)
diff --git a/sim/common/aclocal.m4 b/sim/common/aclocal.m4
index d916e62..e8fd147 100644
--- a/sim/common/aclocal.m4
+++ b/sim/common/aclocal.m4
@@ -18,7 +18,7 @@
#
# SIM_AC_OUTPUT
-AC_DEFUN(SIM_AC_COMMON,
+AC_DEFUN([SIM_AC_COMMON],
[
# autoconf.info says this should be called right after AC_INIT.
AC_CONFIG_HEADER(ifelse([$1],,config.h,[$1]):config.in)
@@ -245,7 +245,7 @@ dnl If the simulator doesn't invoke this, only the user environment is
dnl supported.
dnl ??? Until there is demonstrable value in doing something more complicated,
dnl let's not.
-AC_DEFUN(SIM_AC_OPTION_ENVIRONMENT,
+AC_DEFUN([SIM_AC_OPTION_ENVIRONMENT],
[
AC_ARG_ENABLE(sim-environment,
[ --enable-sim-environment=environment Specify mixed, user, virtual or operating environment.],
@@ -269,7 +269,7 @@ dnl Specify the alignment restrictions of the target architecture.
dnl Without this option all possible alignment restrictions are accommodated.
dnl arg[1] is hardwired target alignment
dnl arg[2] is default target alignment
-AC_DEFUN(SIM_AC_OPTION_ALIGNMENT,
+AC_DEFUN([SIM_AC_OPTION_ALIGNMENT],
wire_alignment="[$1]"
default_alignment="[$2]"
[
@@ -318,7 +318,7 @@ AC_SUBST(sim_alignment)
dnl Conditionally compile in assertion statements.
-AC_DEFUN(SIM_AC_OPTION_ASSERT,
+AC_DEFUN([SIM_AC_OPTION_ASSERT],
[
AC_ARG_ENABLE(sim-assert,
[ --enable-sim-assert Specify whether to perform random assertions.],
@@ -342,7 +342,7 @@ dnl arg[2] is the number assigned to the most significant bit
dnl arg[3] is the number of bits in an address
dnl arg[4] is the number of bits in an OpenFirmware cell.
dnl FIXME: this information should be obtained from bfd/archure
-AC_DEFUN(SIM_AC_OPTION_BITSIZE,
+AC_DEFUN([SIM_AC_OPTION_BITSIZE],
wire_word_bitsize="[$1]"
wire_word_msb="[$2]"
wire_address_bitsize="[$3]"
@@ -408,7 +408,7 @@ dnl --enable-sim-endian={yes,no,big,little} is for simulators
dnl that support both big and little endian targets.
dnl arg[1] is hardwired target endianness.
dnl arg[2] is default target endianness.
-AC_DEFUN(SIM_AC_OPTION_ENDIAN,
+AC_DEFUN([SIM_AC_OPTION_ENDIAN],
[
wire_endian="[$1]"
default_endian="[$2]"
@@ -458,7 +458,7 @@ AC_SUBST(sim_endian)
dnl --enable-sim-hostendian is for users of the simulator when
dnl they find that AC_C_BIGENDIAN does not function correctly
dnl (for instance in a canadian cross)
-AC_DEFUN(SIM_AC_OPTION_HOSTENDIAN,
+AC_DEFUN([SIM_AC_OPTION_HOSTENDIAN],
[
AC_ARG_ENABLE(sim-hostendian,
[ --enable-sim-hostendian=end Specify host byte endian orientation.],
@@ -490,7 +490,7 @@ dnl It specifies the presence of hardware floating point
dnl And optionally the bitsize of the floating point register.
dnl arg[1] specifies the presence (or absence) of floating point hardware
dnl arg[2] specifies the number of bits in a floating point register
-AC_DEFUN(SIM_AC_OPTION_FLOAT,
+AC_DEFUN([SIM_AC_OPTION_FLOAT],
[
default_sim_float="[$1]"
default_sim_float_bitsize="[$2]"
@@ -519,7 +519,7 @@ AC_SUBST(sim_float)
dnl The argument is the default cache size if none is specified.
-AC_DEFUN(SIM_AC_OPTION_SCACHE,
+AC_DEFUN([SIM_AC_OPTION_SCACHE],
[
default_sim_scache="ifelse([$1],,0,[$1])"
AC_ARG_ENABLE(sim-scache,
@@ -539,7 +539,7 @@ AC_SUBST(sim_scache)
dnl The argument is the default model if none is specified.
-AC_DEFUN(SIM_AC_OPTION_DEFAULT_MODEL,
+AC_DEFUN([SIM_AC_OPTION_DEFAULT_MODEL],
[
default_sim_default_model="ifelse([$1],,0,[$1])"
AC_ARG_ENABLE(sim-default-model,
@@ -559,7 +559,7 @@ dnl --enable-sim-hardware is for users of the simulator
dnl arg[1] Enable sim-hw by default? ("yes" or "no")
dnl arg[2] is a space separated list of devices that override the defaults
dnl arg[3] is a space separated list of extra target specific devices.
-AC_DEFUN(SIM_AC_OPTION_HARDWARE,
+AC_DEFUN([SIM_AC_OPTION_HARDWARE],
[
if test x"[$1]" = x"yes"; then
sim_hw_p=yes
@@ -621,7 +621,7 @@ dnl --enable-sim-inline is for users that wish to ramp up the simulator's
dnl performance by inlining functions.
dnl Guarantee that unconfigured simulators do not do any inlining
sim_inline="-DDEFAULT_INLINE=0"
-AC_DEFUN(SIM_AC_OPTION_INLINE,
+AC_DEFUN([SIM_AC_OPTION_INLINE],
[
default_sim_inline="ifelse([$1],,,-DDEFAULT_INLINE=[$1])"
AC_ARG_ENABLE(sim-inline,
@@ -666,7 +666,7 @@ fi])dnl
AC_SUBST(sim_inline)
-AC_DEFUN(SIM_AC_OPTION_PACKAGES,
+AC_DEFUN([SIM_AC_OPTION_PACKAGES],
[
AC_ARG_ENABLE(sim-packages,
[ --enable-sim-packages=list Specify the packages to be included in the build.],
@@ -692,7 +692,7 @@ fi])dnl
AC_SUBST(sim_packages)
-AC_DEFUN(SIM_AC_OPTION_REGPARM,
+AC_DEFUN([SIM_AC_OPTION_REGPARM],
[
AC_ARG_ENABLE(sim-regparm,
[ --enable-sim-regparm=nr-parm Pass parameters in registers instead of on the stack - x86/GCC specific.],
@@ -709,7 +709,7 @@ fi],[sim_regparm=""])dnl
AC_SUBST(sim_regparm)
-AC_DEFUN(SIM_AC_OPTION_RESERVED_BITS,
+AC_DEFUN([SIM_AC_OPTION_RESERVED_BITS],
[
default_sim_reserved_bits="ifelse([$1],,1,[$1])"
AC_ARG_ENABLE(sim-reserved-bits,
@@ -726,7 +726,7 @@ fi],[sim_reserved_bits="-DWITH_RESERVED_BITS=${default_sim_reserved_bits}"])dnl
AC_SUBST(sim_reserved_bits)
-AC_DEFUN(SIM_AC_OPTION_SMP,
+AC_DEFUN([SIM_AC_OPTION_SMP],
[
default_sim_smp="ifelse([$1],,5,[$1])"
AC_ARG_ENABLE(sim-smp,
@@ -746,7 +746,7 @@ fi])dnl
AC_SUBST(sim_smp)
-AC_DEFUN(SIM_AC_OPTION_STDCALL,
+AC_DEFUN([SIM_AC_OPTION_STDCALL],
[
AC_ARG_ENABLE(sim-stdcall,
[ --enable-sim-stdcall=type Use an alternative function call/return mechanism - x86/GCC specific.],
@@ -763,7 +763,7 @@ fi],[sim_stdcall=""])dnl
AC_SUBST(sim_stdcall)
-AC_DEFUN(SIM_AC_OPTION_XOR_ENDIAN,
+AC_DEFUN([SIM_AC_OPTION_XOR_ENDIAN],
[
default_sim_xor_endian="ifelse([$1],,8,[$1])"
AC_ARG_ENABLE(sim-xor-endian,
@@ -782,7 +782,7 @@ AC_SUBST(sim_xor_endian)
dnl --enable-build-warnings is for developers of the simulator.
dnl it enables extra GCC specific warnings.
-AC_DEFUN(SIM_AC_OPTION_WARNINGS,
+AC_DEFUN([SIM_AC_OPTION_WARNINGS],
[
# NOTE: Don't add -Wall or -Wunused, they both include
# -Wunused-parameter which reports bogus warnings.
@@ -866,7 +866,7 @@ dnl We cope by having autoconf generate two files and then merge them into
dnl one afterwards. The two pieces of the common fragment are inserted into
dnl the target's fragment at the appropriate points.
-AC_DEFUN(SIM_AC_OUTPUT,
+AC_DEFUN([SIM_AC_OUTPUT],
[
AC_LINK_FILES($sim_link_files, $sim_link_links)
dnl Make @cgen_breaks@ non-null only if the sim uses CGEN.
@@ -896,7 +896,7 @@ sinclude(../../config/gettext-sister.m4)
sinclude(../../config/acx.m4)
dnl --enable-cgen-maint support
-AC_DEFUN(SIM_AC_OPTION_CGEN_MAINT,
+AC_DEFUN([SIM_AC_OPTION_CGEN_MAINT],
[
cgen_maint=no
dnl Default is to use one in build tree.