Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <kettenis@gnu.org>
To: gdb-patches@sources.redhat.com
Subject: [COMMIT] Enable gdb.dwarf2 tests on *-*-openbsd* and fix them
Date: Fri, 11 Feb 2005 14:25:00 -0000	[thread overview]
Message-ID: <200502110401.j1B4153o014075@copland.sibelius.xs4all.nl> (raw)

We've committed similar fixes in the past, so I checked this in as
obvious.

Mark


Index: ChangeLog
from  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.

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 \\(\\)"


             reply	other threads:[~2005-02-11  4:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-11 14:25 Mark Kettenis [this message]
2005-02-11 17:11 ` Daniel Jacobowitz
2005-02-11 17:17   ` M.M. Kettenis
2005-02-11 17:29     ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200502110401.j1B4153o014075@copland.sibelius.xs4all.nl \
    --to=kettenis@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox