* configure.ac: Check for RDYNAMIC also for cross builds.

* configure: Regenerate.
This commit is contained in:
Andreas Schwab
2010-06-15 18:37:18 +00:00
parent 98d64339ed
commit 0407b3f19d
3 changed files with 72 additions and 65 deletions

View File

@ -1,3 +1,8 @@
2010-06-15 Andreas Schwab <schwab@linux-m68k.org>
* configure.ac: Check for RDYNAMIC also for cross builds.
* configure: Regenerate.
2010-06-15 Pedro Alves <pedro@codesourcery.com> 2010-06-15 Pedro Alves <pedro@codesourcery.com>
* Makefile.in (ALL_TARGET_OBS): Remove solib-target.o. * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
@ -1187,7 +1192,7 @@
(value_object_type): Register valpy_hash. (value_object_type): Register valpy_hash.
2010-05-14 Hui Zhu <teawater@gmail.com> 2010-05-14 Hui Zhu <teawater@gmail.com>
Michael Snyder <msnyder@vmware.com> Michael Snyder <msnyder@vmware.com>
* linux-fork.c (gdbthread.h): New include. * linux-fork.c (gdbthread.h): New include.
(fork_info): Add parent_ptid. (fork_info): Add parent_ptid.
@ -2010,25 +2015,25 @@
* target.c (target_resume): Flush register caches. * target.c (target_resume): Flush register caches.
2010-04-29 Phil Muldoon <pmuldoon@redhat.com> 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
Tom Tromey <tromey@redhat.com> Tom Tromey <tromey@redhat.com>
Thiago Jung Bauermann <bauerman@br.ibm.com> Thiago Jung Bauermann <bauerman@br.ibm.com>
* Makefile.in (SUBDIR_PYTHON_OBS): Add py-parameter. * Makefile.in (SUBDIR_PYTHON_OBS): Add py-parameter.
(SUBDIR_PYTHON_SRCS): Likewise. (SUBDIR_PYTHON_SRCS): Likewise.
(py-parameter.o): New rule. (py-parameter.o): New rule.
* python/py-parameter.c: New file. * python/py-parameter.c: New file.
* python/python-internal.h (gdbpy_initialize_parameter) * python/python-internal.h (gdbpy_initialize_parameter)
(gdbpy_parameter, gdbpy_parameter_value) (gdbpy_parameter, gdbpy_parameter_value)
(gdbpy_parse_command_name): Declare. (gdbpy_parse_command_name): Declare.
* python/py-cmd.c (parse_command_name): Rename to * python/py-cmd.c (parse_command_name): Rename to
gdbpy_parse_command_name. gdbpy_parse_command_name.
(gdbpy_parse_command_name): Accept a starting list parameter and (gdbpy_parse_command_name): Accept a starting list parameter and
use over cmdlist. use over cmdlist.
(cmdpy_init): Use gdbpy_parse_command_name. (cmdpy_init): Use gdbpy_parse_command_name.
* python/python.c (parameter_to_python): Rename to * python/python.c (parameter_to_python): Rename to
gdbpy_parameter_to_python. Accept enum var_types and value. gdbpy_parameter_to_python. Accept enum var_types and value.
(gdbpy_parameter): Use gdbpy_parameter_value. (gdbpy_parameter): Use gdbpy_parameter_value.
(_initialize_python): Call gdbpy_initialize_parameters. (_initialize_python): Call gdbpy_initialize_parameters.
2010-04-29 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 2010-04-29 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>

7
gdb/configure vendored
View File

@ -14186,9 +14186,7 @@ $as_echo "$gdb_cv_bigtoc" >&6; }
;; ;;
esac esac
if test "${gdb_native}" = yes; then
if test ${build} = ${host} -a ${host} = ${target} ; then
if test "$GCC" = "yes" ; then if test "$GCC" = "yes" ; then
# The dynamically loaded libthread_db needs access to symbols in the gdb # The dynamically loaded libthread_db needs access to symbols in the gdb
# executable. Older GNU ld supports --export-dynamic but --dynamic-list # executable. Older GNU ld supports --export-dynamic but --dynamic-list
@ -14283,7 +14281,10 @@ rm -f core conftest.err conftest.$ac_objext \
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $found" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found" >&5
$as_echo "$found" >&6; } $as_echo "$found" >&6; }
fi fi
fi
if test ${build} = ${host} -a ${host} = ${target} ; then
case ${host_os} in case ${host_os} in
hpux*) hpux*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HPUX/OSF thread support" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HPUX/OSF thread support" >&5

View File

@ -1453,14 +1453,7 @@ aix*)
;; ;;
esac esac
if test "${gdb_native}" = yes; then
dnl For certain native configurations, we need to check whether thread
dnl support can be built in or not.
dnl
dnl Note that we only want this if we are both native (host == target),
dnl and not doing a canadian cross build (build == host).
if test ${build} = ${host} -a ${host} = ${target} ; then
if test "$GCC" = "yes" ; then if test "$GCC" = "yes" ; then
# The dynamically loaded libthread_db needs access to symbols in the gdb # The dynamically loaded libthread_db needs access to symbols in the gdb
# executable. Older GNU ld supports --export-dynamic but --dynamic-list # executable. Older GNU ld supports --export-dynamic but --dynamic-list
@ -1507,7 +1500,15 @@ if test ${build} = ${host} -a ${host} = ${target} ; then
LDFLAGS="$old_LDFLAGS" LDFLAGS="$old_LDFLAGS"
AC_MSG_RESULT($found) AC_MSG_RESULT($found)
fi fi
fi
dnl For certain native configurations, we need to check whether thread
dnl support can be built in or not.
dnl
dnl Note that we only want this if we are both native (host == target),
dnl and not doing a canadian cross build (build == host).
if test ${build} = ${host} -a ${host} = ${target} ; then
case ${host_os} in case ${host_os} in
hpux*) hpux*)
AC_MSG_CHECKING(for HPUX/OSF thread support) AC_MSG_CHECKING(for HPUX/OSF thread support)