[commit] Fix gdb.asm/asm-source.exp for OpenBSD/hppa
Mark Kettenis
mark.kettenis@xs4all.nl
Sat Dec 31 01:41:00 GMT 2005
Randolph's fixes for hppa64-hpux finally gave me a hint what was
wrong. Thanks Randolph!
Committed as obvious.
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
* gdb.asm/openbsd.inc: Indent commands.
Index: gdb.asm/asm-source.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/asm-source.exp,v
retrieving revision 1.59
diff -u -p -r1.59 asm-source.exp
--- gdb.asm/asm-source.exp 9 Dec 2005 11:05:26 -0000 1.59
+++ gdb.asm/asm-source.exp 28 Dec 2005 10:31:21 -0000
@@ -144,6 +144,11 @@ switch -glob -- [istarget] {
set asm-flags "-I${srcdir}/${subdir} -I${objdir}/${subdir}"
set debug-flags "-gdwarf-2"
}
+ "hppa-*-openbsd*" {
+ set asm-arch pa
+ set asm-flags "-I${srcdir}/${subdir} -I${objdir}/${subdir}"
+ set debug-flags "-gdwarf-2"
+ }
"hppa64-*-hpux*" {
set asm-arch pa64
set asm-flags "-I${srcdir}/${subdir} -I${objdir}/${subdir}"
Index: gdb.asm/openbsd.inc
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/openbsd.inc,v
retrieving revision 1.2
diff -u -p -r1.2 openbsd.inc
--- gdb.asm/openbsd.inc 4 Mar 2004 10:23:16 -0000 1.2
+++ gdb.asm/openbsd.inc 28 Dec 2005 10:31:21 -0000
@@ -1,6 +1,6 @@
comment "openbsd .note"
-.section ".note.openbsd.ident", "a"
+ .section ".note.openbsd.ident", "a"
.p2align 2
.long 8
More information about the Gdb-patches
mailing list