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: "asmwarrior at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sat, 26 Apr 2014 10:03:57 +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
--- Comment #15 from asmwarrior <asmwarrior at gmail dot com> ---
(In reply to Simon Marchi from comment #14)
> Created attachment 7563 [details]
> 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
Hi, Simon, great work, I just tested this patch, and it works fine under
Windows. (the issue in comment 4 is solved) I also prefer using ui_out_field_*
functions.
--
You are receiving this mail because:
You are on the CC list for the bug.