public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Problematic .gdb_index warning regexps in testsuite
@ 2012-04-19 15:12 Doug Evans
  2012-04-20 10:12 ` Jan Kratochvil
  0 siblings, 1 reply; 4+ messages in thread
From: Doug Evans @ 2012-04-19 15:12 UTC (permalink / raw)
  To: gdb

Hi.

While grepping for gdb_index in the testsuite I found this:

gdb.base/annota1.exp:    -re "\r\n\032\032post-prompt\r\nStarting program: $binexp \(\r\nwarning: Skipping \[^\r\n\]+ .gdb_index section in \[^\r\n\]+\)?\(\(\r\n\r\n\032\032frames-invalid\)|\(\r\n\r\n\032\032breakpoints-invalid\)\)+\r\n\r\n\032\032starting\(\(\r\n\r\n\032\032frames-invalid\)|\(\r\n\r\n\032\032breakpoints-invalid\)\)*\r\n\r\n\032\032breakpoint 1\r\n\r\nBreakpoint 1, \r\n\032\032frame-begin 0 $hex\r\n\r\n\032\032frame-function-name\r\nmain\r\n\032\032frame-args\r\n \\(\\)\r\n\032\032frame-source-begin\r\n at \r\n\032\032frame-source-file\r\n.*annota1.c\r\n\032\032frame-source-file-end\r\n:\r\n\032\032frame-source-line\r\n$main_line\r\n\032\032frame-source-end\r\n\r\n\r\n\032\032source.*$srcfile:$main_line:.*:beg:$hex\r\n\r\n\032\032frame-end\r\n\r\n\032\032stopped.*$gdb_prompt$" {
gdb.base/async-shell.exp:set gdbindex_warning_re "warning: Skipping \[^\r\n\]+ \\.gdb_index section \[^\r\n\]*"
lib/mi-support.exp:set gdbindex_warning_re "&\"warning: Skipping \[^\r\n\]+ \.gdb_index section in \[^\"\]+\"\r\n"

I think we don't want to go down this path.
This will just proliferate, and make tests unnecessarily bulkier
(harder to maintain) than they should be.

I don't have a patch.
Just thought I'd point it out.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-20 10:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-19 15:12 Problematic .gdb_index warning regexps in testsuite Doug Evans
2012-04-20 10:12 ` Jan Kratochvil
2012-04-20 10:18   ` Jan Kratochvil
2012-04-20 10:30   ` Gary Benson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).