From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24227 invoked by alias); 10 Apr 2013 19:46:18 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 24208 invoked by uid 9674); 10 Apr 2013 19:46:17 -0000 Date: Wed, 10 Apr 2013 19:46:00 -0000 Message-ID: <20130410194617.24179.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] jankratochvil/man: Merge branch 'gcore1-2-opt' into jankratochvil/man X-Git-Refname: refs/heads/jankratochvil/man X-Git-Reftype: branch X-Git-Oldrev: 0161d2c34874506a62b17bd87f014fd5593f65b8 X-Git-Newrev: dcd4db3e4d376451ca688e0b6474a6bdbe1af528 X-SW-Source: 2013-q2/txt/msg00016.txt.bz2 List-Id: The branch, jankratochvil/man has been updated via dcd4db3e4d376451ca688e0b6474a6bdbe1af528 (commit) via d656e12d35d51965360a4b5824bb8f946bddb2bc (commit) from 0161d2c34874506a62b17bd87f014fd5593f65b8 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit dcd4db3e4d376451ca688e0b6474a6bdbe1af528 Merge: 0161d2c d656e12 Author: Jan Kratochvil Date: Wed Apr 10 21:46:04 2013 +0200 Merge branch 'gcore1-2-opt' into jankratochvil/man commit d656e12d35d51965360a4b5824bb8f946bddb2bc Author: Jan Kratochvil Date: Wed Apr 10 21:22:03 2013 +0200 . ----------------------------------------------------------------------- Summary of changes: gdb/configure | 8 +++----- gdb/configure.ac | 8 +++----- gdb/configure.tgt | 11 +++++++++++ 3 files changed, 17 insertions(+), 10 deletions(-) First 500 lines of diff: diff --git a/gdb/configure b/gdb/configure index a19384e..f9d9a17 100755 --- a/gdb/configure +++ b/gdb/configure @@ -5123,11 +5123,9 @@ fi fi # Check whether this target is native and supports gcore. - # Such target has to call set_gdbarch_find_memory_regions. - if test $gdb_native = yes -a "$targ_alias" = "$target_alias"; then - case " ${gdb_target_obs} " in - *" linux-tdep.o "*) HAVE_NATIVE_GCORE_TARGET=1 ;; - esac + if test $gdb_native = yes -a "$targ_alias" = "$target_alias" \ + && $gdb_have_gcore; then + HAVE_NATIVE_GCORE_TARGET=1 fi fi done diff --git a/gdb/configure.ac b/gdb/configure.ac index 7156a36..ce6fa7a 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -239,11 +239,9 @@ do fi # Check whether this target is native and supports gcore. - # Such target has to call set_gdbarch_find_memory_regions. - if test $gdb_native = yes -a "$targ_alias" = "$target_alias"; then - case " ${gdb_target_obs} " in - *" linux-tdep.o "*) HAVE_NATIVE_GCORE_TARGET=1 ;; - esac + if test $gdb_native = yes -a "$targ_alias" = "$target_alias" \ + && $gdb_have_gcore; then + HAVE_NATIVE_GCORE_TARGET=1 fi fi done diff --git a/gdb/configure.tgt b/gdb/configure.tgt index c6357d2..abbd8cd 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -703,3 +703,14 @@ m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;; *-*-symbianelf*) gdb_osabi=GDB_OSABI_SYMBIAN ;; esac + +# Check whether this target supports gcore if used as a native one. +# Such target has to call set_gdbarch_find_memory_regions. +case " ${gdb_target_obs} " in + *" linux-tdep.o "*) + gdb_have_gcore=true + ;; + *) + gdb_have_gcore=false + ;; +esac hooks/post-receive -- Repository for Project Archer.