Module Name:    src
Committed By:   christos
Date:           Tue Aug 27 21:50:20 UTC 2024

Modified Files:
        src/tools/gdb: Makefile mknative-gdb

Log Message:
disable sim on powerpc


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/tools/gdb/Makefile
cvs rdiff -u -r1.18 -r1.19 src/tools/gdb/mknative-gdb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/gdb/Makefile
diff -u src/tools/gdb/Makefile:1.53 src/tools/gdb/Makefile:1.54
--- src/tools/gdb/Makefile:1.53	Tue Aug 27 09:56:49 2024
+++ src/tools/gdb/Makefile	Tue Aug 27 17:50:20 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.53 2024/08/27 13:56:49 christos Exp $
+#	$NetBSD: Makefile,v 1.54 2024/08/27 21:50:20 christos Exp $
 
 .include <bsd.hostinit.mk>
 
@@ -108,11 +108,11 @@ CONFIGURE_ENV+=	ac_cv_header_ncurses_h=n
 # Disable sim unless it's known to work (configure's default is to
 # enable sim if supported).
 CONFIGURE_ARGS_SIM=
-.if \
-    ${MACHINE_CPU} != "powerpc" && \
-    ${MACHINE_CPU} != "powerpc64"
+#.if \
+#    ${MACHINE_CPU} != "powerpc" && \
+#    ${MACHINE_CPU} != "powerpc64"
 CONFIGURE_ARGS_SIM+= --disable-sim
-.endif
+#.endif
 
 CONFIGURE_ARGS_GDBSERVER=
 .if \

Index: src/tools/gdb/mknative-gdb
diff -u src/tools/gdb/mknative-gdb:1.18 src/tools/gdb/mknative-gdb:1.19
--- src/tools/gdb/mknative-gdb:1.18	Tue Aug 27 10:58:45 2024
+++ src/tools/gdb/mknative-gdb	Tue Aug 27 17:50:20 2024
@@ -1,5 +1,5 @@
 #!/bin/sh
-#	$NetBSD: mknative-gdb,v 1.18 2024/08/27 14:58:45 christos Exp $
+#	$NetBSD: mknative-gdb,v 1.19 2024/08/27 21:50:20 christos Exp $
 #
 # Shell script for generating all the constants needed for a native
 # platform build of src/external/gpl3/gdb
@@ -220,10 +220,10 @@ get_gdb_libgdb () {
 
 	local _LIBSIM=$_GDB/lib/libsim
 	case $_MACHINE_SUBDIR in
-	powerpc*)
+	xxpowerpc*)
 		mkdir -p $_TOP/$_LIBSIM/arch/$_MACHINE_SUBDIR
-		#write_c $_LIBSIM/arch/$_MACHINE_SUBDIR/config.h \
-		#	<$_TMPDIR/sim/ppc/config.h
+		write_c $_LIBSIM/arch/$_MACHINE_SUBDIR/config.h \
+			<$_TMPDIR/sim/config.h
 		#write_c $_LIBSIM/arch/$_MACHINE_SUBDIR/build-config.h \
 		#	<$_TMPDIR/sim/ppc/build-config.h
 		#write_c $_LIBSIM/arch/$_MACHINE_SUBDIR/cconfig.h \

Reply via email to