gdb/
[deliverable/binutils-gdb.git] / gdb / configure.tgt
index c6357d2a3a06f89d1ee782dcf8fe1a672633801b..51fe87c620f2525a490b01ab26dfba55fd85ecee 100644 (file)
@@ -6,6 +6,7 @@
 #  gdb_sim             simulator library for target
 #  gdb_osabi           default OS ABI to use with target
 #  build_gdbserver     set to "yes" if gdbserver supports target
+#  gdb_have_gcore      set to "true"/"false" if this target can run gcore
 
 # NOTE: Every file added to a gdb_target_obs variable for any target here
 #       must also be added to either ALL_TARGET_OBS or ALL_64_TARGET_OBS
@@ -703,3 +704,14 @@ m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
 *-*-symbianelf*)
                gdb_osabi=GDB_OSABI_SYMBIAN ;;
 esac
+
+# Check whether this target supports gcore.
+# 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
This page took 0.037793 seconds and 4 git commands to generate.