* gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests

on *-*-openbsd*.  Correctly match whitespace in regukar
expressions.
This commit is contained in:
Mark Kettenis 2005-02-11 04:01:01 +00:00
parent 40d16e0b39
commit ebdda33727
3 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2005-02-10 Mark Kettenis <kettenis@chello.nl>
* 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 <dan@debian.org> 2005-02-10 Daniel Jacobowitz <dan@debian.org>
From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>: From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:

View File

@ -1,5 +1,4 @@
# Copyright 2004 # Copyright 2004, 2005 Free Software Foundation, Inc.
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify # 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 # it under the terms of the GNU General Public License as published by
@ -22,6 +21,7 @@
if {![istarget *-*-linux*] if {![istarget *-*-linux*]
&& ![istarget *-*-gnu*] && ![istarget *-*-gnu*]
&& ![istarget *-*-elf*] && ![istarget *-*-elf*]
&& ![istarget *-*-openbsd*]
&& ![istarget arm-*-eabi*] && ![istarget arm-*-eabi*]
&& ![istarget powerpc-*-eabi*]} { && ![istarget powerpc-*-eabi*]} {
return 0 return 0
@ -49,5 +49,5 @@ gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile} gdb_load ${binfile}
gdb_test "set listsize 1" "" 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 \\(\\)" gdb_test "ptype func_cu1" "type = int \\(\\)"

View File

@ -1,5 +1,4 @@
# Copyright 2004 # Copyright 2004, 2005 Free Software Foundation, Inc.
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify # 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 # it under the terms of the GNU General Public License as published by
@ -22,6 +21,7 @@
if {![istarget *-*-linux*] if {![istarget *-*-linux*]
&& ![istarget *-*-gnu*] && ![istarget *-*-gnu*]
&& ![istarget *-*-elf*] && ![istarget *-*-elf*]
&& ![istarget *-*-openbsd*]
&& ![istarget arm-*-eabi*] && ![istarget arm-*-eabi*]
&& ![istarget powerpc-*-eabi*]} { && ![istarget powerpc-*-eabi*]} {
return 0 return 0
@ -49,5 +49,5 @@ gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile} gdb_load ${binfile}
gdb_test "set listsize 1" "" 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 \\(\\)" gdb_test "ptype func_cu1" "type = int \\(\\)"