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/15806] Some fields in async MI events get escaped twice


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.


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