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

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.


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