From: Mark Kettenis Date: Fri, 11 Feb 2005 04:01:01 +0000 (+0000) Subject: * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ebdda33727b00fe468518fb23df0a9914b9ad8a6;p=binutils-gdb.git * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests on *-*-openbsd*. Correctly match whitespace in regukar expressions. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2b6b897b288..d0de64d3964 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 7e0611e755a..4a9d0674838 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 d9a0cfd8006..eec9a7959a6 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 \\(\\)"