diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2b6b897b28..d0de64d396 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2005-02-10 Mark Kettenis + + * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests + on *-*-openbsd*. Correctly match whitespace in regukar + expressions. + 2005-02-10 Daniel Jacobowitz From Ramana Radhakrishnan : diff --git a/gdb/testsuite/gdb.dwarf2/dw2-basic.exp b/gdb/testsuite/gdb.dwarf2/dw2-basic.exp index 7e0611e755..4a9d067483 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-basic.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-basic.exp @@ -1,5 +1,4 @@ -# Copyright 2004 -# Free Software Foundation, Inc. +# Copyright 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -22,6 +21,7 @@ if {![istarget *-*-linux*] && ![istarget *-*-gnu*] && ![istarget *-*-elf*] + && ![istarget *-*-openbsd*] && ![istarget arm-*-eabi*] && ![istarget powerpc-*-eabi*]} { return 0 @@ -49,5 +49,5 @@ gdb_reinitialize_dir $srcdir/$subdir gdb_load ${binfile} gdb_test "set listsize 1" "" -gdb_test "list func_cu1" "4\tFile 1 Line 4" +gdb_test "list func_cu1" "4\[ \t\]+File 1 Line 4" gdb_test "ptype func_cu1" "type = int \\(\\)" diff --git a/gdb/testsuite/gdb.dwarf2/dw2-intercu.exp b/gdb/testsuite/gdb.dwarf2/dw2-intercu.exp index d9a0cfd800..eec9a7959a 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-intercu.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-intercu.exp @@ -1,5 +1,4 @@ -# Copyright 2004 -# Free Software Foundation, Inc. +# Copyright 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -22,6 +21,7 @@ if {![istarget *-*-linux*] && ![istarget *-*-gnu*] && ![istarget *-*-elf*] + && ![istarget *-*-openbsd*] && ![istarget arm-*-eabi*] && ![istarget powerpc-*-eabi*]} { return 0 @@ -49,5 +49,5 @@ gdb_reinitialize_dir $srcdir/$subdir gdb_load ${binfile} gdb_test "set listsize 1" "" -gdb_test "list func_cu1" "4\tFile 1 Line 4" +gdb_test "list func_cu1" "4\[ \t\]+File 1 Line 4" gdb_test "ptype func_cu1" "type = int \\(\\)"