diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-02-11 04:01:01 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-02-11 04:01:01 +0000 |
commit | ebdda33727b00fe468518fb23df0a9914b9ad8a6 (patch) | |
tree | cb6e09603fa6d33704c71d4ad8391dd229142d0c /gdb/testsuite/gdb.dwarf2 | |
parent | 40d16e0b396bb69280ab758a27b9165164d84a5d (diff) | |
download | gdb-ebdda33727b00fe468518fb23df0a9914b9ad8a6.zip gdb-ebdda33727b00fe468518fb23df0a9914b9ad8a6.tar.gz gdb-ebdda33727b00fe468518fb23df0a9914b9ad8a6.tar.bz2 |
* gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
on *-*-openbsd*. Correctly match whitespace in regukar
expressions.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-basic.exp | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-intercu.exp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-basic.exp b/gdb/testsuite/gdb.dwarf2/dw2-basic.exp index 7e0611e..4a9d067 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 d9a0cfd..eec9a79 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 \\(\\)" |