aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-09-15 08:11:50 +0000
committerAndrew Cagney <cagney@redhat.com>1997-09-15 08:11:50 +0000
commit08547b1f1d3916ee5b79b3303078a807320678f3 (patch)
treead620c004d3cf3f01cd550ce9293b37aab54a4d6 /sim/common
parent4bdab45adb4d3149a385ab9ccc9a7847481fe1cf (diff)
downloadgdb-08547b1f1d3916ee5b79b3303078a807320678f3.zip
gdb-08547b1f1d3916ee5b79b3303078a807320678f3.tar.gz
gdb-08547b1f1d3916ee5b79b3303078a807320678f3.tar.bz2
Determine ARCHITECTURE from program if possible.
Rename common's generated config.h to cconfig.h.
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog12
-rw-r--r--sim/common/configure.in4
2 files changed, 14 insertions, 2 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index e900667..62f8fc4 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,15 @@
+Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * aclocal.m4 (SIM_AC_COMMON): Add optional config.h file argument.
+ configure.in: Output to cconfig.h instead of config.h.
+
+ * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Sep 15 15:39:28 1997 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * sim-utils.c (sim_analyze_program): Set STATE_ARCHITECTURE from
+ BFD if known.
+
Tue Sep 9 21:46:46 1997 Felix Lee <flee@cygnus.com>
* callback.c (os_write): divert stdout and stderr to their
diff --git a/sim/common/configure.in b/sim/common/configure.in
index 833c919..b8ea538 100644
--- a/sim/common/configure.in
+++ b/sim/common/configure.in
@@ -3,7 +3,7 @@ AC_PREREQ(2.5)dnl
AC_INIT(Makefile.in)
# This is intended for use by the target specific directories, and by us.
-SIM_AC_COMMON
+SIM_AC_COMMON(cconfig.h)
# Put a useful copy of CPP_FOR_TARGET in Makefile.
# This is only used to build the target values header files. These files are
@@ -37,4 +37,4 @@ AC_SUBST(TARGET_SUBDIR)
AC_CHECK_HEADERS(stdlib.h string.h strings.h time.h sys/times.h)
AC_OUTPUT(Makefile,
-[case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac])
+[case x$CONFIG_HEADERS in xcconfig.h:config.in) echo > stamp-h ;; esac])