https://bugs.kde.org/show_bug.cgi?id=406357

            Bug ID: 406357
           Summary: valgrind 3.15.0-RC1 fails  gdbserver_tests because of
                    gdb output change
           Product: valgrind
           Version: 3.15 SVN
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: ro...@atchoo.org
  Target Milestone: ---

On Ubuntu 19.04 amd64 / gdb 8.2.90.20190311 the output format of gdb has
changed from

    Reading symbols from <exe>...done.

to

    Reading symbols from <exe>...

This results in a raft of stdoutB errors in gdbserver_tests.

This fixes it:

diff --git a/gdbserver_tests/filter_gdb b/gdbserver_tests/filter_gdb
index 05bbe4c54..d0ab11ddb 100755
--- a/gdbserver_tests/filter_gdb
+++ b/gdbserver_tests/filter_gdb
@@ -92,7 +92,7 @@ sed -e '/Remote debugging using/,/vgdb launched process
attached/d'
     -e 's/^Thread .... received /Program received /'                          
                       \
     -e 's/#[0-9]\(  0x........ in sleeper_or_burner\)/#.\1/'                  
                       \
     -e 's/\(#0  0x........ in do_burn ()\) at sleepers.c:41/\1/'              
                       \
-    -e '/^Reading symbols from .*\.\.\.done\./d'                              
                       \
+    -e '/^Reading symbols from .*\.\.\.\(done\.\)\?/d'                        
                       \
     -e '/^Loaded symbols for .*$/d'                                           
                       \
     -e '/^Current language.*/d'                                               
                       \
     -e '/^The current source language is.*/d'                                 
                       \

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to