This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug mi/15806] Some fields in async MI events get escaped twice
- From: "simon.marchi at ericsson dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 25 Apr 2014 19:37:40 +0000
- Subject: [Bug mi/15806] Some fields in async MI events get escaped twice
- Auto-submitted: auto-generated
- References: <bug-15806-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=15806
Simon Marchi <simon.marchi at ericsson dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #7559|0 |1
is obsolete| |
--- Comment #14 from Simon Marchi <simon.marchi at ericsson dot com> ---
Created attachment 7563
--> https://sourceware.org/bugzilla/attachment.cgi?id=7563&action=edit
Less ugly patch
Hi Yuanhui,
On top of your fix, I changed mi_solib_loaded to use ui_out_field_* functions,
so that the content gets properly escaped. The patch is attached.
So now, both =breakpoint-modified and =library-loaded should be fine at the
same time. Could you confirm that? If it is ok, we could identify and correct
other functions where fprintf_unfiltered is used directly.
Simon
--
You are receiving this mail because:
You are on the CC list for the bug.