aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authornobody <>2008-12-26 19:11:54 +0000
committernobody <>2008-12-26 19:11:54 +0000
commit6f581415c153fc050f7c12ba17016825506a719e (patch)
tree2f131de6a34477a2f519336bb343459d9c25ec2b /config
parentb4812cfe4dc394392e47e0489f38521da4a0b7ce (diff)
downloadgdb-6f581415c153fc050f7c12ba17016825506a719e.zip
gdb-6f581415c153fc050f7c12ba17016825506a719e.tar.gz
gdb-6f581415c153fc050f7c12ba17016825506a719e.tar.bz2
This commit was manufactured by cvs2svn to create branchreverse-20081226-branchpoint
'reverse-20081226-branch'. Sprout from multiprocess-20081120-branch 2008-11-20 00:35:24 UTC nobody 'This commit was manufactured by cvs2svn to create branch' Cherrypick from master 2008-12-26 19:11:53 UTC Sandra Loosemore <sandra@codesourcery.com> '2008-12-26 Sandra Loosemore <sandra@codesourcery.com>': COPYING.LIBGLOSS COPYING.NEWLIB ChangeLog Makefile.def Makefile.in Makefile.tpl bfd/ChangeLog bfd/Makefile.am bfd/Makefile.in bfd/aoutx.h bfd/archures.c bfd/bfd-in.h bfd/bfd-in2.h bfd/bfd.c bfd/bfdwin.c bfd/coffcode.h bfd/config.bfd bfd/configure bfd/configure.in bfd/cpu-avr.c bfd/cpu-lm32.c bfd/cpu-mips.c bfd/elf-bfd.h bfd/elf-m10300.c bfd/elf.c bfd/elf32-arm.c bfd/elf32-bfin.c bfd/elf32-cr16.c bfd/elf32-cris.c bfd/elf32-hppa.c bfd/elf32-i370.c bfd/elf32-i386.c bfd/elf32-lm32.c bfd/elf32-m32r.c bfd/elf32-m68k.c bfd/elf32-ppc.c bfd/elf32-s390.c bfd/elf32-sh.c bfd/elf32-spu.c bfd/elf32-spu.h bfd/elf32-v850.c bfd/elf32-vax.c bfd/elf64-alpha.c bfd/elf64-ppc.c bfd/elf64-s390.c bfd/elf64-sh64.c bfd/elf64-x86-64.c bfd/elfcode.h bfd/elflink.c bfd/elfxx-ia64.c bfd/elfxx-mips.c bfd/elfxx-sparc.c bfd/elfxx-target.h bfd/hpux-core.c bfd/libbfd.h bfd/mach-o.c bfd/mach-o.h bfd/pef.c bfd/reloc.c bfd/syms.c bfd/targets.c bfd/version.h bfd/xtensa-isa.c config-ml.in config.guess config.sub config/ChangeLog config/mh-mingw config/unwind_ipinfo.m4 configure configure.ac cpu/ChangeLog cpu/lm32.cpu cpu/lm32.opc gdb/ChangeLog gdb/MAINTAINERS gdb/Makefile.in gdb/NEWS gdb/acinclude.m4 gdb/ada-lang.c gdb/ada-lang.h gdb/alpha-mdebug-tdep.c gdb/breakpoint.c gdb/breakpoint.h gdb/c-exp.y gdb/c-lang.c gdb/c-lang.h gdb/cli/cli-decode.c gdb/cli/cli-decode.h gdb/command.h gdb/completer.c gdb/config.in gdb/config/i386/darwin.mh gdb/configure gdb/configure.ac gdb/configure.host gdb/configure.tgt gdb/darwin-nat-info.c gdb/darwin-nat.c gdb/darwin-nat.h gdb/darwin.defs gdb/dbxread.c gdb/defs.h gdb/doc/ChangeLog gdb/doc/gdb.texinfo gdb/doc/gdbint.texinfo gdb/dwarf2expr.c gdb/environ.c gdb/f-valprint.c gdb/features/osdata.dtd gdb/findvar.c gdb/frame.c gdb/gdbserver/ChangeLog gdb/gdbserver/Makefile.in gdb/gdbserver/hostio.c gdb/gdbserver/inferiors.c gdb/gdbserver/linux-low.c gdb/gdbserver/linux-low.h gdb/gdbserver/mem-break.c gdb/gdbserver/regcache.c gdb/gdbserver/remote-utils.c gdb/gdbserver/server.c gdb/gdbserver/server.h gdb/gdbserver/target.c gdb/gdbserver/target.h gdb/gdbserver/thread-db.c gdb/gdbserver/utils.c gdb/gdbserver/win32-low.c gdb/gnu-v3-abi.c gdb/i386-darwin-nat.c gdb/i386-darwin-tdep.c gdb/i386-darwin-tdep.h gdb/ia64-tdep.c gdb/inf-ptrace.c gdb/inf-ttrace.c gdb/infcall.c gdb/infcmd.c gdb/inferior.h gdb/inflow.c gdb/infrun.c gdb/linux-fork.c gdb/linux-nat.c gdb/linux-thread-db.c gdb/m32c-tdep.c gdb/machoread.c gdb/macrocmd.c gdb/macroexp.c gdb/mi/mi-main.c gdb/osabi.c gdb/osdata.c gdb/osdata.h gdb/parse.c gdb/printcmd.c gdb/python/python-internal.h gdb/python/python-utils.c gdb/python/python-value.c gdb/python/python.c gdb/remote.c gdb/rs6000-nat.c gdb/spu-linux-nat.c gdb/stack.c gdb/target.c gdb/target.h gdb/testsuite/ChangeLog gdb/testsuite/gdb.ada/formatted_ref.exp gdb/testsuite/gdb.ada/int_deref.exp gdb/testsuite/gdb.arch/ppc-fp.exp gdb/testsuite/gdb.arch/vsx-regs.exp gdb/testsuite/gdb.base/breakpoint-shadow.c gdb/testsuite/gdb.base/breakpoint-shadow.exp gdb/testsuite/gdb.base/commands.exp gdb/testsuite/gdb.base/completion.exp gdb/testsuite/gdb.base/consecutive.exp gdb/testsuite/gdb.base/expand-psymtabs.c gdb/testsuite/gdb.base/foll-fork.exp gdb/testsuite/gdb.base/foll-vfork.exp gdb/testsuite/gdb.base/macscp.exp gdb/testsuite/gdb.base/macscp1.c gdb/testsuite/gdb.base/sepsymtab.exp gdb/testsuite/gdb.base/start.exp gdb/testsuite/gdb.base/watchpoint-hw.c gdb/testsuite/gdb.base/watchpoint-hw.exp gdb/testsuite/gdb.cp/formatted-ref.exp gdb/testsuite/gdb.cp/punctuator.exp gdb/testsuite/gdb.server/ext-run.exp gdb/testsuite/gdb.threads/tls.c gdb/testsuite/gdb.threads/tls.exp gdb/testsuite/gdb.threads/tls2.c gdb/valops.c gdb/valprint.c gdb/value.c gdb/value.h gdb/version.in gdb/xml-support.c gdb/xml-support.h include/ChangeLog include/bfdlink.h include/coff/ChangeLog include/coff/ti.h include/demangle.h include/dis-asm.h include/elf/ChangeLog include/elf/common.h include/elf/cr16.h include/elf/cris.h include/elf/lm32.h include/opcode/ChangeLog include/opcode/mips.h include/plugin-api.h include/xtensa-isa-internal.h include/xtensa-isa.h libiberty/ChangeLog libiberty/config.h-vms libiberty/cp-demangle.c libiberty/makefile.vms libtool.m4 opcodes/ChangeLog opcodes/Makefile.am opcodes/Makefile.in opcodes/arm-dis.c opcodes/cgen-asm.in opcodes/cgen-dis.in opcodes/cgen-ibld.in opcodes/configure opcodes/configure.in opcodes/cr16-dis.c opcodes/disassemble.c opcodes/i386-dis.c opcodes/i386-gen.c opcodes/i386-opc.h opcodes/i386-opc.tbl opcodes/i386-tbl.h opcodes/lm32-asm.c opcodes/lm32-desc.c opcodes/lm32-desc.h opcodes/lm32-dis.c opcodes/lm32-ibld.c opcodes/lm32-opc.c opcodes/lm32-opc.h opcodes/lm32-opinst.c opcodes/m68k-dis.c opcodes/mips-dis.c opcodes/po/ga.po opcodes/ppc-dis.c opcodes/ppc-opc.c sim/arm/ChangeLog sim/arm/arminit.c sim/arm/iwmmxt.c sim/frv/ChangeLog sim/frv/arch.c sim/frv/arch.h sim/frv/cpu.c sim/frv/cpu.h sim/frv/cpuall.h sim/frv/decode.c sim/frv/decode.h sim/frv/model.c sim/frv/sem.c sim/h8300/ChangeLog sim/h8300/compile.c sim/ppc/ChangeLog sim/ppc/ppc-instructions sim/ppc/ppc-spr-table Cherrypick from reverse-20080717-branch 2008-09-19 21:17:10 UTC Michael Snyder <msnyder@vmware.com> 'don't need globals hex and decimal': gdb/testsuite/gdb.twreverse/Makefile.in gdb/testsuite/gdb.twreverse/break-reverse.c gdb/testsuite/gdb.twreverse/break-reverse.exp gdb/testsuite/gdb.twreverse/consecutive-reverse.c gdb/testsuite/gdb.twreverse/consecutive-reverse.exp gdb/testsuite/gdb.twreverse/finish-reverse.c gdb/testsuite/gdb.twreverse/finish-reverse.exp gdb/testsuite/gdb.twreverse/machinestate.c gdb/testsuite/gdb.twreverse/machinestate.exp gdb/testsuite/gdb.twreverse/machinestate1.c gdb/testsuite/gdb.twreverse/step-reverse.c gdb/testsuite/gdb.twreverse/step-reverse.exp gdb/testsuite/gdb.twreverse/until-reverse.c gdb/testsuite/gdb.twreverse/until-reverse.exp gdb/testsuite/gdb.twreverse/until-reverse1.c gdb/testsuite/gdb.twreverse/watch-reverse.c gdb/testsuite/gdb.twreverse/watch-reverse.exp
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog11
-rw-r--r--config/mh-mingw2
-rw-r--r--config/unwind_ipinfo.m441
3 files changed, 37 insertions, 17 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 1062d8e..e5dfc51 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,14 @@
+2008-11-21 Kai Tietz <kai.tietz@onevision.com>
+
+ Fix PR/25502
+ * mh-mingw (BOOT_CFLAGS): Add -Wno-pedantic-ms-format switch.
+
+2008-11-12 Steve Ellcey <sje@cup.hp.com>
+
+ PR target/27880
+ * unwind_ipinfo.m4 (GCC_CHECK_UNWIND_GETIPINFO): Change from
+ link test to target based test.
+
2008-08-09 Richard Sandiford <rdsandiford@googlemail.com>
* mt-mips16-compat: New file, taken from mt-mips-elfoabi.
diff --git a/config/mh-mingw b/config/mh-mingw
index 4c49d5d..d91323e 100644
--- a/config/mh-mingw
+++ b/config/mh-mingw
@@ -1,6 +1,6 @@
# Add -D__USE_MINGW_ACCESS to enable the built compiler to work on Windows
# Vista (see PR33281 for details).
-BOOT_CFLAGS += -D__USE_MINGW_ACCESS
+BOOT_CFLAGS += -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format
CFLAGS += -D__USE_MINGW_ACCESS
# Increase stack limit to same as Linux default.
LDFLAGS += -Wl,--stack,8388608
diff --git a/config/unwind_ipinfo.m4 b/config/unwind_ipinfo.m4
index 5587d9c..a1dc635 100644
--- a/config/unwind_ipinfo.m4
+++ b/config/unwind_ipinfo.m4
@@ -1,22 +1,31 @@
dnl
-dnl Check whether _Unwind_GetIPInfo is available.
+dnl Check whether _Unwind_GetIPInfo is available without doing a link
+dnl test so we can use this with libstdc++-v3 and libjava. Need to
+dnl use $target to set defaults because automatic checking is not possible
+dnl without a link test (and maybe even with a link test).
dnl
+
AC_DEFUN([GCC_CHECK_UNWIND_GETIPINFO], [
- AC_LANG_SAVE
- AC_LANG_CPLUSPLUS
- ac_save_CXXFLAGS="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -fno-exceptions"
- AC_MSG_CHECKING([for _Unwind_GetIPInfo])
- AC_CACHE_VAL(gcc_cv_getipinfo, [
- AC_TRY_LINK([extern "C" { extern void _Unwind_GetIPInfo(); }],
- [_Unwind_GetIPInfo();],
- [gcc_cv_getipinfo=yes],
- [gcc_cv_getipinfo=no])
- ])
- if test $gcc_cv_getipinfo = yes; then
+ AC_ARG_WITH(system-libunwind,
+ [ --with-system-libunwind use installed libunwind])
+ # If system-libunwind was not specifically set, pick a default setting.
+ if test x$with_system_libunwind = x; then
+ case ${target} in
+ ia64-*-hpux*) with_system_libunwind=yes ;;
+ *) with_system_libunwind=no ;;
+ esac
+ fi
+ # Based on system-libunwind and target, do we have ipinfo?
+ if test x$with_system_libunwind = xyes; then
+ case ${target} in
+ ia64-*-*) have_unwind_getipinfo=no ;;
+ *) have_unwind_getipinfo=yes ;;
+ esac
+ else
+ have_unwind_getipinfo=yes
+ fi
+
+ if test x$have_unwind_getipinfo = xyes; then
AC_DEFINE(HAVE_GETIPINFO, 1, [Define if _Unwind_GetIPInfo is available.])
fi
- AC_MSG_RESULT($gcc_cv_getipinfo)
- CXXFLAGS="$ac_save_CXXFLAGS"
- AC_LANG_RESTORE
])