public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  jankratochvil/man: Merge branch 'gcore1-2-opt' into jankratochvil/man
@ 2013-04-10 19:46 jkratoch
  0 siblings, 0 replies; only message in thread
From: jkratoch @ 2013-04-10 19:46 UTC (permalink / raw)
  To: archer-commits

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 <jan.kratochvil@redhat.com>
Date:   Wed Apr 10 21:46:04 2013 +0200

    Merge branch 'gcore1-2-opt' into jankratochvil/man

commit d656e12d35d51965360a4b5824bb8f946bddb2bc
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-04-10 19:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-10 19:46 [SCM] jankratochvil/man: Merge branch 'gcore1-2-opt' into jankratochvil/man jkratoch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).