This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug mi/13170] New: some :werror and warning messages are written togdb/mi log stream
- From: "xdegaye at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 08 Sep 2011 19:28:11 +0000
- Subject: [Bug mi/13170] New: some :werror and warning messages are written togdb/mi log stream
- Auto-submitted: auto-generated
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.