]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.dwarf2/dw2-missing-cu-tag.exp
Update copyright year range in header of all files managed by GDB
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.dwarf2 / dw2-missing-cu-tag.exp
index 1afcaa3b50297ab62c44fc708c43a3bfad0077d3..92353ca487e90814536be380c4163d951068091c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2021-2022 Free Software Foundation, Inc.
+# Copyright 2021-2023 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
@@ -54,8 +54,7 @@ clean_restart
 set pattern1 \
     [multi_line \
         "Reading symbols from \[^\r\n\]+" \
-        "Dwarf Error: unexpected tag 'DW_TAG_subprogram' at offset $hex \\\[\[^\r\n\]+\\\]" \
-        "\\(No debugging symbols \[^\r\n\]+\\)"]
+        "Dwarf Error: unexpected tag 'DW_TAG_subprogram' at offset $hex"]
 
 # This pattern is hit when GDB does use -readnow (e.g. running with
 # --target_board=readnow).
@@ -63,7 +62,7 @@ set pattern2 \
     [multi_line \
         "Reading symbols from \[^\r\n\]+" \
         "Expanding full symbols from \[^\r\n\]+" \
-        "Dwarf Error: unexpected tag 'DW_TAG_subprogram' at offset $hex \\\[\[^\r\n\]+\\\]"]
+        "Dwarf Error: unexpected tag 'DW_TAG_subprogram' at offset $hex"]
 
 # Load the executable, we expect an error from the DWARF parser.
 gdb_test_multiple "file $binfile" "file $testfile" {