From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18624 invoked by alias); 11 Feb 2005 04:01:21 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 18549 invoked from network); 11 Feb 2005 04:01:06 -0000 Received: from unknown (HELO copland.sibelius.xs4all.nl) (24.75.92.210) by sourceware.org with SMTP; 11 Feb 2005 04:01:06 -0000 Received: from copland.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by copland.sibelius.xs4all.nl (8.13.3/8.13.3) with ESMTP id j1B4156t018850 for ; Fri, 11 Feb 2005 05:01:05 +0100 (CET) Received: (from kettenis@localhost) by copland.sibelius.xs4all.nl (8.13.3/8.13.3/Submit) id j1B4153o014075; Thu, 10 Feb 2005 23:01:05 -0500 (EST) Date: Fri, 11 Feb 2005 14:25:00 -0000 Message-Id: <200502110401.j1B4153o014075@copland.sibelius.xs4all.nl> From: Mark Kettenis To: gdb-patches@sources.redhat.com Subject: [COMMIT] Enable gdb.dwarf2 tests on *-*-openbsd* and fix them X-SW-Source: 2005-02/txt/msg00101.txt.bz2 We've committed similar fixes in the past, so I checked this in as obvious. Mark Index: ChangeLog from Mark Kettenis * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests on *-*-openbsd*. Correctly match whitespace in regukar expressions. Index: gdb.dwarf2/dw2-basic.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.dwarf2/dw2-basic.exp,v retrieving revision 1.2 diff -u -p -r1.2 dw2-basic.exp --- gdb.dwarf2/dw2-basic.exp 12 Oct 2004 15:55:06 -0000 1.2 +++ gdb.dwarf2/dw2-basic.exp 11 Feb 2005 03:58:17 -0000 @@ -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 \\(\\)" Index: gdb.dwarf2/dw2-intercu.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.dwarf2/dw2-intercu.exp,v retrieving revision 1.1 diff -u -p -r1.1 dw2-intercu.exp --- gdb.dwarf2/dw2-intercu.exp 13 Oct 2004 19:07:11 -0000 1.1 +++ gdb.dwarf2/dw2-intercu.exp 11 Feb 2005 03:58:17 -0000 @@ -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 \\(\\)"