This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[obv] gdb.dwarf2/dw2-case-insensitive.exp: Permit also ppc64 leading dot


http://sourceware.org/ml/gdb-cvs/2011-08/msg00043.html

--- src/gdb/testsuite/ChangeLog	2011/08/08 19:16:39	1.2827
+++ src/gdb/testsuite/ChangeLog	2011/08/08 19:50:53	1.2828
@@ -1,6 +1,8 @@
 2011-08-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	* gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
+	* gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
+	(p fuNC_symtab): Permit also ppc64 leading dot.
 
 2011-08-05  Pedro Alves  <pedro@codesourcery.com>
 
--- src/gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.exp	2011/04/27 20:03:04	1.1
+++ src/gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.exp	2011/08/08 19:50:53	1.2
@@ -33,12 +33,13 @@
 
 gdb_test "set case-sensitive off" {warning: the current case sensitivity setting does not match the language\.}
 
+# The dot-leading symbol is for ppc64 function descriptors.
 gdb_test "info functions fUnC_lang" \
-	 "All functions matching regular expression \"fUnC_lang\":\[\r\n\]+File file1.txt:\r\nfoo FUNC_lang\\(void\\);" \
+	 "All functions matching regular expression \"fUnC_lang\":\[\r\n\]+File file1.txt:\r\nfoo FUNC_lang\\(void\\);(\r\n\r\nNon-debugging symbols:\r\n0x\[0-9a-f\]+ +\\.FUNC_lang)?" \
 	 "regexp case-sensitive off"
 
 gdb_test "p fuNC_lang" { = {foo \(void\)} 0x[0-9a-f]+ <FUNC_lang>}
-gdb_test "p fuNC_symtab" { = {<text variable, no debug info>} 0x[0-9a-f]+ <FUNC_symtab>}
+gdb_test "p fuNC_symtab" { = {<text variable, no debug info>} 0x[0-9a-f]+ <\.?FUNC_symtab>}
 
 if {[gdb_breakpoint "fuNC_lang"] == 1} {
     pass "setting breakpoint at fuNC_lang"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]