public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] sim: .gdbinit: generate for all arch subdirs
@ 2022-11-07 14:53 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2022-11-07 14:53 UTC (permalink / raw)
  To: gdb-patches

This was being skipped for ports that had a recursive configure,
but we want it for them too.
---
 sim/Makefile.in  | 100 ++++++++++++---------
 sim/configure    | 221 ++++++++++++++++++++++++++---------------------
 sim/configure.ac |   2 +-
 3 files changed, 180 insertions(+), 143 deletions(-)

diff --git a/sim/configure.ac b/sim/configure.ac
index 3c3743779229..8bde2a49fdfc 100644
--- a/sim/configure.ac
+++ b/sim/configure.ac
@@ -71,7 +71,6 @@ m4_define([SIM_BUILD_TARGET], [dnl
   m4_if($2, [true], [dnl
     AC_CONFIG_SUBDIRS($1)
   ], [dnl
-    AC_CONFIG_FILES($1/.gdbinit:common/gdbinit.in)
     AC_CONFIG_FILES($1/Makefile.sim:$1/Makefile.in)
     AC_CONFIG_COMMANDS([$1/Makefile],
 [sed -n \
@@ -88,6 +87,7 @@ m4_define([SIM_BUILD_TARGET], [dnl
 ])
     AS_VAR_APPEND([SIM_SUBDIRS], [" $1"])
   ])
+  AC_CONFIG_FILES($1/.gdbinit:common/gdbinit.in)
   dnl Create the depdirs for ports until we can convert them to automake.
   AC_CONFIG_COMMANDS([depdir-$1],
 		     [$SHELL $ac_aux_dir/mkinstalldirs $1/$DEPDIR],
-- 
2.38.1


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

only message in thread, other threads:[~2022-11-07 14:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-07 14:53 [PATCH] sim: .gdbinit: generate for all arch subdirs Mike Frysinger

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).