This is the mail archive of the gdb-prs@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]

[Bug mi/13170] New: some :werror and warning messages are written togdb/mi log stream


http://sourceware.org/bugzilla/show_bug.cgi?id=13170

             Bug #: 13170
           Summary: some :werror and warning messages are written to
                    gdb/mi log stream
           Product: gdb
           Version: 7.3
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mi
        AssignedTo: unassigned@sourceware.org
        ReportedBy: xdegaye@gmail.com
    Classification: Unclassified


How-To-Repeat
-------------

* build a plain executable:

$ echo "main(){}" | gcc -x c -g  -


* run the following test and confirm that the message "No source file
  named foo.c." is written to gdb/mi log stream instead of the console
  stream:

$ gdb --interpreter=mi -q -ex "set confirm off" a.out
=thread-group-added,id="i1"
~"Reading symbols from /home/xavier/tmp/a.out..."
~"done.\n"
(gdb)
-interpreter-exec console "break foo.c:1"
&"No source file named foo.c.\n"
^done
(gdb)
quit
&"quit\n"

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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