Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk switch alpha to GDB 7.12. it works just as feature...



details:   https://anonhg.NetBSD.org/src/rev/6a059e9a1a33
branches:  trunk
changeset: 348382:6a059e9a1a33
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Oct 16 19:20:02 2016 +0000

description:
switch alpha to GDB 7.12.  it works just as featureful as 7.7/7.10.
'step' and 'stepi' both fail, but 'next' and break points are ok,
so a sufficiently determined user can get somewhere..

someone should try to fix 'step'.  it appears to loop forever inside
ld.elf_so for me in an atomic cas function.

diffstat:

 share/mk/bsd.own.mk |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r c2e2e0dea94e -r 6a059e9a1a33 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sun Oct 16 18:49:17 2016 +0000
+++ b/share/mk/bsd.own.mk       Sun Oct 16 19:20:02 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.972 2016/10/16 05:08:59 mrg Exp $
+#      $NetBSD: bsd.own.mk,v 1.973 2016/10/16 19:20:02 mrg Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -130,11 +130,12 @@
 #
 # What GDB is used?
 #
-.if ${MACHINE} == "amd64" || \
+.if ${MACHINE} == "alpha" || \
+    ${MACHINE} == "amd64" || \
     ${MACHINE} == "sparc" || \
     ${MACHINE} == "sparc64" || \
-    ${MACHINE_CPU} == "powerpc" || \
-    ${MACHINE_CPU} == "arm"
+    ${MACHINE_CPU} == "arm" || \
+    ${MACHINE_CPU} == "powerpc"
 HAVE_GDB?=     712
 .else
 HAVE_GDB?=     710



Home | Main Index | Thread Index | Old Index