From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2210 invoked by alias); 8 Jan 2010 19:16:47 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 2168 invoked by uid 9674); 8 Jan 2010 19:16:45 -0000 Date: Fri, 08 Jan 2010 19:16:00 -0000 Message-ID: <20100108191645.2153.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] master: Merge remote branch 'gdb/master' X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: e46da49516f24f31237ba0068bbf374d83a2e7a6 X-Git-Newrev: 39a8dc9d7f4aeb64b63374991a2b260072794460 X-SW-Source: 2010-q1/txt/msg00008.txt.bz2 List-Id: The branch, master has been updated via 39a8dc9d7f4aeb64b63374991a2b260072794460 (commit) via 62c9162eb83180daa3b5ca826cc4f2c5a16aa086 (commit) via 2ab505681ea0a35e9c6322d80a72b77f4e6bed2e (commit) via 5e0aa050a89440fa0ef4941cc410b0968ce0033e (commit) via d03d81247fede99c83c634a38c36c4764c066628 (commit) via b39ba57b5fbbb148968e1baf0b15dfcc456c1b1f (commit) via e100432279e0cfd053bf7946b4421ba522e51998 (commit) via 0c52129b5b7bfa0d595aee2db9759b820e60354f (commit) via dcc4df60aef2af0e032e28bede20537e107516cc (commit) via 7947153f49e9ec9f47216bc44486397aa8adfeb0 (commit) via 8212bf0441f42f6bf7952d4caa0f2b2ae8b3381e (commit) via 915d481cfb685dfe9f4f17f58e6da3b0a87e0d86 (commit) via 8134c22cf9d38db3e1d76552f1aabb4fa4b1fc36 (commit) via 8e9e8764e138c442ac5669140bb7f9ee9d8e801b (commit) via 0e78d39624808850a305a96fa9a8cc86b14c3ded (commit) via 8d88cbeefe092eb9f9c0c394221958267df12c04 (commit) via 1558304bedcbc007291dabc9c5a05951401393f7 (commit) via 3a32759e5c739ff7692a4c4452910ffefdad930a (commit) from e46da49516f24f31237ba0068bbf374d83a2e7a6 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 39a8dc9d7f4aeb64b63374991a2b260072794460 Merge: e46da49516f24f31237ba0068bbf374d83a2e7a6 62c9162eb83180daa3b5ca826cc4f2c5a16aa086 Author: Jan Kratochvil Date: Fri Jan 8 20:16:36 2010 +0100 Merge remote branch 'gdb/master' commit 62c9162eb83180daa3b5ca826cc4f2c5a16aa086 Author: Daniel Jacobowitz Date: Fri Jan 8 17:48:04 2010 +0000 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals. commit 2ab505681ea0a35e9c6322d80a72b77f4e6bed2e Author: Vladimir Prus Date: Fri Jan 8 16:54:14 2010 +0000 Fix multiexec race. * infrun.c (handle_inferior_event): Use get_thread_regcache with events ptid, not get_current_regcache. commit 5e0aa050a89440fa0ef4941cc410b0968ce0033e Author: ghazi Date: Fri Jan 8 15:59:17 2010 +0000 PR bootstrap/42424 * configure.ac: Include libtool m4 files. (_LT_CHECK_OBJDIR): Call it. (extra_mpc_mpfr_configure_flags, extra_mpc_gmp_configure_flags, gmplibs, ppllibs, clooglibs): Use $lt_cv_objdir. * configure: Regenerate. commit d03d81247fede99c83c634a38c36c4764c066628 Author: Joel Brobecker Date: Fri Jan 8 13:54:39 2010 +0000 GDB crash with empty executable name (MinGW). * source.c (openp): Add assert that parameter string is not NULL. if parameter string is an empty string, then return with a failure immediately. commit b39ba57b5fbbb148968e1baf0b15dfcc456c1b1f Author: Joel Brobecker Date: Fri Jan 8 12:03:36 2010 +0000 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect call, to avoid interruption. commit e100432279e0cfd053bf7946b4421ba522e51998 Author: Joel Brobecker Date: Fri Jan 8 12:01:59 2010 +0000 Fix typo in date. commit 0c52129b5b7bfa0d595aee2db9759b820e60354f Author: Joel Brobecker Date: Fri Jan 8 11:58:22 2010 +0000 Get rid of support for VAX Floats. * ada-lang.h (ada_is_vax_floating_type, ada_vax_float_type_suffix) (ada_vax_float_print_function): Delete. * ada-lang.c (ada_is_vax_floating_type, ada_vax_float_type_suffix) (ada_vax_float_print_function): Delete. * ada-typeprint.c (print_vax_floating_point_type): Delete. (ada_print_type): Remove support for VAX floats. * ada-valprint.c (ada_val_print_1): Remove support for VAX floats. commit dcc4df60aef2af0e032e28bede20537e107516cc Author: Joel Brobecker Date: Fri Jan 8 11:56:36 2010 +0000 Fix typo in date. commit 7947153f49e9ec9f47216bc44486397aa8adfeb0 Author: Tristan Gingold Date: Fri Jan 8 11:15:39 2010 +0000 2010-01-08 Tristan Gingold * archive.c: Remove bfd_special_undocumented_glue. commit 8212bf0441f42f6bf7952d4caa0f2b2ae8b3381e Author: Jan Kratochvil Date: Fri Jan 8 08:55:15 2010 +0000 gdb/ * stabsread.c (read_args): Handle zero arguments. gdb/testsuite/ * gdb.stabs/weird.def (args93): New. commit 915d481cfb685dfe9f4f17f58e6da3b0a87e0d86 Author: Joel Brobecker Date: Fri Jan 8 07:16:43 2010 +0000 Cannot find in-tree libiconv.a after reconfigure. * acinclude.m4 (AM_ICONV): If we find an in-tree libiconv.a that we can use, then cache the path to this archive. * configure: Regenerate. commit 8134c22cf9d38db3e1d76552f1aabb4fa4b1fc36 Author: Alan Modra Date: Fri Jan 8 05:55:10 2010 +0000 PR ld/11133 * elf32-cr16.c (elf32_cr16_gc_mark_hook): Call _bfd_elf_gc_mark_hook. * elf32-microblaze.c (microblaze_elf_gc_mark_hook): Likewise. * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise. commit 8e9e8764e138c442ac5669140bb7f9ee9d8e801b Author: H.J. Lu Date: Fri Jan 8 03:03:15 2010 +0000 Fix PR ld/11138 bfd/ 2010-01-07 H.J. Lu PR ld/11138 * elflink.c (elf_link_check_versioned_symbol): Don't abort if a symbol referenced by DSO is is defined in a non-shared object and forced local. ld/testsuite/ 2010-01-07 H.J. Lu PR ld/11138 * ld-elf/pr11138-1.c: New. * ld-elf/pr11138-1.map: Likewise. * ld-elf/pr11138-2.c: Likewise. * ld-elf/pr11138-2.map: Likewise. * ld-elf/pr11138.out: Likewise. * ld-elf/shared.exp (build_tests): Add libpr11138-1.so and libpr11138-2.o. (run_tests): Add 2 tests for PR ld/11138. commit 0e78d39624808850a305a96fa9a8cc86b14c3ded Author: H.J. Lu Date: Fri Jan 8 01:43:22 2010 +0000 Set SEC_KEEP on section XXX for undefined __start_XXX/__stop_XXX bfd/ 2010-01-07 H.J. Lu PR ld/11133 * elflink.c (_bfd_elf_gc_mark_hook): Check section XXX for undefined __start_XXX/__stop_XXX in all input files and set SEC_KEEP. ld/testsuite/ 2010-01-07 H.J. Lu PR ld/11133 * ld-gc/gc.exp: Run start. * ld-gc/start.d: New. * ld-gc/start.s: Likewise. commit 8d88cbeefe092eb9f9c0c394221958267df12c04 Author: gdbadmin Date: Fri Jan 8 00:00:32 2010 +0000 *** empty log message *** commit 1558304bedcbc007291dabc9c5a05951401393f7 Author: Doug Evans Date: Thu Jan 7 23:26:39 2010 +0000 * lib/gdb.exp (gdb_skip_xml_test): Add comment. commit 3a32759e5c739ff7692a4c4452910ffefdad930a Author: Alan Modra Date: Thu Jan 7 23:00:05 2010 +0000 daily update ----------------------------------------------------------------------- Summary of changes: ChangeLog | 11 +++++++++ bfd/ChangeLog | 25 ++++++++++++++++++++ bfd/archive.c | 18 +------------- bfd/elf32-cr16.c | 22 +++-------------- bfd/elf32-microblaze.c | 38 ++++++++---------------------- bfd/elf64-ppc.c | 6 ++-- bfd/elflink.c | 37 ++++++++++++++++++++++++++++- bfd/version.h | 2 +- configure | 44 +++++++++++++++++++++++++++++----- configure.ac | 22 ++++++++++++----- gdb/ChangeLog | 35 ++++++++++++++++++++++++++++ gdb/acinclude.m4 | 5 ++- gdb/ada-lang.c | 46 ------------------------------------- gdb/ada-lang.h | 6 ----- gdb/ada-typeprint.c | 13 ---------- gdb/ada-valprint.c | 16 ------------- gdb/configure | 5 ++- gdb/infrun.c | 3 +- gdb/source.c | 14 +++++++++++ gdb/stabsread.c | 12 +++++++++- gdb/testsuite/ChangeLog | 17 +++++++++++++ gdb/testsuite/gdb.cp/gdb2495.exp | 5 ++++ gdb/testsuite/gdb.stabs/weird.def | 4 +++ gdb/testsuite/lib/gdb.exp | 5 ++- gdb/version.in | 2 +- 25 files changed, 240 insertions(+), 173 deletions(-) First 500 lines of diff: diff --git a/ChangeLog b/ChangeLog index 512d894..9d7f493 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2010-01-07 Kaveh R. Ghazi + Francois-Xavier Coudert + + PR bootstrap/42424 + * configure.ac: Include libtool m4 files. + (_LT_CHECK_OBJDIR): Call it. + (extra_mpc_mpfr_configure_flags, extra_mpc_gmp_configure_flags, + gmplibs, ppllibs, clooglibs): Use $lt_cv_objdir. + + * configure: Regenerate. + 2010-01-07 Ralf Wildenhues PR bootstrap/41818 diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 01950b4..fed7aab 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,28 @@ +2010-01-08 Tristan Gingold + + * archive.c: Remove bfd_special_undocumented_glue. + +2010-01-08 Alan Modra + + PR ld/11133 + * elf32-cr16.c (elf32_cr16_gc_mark_hook): Call _bfd_elf_gc_mark_hook. + * elf32-microblaze.c (microblaze_elf_gc_mark_hook): Likewise. + * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise. + +2010-01-07 H.J. Lu + + PR ld/11138 + * elflink.c (elf_link_check_versioned_symbol): Don't abort if + a symbol referenced by DSO is is defined in a non-shared object + and forced local. + +2010-01-07 H.J. Lu + + PR ld/11133 + * elflink.c (_bfd_elf_gc_mark_hook): Check section XXX for + undefined __start_XXX/__stop_XXX in all input files and set + SEC_KEEP. + 2010-01-07 H.J. Lu PR ld/11143 diff --git a/bfd/archive.c b/bfd/archive.c index 4d67463..6ba743c 100644 --- a/bfd/archive.c +++ b/bfd/archive.c @@ -1,6 +1,6 @@ /* BFD back-end for archive files (libraries). Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 + 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. Written by Cygnus Support. Mostly Gumby Henkel-Wallace's fault. @@ -1703,22 +1703,6 @@ bfd_ar_hdr_from_filesystem (bfd *abfd, const char *filename, bfd *member) return ared; } -/* This is magic required by the "ar" program. Since it's - undocumented, it's undocumented. You may think that it would take - a strong stomach to write this, and it does, but it takes even a - stronger stomach to try to code around such a thing! */ - -struct ar_hdr *bfd_special_undocumented_glue (bfd *, const char *); - -struct ar_hdr * -bfd_special_undocumented_glue (bfd *abfd, const char *filename) -{ - struct areltdata *ar_elt = bfd_ar_hdr_from_filesystem (abfd, filename, 0); - if (ar_elt == NULL) - return NULL; - return (struct ar_hdr *) ar_elt->arch_header; -} - /* Analogous to stat call. */ int diff --git a/bfd/elf32-cr16.c b/bfd/elf32-cr16.c index 9a4e2a9..84d9550 100644 --- a/bfd/elf32-cr16.c +++ b/bfd/elf32-cr16.c @@ -1,5 +1,5 @@ /* BFD back-end for National Semiconductor's CR16 ELF - Copyright 2007, 2008, 2009 Free Software Foundation, Inc. + Copyright 2007, 2008, 2009, 2010 Free Software Foundation, Inc. Written by M R Swami Reddy. This file is part of BFD, the Binary File Descriptor library. @@ -2287,26 +2287,12 @@ elf32_cr16_relax_section (bfd *abfd, asection *sec, static asection * elf32_cr16_gc_mark_hook (asection *sec, - struct bfd_link_info *info ATTRIBUTE_UNUSED, - Elf_Internal_Rela *rel ATTRIBUTE_UNUSED, + struct bfd_link_info *info, + Elf_Internal_Rela *rel, struct elf_link_hash_entry *h, Elf_Internal_Sym *sym) { - if (h == NULL) - return bfd_section_from_elf_index (sec->owner, sym->st_shndx); - - switch (h->root.type) - { - case bfd_link_hash_defined: - case bfd_link_hash_defweak: - return h->root.u.def.section; - - case bfd_link_hash_common: - return h->root.u.c.p->section; - - default: - return NULL; - } + return _bfd_elf_gc_mark_hook (sec, info, rel, h, sym); } /* Update the got entry reference counts for the section being removed. */ diff --git a/bfd/elf32-microblaze.c b/bfd/elf32-microblaze.c index 4c5a38d..47e4d51 100644 --- a/bfd/elf32-microblaze.c +++ b/bfd/elf32-microblaze.c @@ -1,6 +1,6 @@ /* Xilinx MicroBlaze-specific support for 32-bit ELF - Copyright 2009 Free Software Foundation, Inc. + Copyright 2009, 2010 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -1819,38 +1819,20 @@ microblaze_elf_relax_section (bfd *abfd, static asection * microblaze_elf_gc_mark_hook (asection *sec, - struct bfd_link_info * info ATTRIBUTE_UNUSED, + struct bfd_link_info * info, Elf_Internal_Rela * rel, struct elf_link_hash_entry * h, Elf_Internal_Sym * sym) { if (h != NULL) - { - switch (ELF32_R_TYPE (rel->r_info)) - { - case R_MICROBLAZE_GNU_VTINHERIT: - case R_MICROBLAZE_GNU_VTENTRY: - break; - - default: - switch (h->root.type) - { - case bfd_link_hash_defined: - case bfd_link_hash_defweak: - return h->root.u.def.section; - - case bfd_link_hash_common: - return h->root.u.c.p->section; - - default: - break; - } - } - } - else - return bfd_section_from_elf_index (sec->owner, sym->st_shndx); - - return NULL; + switch (ELF32_R_TYPE (rel->r_info)) + { + case R_MICROBLAZE_GNU_VTINHERIT: + case R_MICROBLAZE_GNU_VTENTRY: + return NULL; + } + + return _bfd_elf_gc_mark_hook (sec, info, rel, h, sym); } /* Update the got entry reference counts for the section being removed. */ diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index a940dab..6648ddc 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -1,6 +1,6 @@ /* PowerPC64-specific support for 64-bit ELF. Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, - 2009 Free Software Foundation, Inc. + 2009, 2010 Free Software Foundation, Inc. Written by Linus Nordberg, Swox AB , based on elf32-ppc.c by Ian Lance Taylor. Largely rewritten by Alan Modra. @@ -5624,7 +5624,7 @@ ppc64_elf_gc_mark_dynamic_ref (struct elf_link_hash_entry *h, void *inf) static asection * ppc64_elf_gc_mark_hook (asection *sec, - struct bfd_link_info *info ATTRIBUTE_UNUSED, + struct bfd_link_info *info, Elf_Internal_Rela *rel, struct elf_link_hash_entry *h, Elf_Internal_Sym *sym) @@ -5683,7 +5683,7 @@ ppc64_elf_gc_mark_hook (asection *sec, break; default: - break; + return _bfd_elf_gc_mark_hook (sec, info, rel, h, sym); } } } diff --git a/bfd/elflink.c b/bfd/elflink.c index 284bff1..24d8702 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -8492,10 +8492,14 @@ elf_link_check_versioned_symbol (struct bfd_link_info *info, _bfd_elf_swap_versym_in (input, ever, &iver); - if ((iver.vs_vers & VERSYM_HIDDEN) == 0) + if ((iver.vs_vers & VERSYM_HIDDEN) == 0 + && !(h->def_regular + && h->forced_local)) { /* If we have a non-hidden versioned sym, then it should - have provided a definition for the undefined sym. */ + have provided a definition for the undefined sym unless + it is defined in a non-shared object and forced local. + */ abort (); } @@ -11331,6 +11335,8 @@ _bfd_elf_gc_mark_hook (asection *sec, struct elf_link_hash_entry *h, Elf_Internal_Sym *sym) { + const char *sec_name; + if (h != NULL) { switch (h->root.type) @@ -11342,6 +11348,33 @@ _bfd_elf_gc_mark_hook (asection *sec, case bfd_link_hash_common: return h->root.u.c.p->section; + case bfd_link_hash_undefined: + case bfd_link_hash_undefweak: + /* To work around a glibc bug, keep all XXX input sections + when there is an as yet undefined reference to __start_XXX + or __stop_XXX symbols. The linker will later define such + symbols for orphan input sections that have a name + representable as a C identifier. */ + if (strncmp (h->root.root.string, "__start_", 8) == 0) + sec_name = h->root.root.string + 8; + else if (strncmp (h->root.root.string, "__stop_", 7) == 0) + sec_name = h->root.root.string + 7; + else + sec_name = NULL; + + if (sec_name && *sec_name != '\0') + { + bfd *i; + + for (i = info->input_bfds; i; i = i->link_next) + { + sec = bfd_get_section_by_name (i, sec_name); + if (sec) + sec->flags |= SEC_KEEP; + } + } + break; + default: break; } diff --git a/bfd/version.h b/bfd/version.h index d83221a..6113528 100644 --- a/bfd/version.h +++ b/bfd/version.h @@ -1,4 +1,4 @@ -#define BFD_VERSION_DATE 20100107 +#define BFD_VERSION_DATE 20100108 #define BFD_VERSION @bfd_version@ #define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@ #define REPORT_BUGS_TO @report_bugs_to@ diff --git a/configure b/configure index 542f2b2..9aa4685 100755 --- a/configure +++ b/configure @@ -5284,6 +5284,36 @@ else fi +# Used for setting $lt_cv_objdir +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 +$as_echo_n "checking for objdir... " >&6; } +if test "${lt_cv_objdir+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 +$as_echo "$lt_cv_objdir" >&6; } +objdir=$lt_cv_objdir + + + + + +cat >>confdefs.h <<_ACEOF +#define LT_OBJDIR "$lt_cv_objdir/" +_ACEOF + + + # Check for GMP, MPFR and MPC gmplibs="-lmpc -lmpfr -lgmp" gmpinc= @@ -5321,7 +5351,7 @@ if test "x$with_mpc_lib" != x; then gmplibs="-L$with_mpc_lib $gmplibs" fi if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x && test -d ${srcdir}/mpc; then - gmplibs='-L$$r/$(HOST_SUBDIR)/mpc/src/.libs -L$$r/$(HOST_SUBDIR)/mpc/src/_libs '"$gmplibs" + gmplibs='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs" gmpinc='-I$$s/mpc/src '"$gmpinc" # Do not test the mpc version. Assume that it is sufficient, since # it is in the source tree, and the library has not been built yet @@ -5370,9 +5400,9 @@ if test "x$with_mpfr_lib" != x; then gmplibs="-L$with_mpfr_lib $gmplibs" fi if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then - gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs" + gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs" gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc" - extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr' + extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir" # Do not test the mpfr version. Assume that it is sufficient, since # it is in the source tree, and the library has not been built yet # but it would be included on the link line in the version check below @@ -5420,10 +5450,10 @@ if test "x$with_gmp_lib" != x; then gmplibs="-L$with_gmp_lib $gmplibs" fi if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then - gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs" + gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs" gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc" extra_mpfr_configure_flags='--with-gmp-build=$$r/$(HOST_SUBDIR)/gmp' - extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp' + extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir" # Do not test the gmp version. Assume that it is sufficient, since # it is in the source tree, and the library has not been built yet # but it would be included on the link line in the version check below @@ -5735,7 +5765,7 @@ if test "x$with_ppl_lib" != x; then ppllibs="-L$with_ppl_lib -lppl_c -lppl -lgmpxx" fi if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x && test -d ${srcdir}/ppl; then - ppllibs='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/.libs -L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/_libs -L$$r/$(HOST_SUBDIR)/ppl/src/.libs -L$$r/$(HOST_SUBDIR)/ppl/src/_libs -lppl_c -lppl -lgmpxx ' + ppllibs='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"' -lppl_c -lppl -lgmpxx ' pplinc='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C ' enable_ppl_version_check=no fi @@ -5830,7 +5860,7 @@ if test "x$with_cloog_lib" != x; then clooglibs="-L$with_cloog_lib -lcloog" fi if test "x$with_cloog$with_cloog_include$with_cloog_lib" = x && test -d ${srcdir}/cloog; then - clooglibs='-L$$r/$(HOST_SUBDIR)/cloog/.libs -L$$r/$(HOST_SUBDIR)/cloog/_libs -lcloog ' + clooglibs='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' -lcloog ' clooginc='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -DCLOOG_PPL_BACKEND ' enable_cloog_version_check=no fi diff --git a/configure.ac b/configure.ac index 53ca32c..596b527 100644 --- a/configure.ac +++ b/configure.ac @@ -22,6 +22,11 @@ m4_include(config/acx.m4) m4_include(config/override.m4) m4_include(config/proginstall.m4) +m4_include([libtool.m4]) +m4_include([ltoptions.m4]) +m4_include([ltsugar.m4]) +m4_include([ltversion.m4]) +m4_include([lt~obsolete.m4]) AC_INIT(move-if-change) AC_PREREQ(2.64) @@ -1227,6 +1232,9 @@ AC_ARG_ENABLE(build-with-cxx, ENABLE_BUILD_WITH_CXX=$enableval, ENABLE_BUILD_WITH_CXX=no) +# Used for setting $lt_cv_objdir +_LT_CHECK_OBJDIR + # Check for GMP, MPFR and MPC gmplibs="-lmpc -lmpfr -lgmp" gmpinc= @@ -1252,7 +1260,7 @@ if test "x$with_mpc_lib" != x; then gmplibs="-L$with_mpc_lib $gmplibs" fi if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x && test -d ${srcdir}/mpc; then - gmplibs='-L$$r/$(HOST_SUBDIR)/mpc/src/.libs -L$$r/$(HOST_SUBDIR)/mpc/src/_libs '"$gmplibs" + gmplibs='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs" gmpinc='-I$$s/mpc/src '"$gmpinc" # Do not test the mpc version. Assume that it is sufficient, since # it is in the source tree, and the library has not been built yet @@ -1285,9 +1293,9 @@ if test "x$with_mpfr_lib" != x; then gmplibs="-L$with_mpfr_lib $gmplibs" fi if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then - gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs" + gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs" gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc" - extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr' + extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir" # Do not test the mpfr version. Assume that it is sufficient, since # it is in the source tree, and the library has not been built yet # but it would be included on the link line in the version check below @@ -1318,10 +1326,10 @@ if test "x$with_gmp_lib" != x; then gmplibs="-L$with_gmp_lib $gmplibs" fi if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then - gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs" + gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs" gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc" extra_mpfr_configure_flags='--with-gmp-build=$$r/$(HOST_SUBDIR)/gmp' - extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp' + extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir" # Do not test the gmp version. Assume that it is sufficient, since # it is in the source tree, and the library has not been built yet # but it would be included on the link line in the version check below @@ -1507,7 +1515,7 @@ if test "x$with_ppl_lib" != x; then ppllibs="-L$with_ppl_lib -lppl_c -lppl -lgmpxx" fi if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x && test -d ${srcdir}/ppl; then - ppllibs='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/.libs -L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/_libs -L$$r/$(HOST_SUBDIR)/ppl/src/.libs -L$$r/$(HOST_SUBDIR)/ppl/src/_libs -lppl_c -lppl -lgmpxx ' + ppllibs='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"' -lppl_c -lppl -lgmpxx ' pplinc='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C ' enable_ppl_version_check=no fi @@ -1567,7 +1575,7 @@ if test "x$with_cloog_lib" != x; then clooglibs="-L$with_cloog_lib -lcloog" fi if test "x$with_cloog$with_cloog_include$with_cloog_lib" = x && test -d ${srcdir}/cloog; then - clooglibs='-L$$r/$(HOST_SUBDIR)/cloog/.libs -L$$r/$(HOST_SUBDIR)/cloog/_libs -lcloog ' + clooglibs='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' -lcloog ' clooginc='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -DCLOOG_PPL_BACKEND ' enable_cloog_version_check=no fi diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3430364..bfb8d29 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,38 @@ +2010-01-08 Vladimir Prus + + Fix multiexec race. + * infrun.c (handle_inferior_event): Use get_thread_regcache + with events ptid, not get_current_regcache. + +2009-01-08 Joel Brobecker + + GDB crash with empty executable name (MinGW). + * source.c (openp): Add assert that parameter string is not NULL. + if parameter string is an empty string, then return with a failure + immediately. + +2009-01-08 Joel Brobecker + + Get rid of support for VAX Floats. + * ada-lang.h (ada_is_vax_floating_type, ada_vax_float_type_suffix) + (ada_vax_float_print_function): Delete. + * ada-lang.c (ada_is_vax_floating_type, ada_vax_float_type_suffix) + (ada_vax_float_print_function): Delete. + * ada-typeprint.c (print_vax_floating_point_type): Delete. + (ada_print_type): Remove support for VAX floats. + * ada-valprint.c (ada_val_print_1): Remove support for VAX floats. + +2010-01-08 jan kratochvil + + * stabsread.c (read_args): Handle zero arguments. + +2009-01-08 Joel Brobecker + + Cannot find in-tree libiconv.a after reconfigure. + * acinclude.m4 (AM_ICONV): If we find an in-tree libiconv.a hooks/post-receive -- Repository for Project Archer.