This is the mail archive of the gdb-patches@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]

Re: [PATCH] Do not emit style escape sequences to log file


>>>>> "Sergio" == Sergio Durigan Junior <sergiodj@redhat.com> writes:

>> PR gdb/24502 requests that the "set logging" log file not contain
>> style escape sequences emitted by gdb.
>> 
>> This seemed like a reasonable request to me, so this patch implements
>> filtering for the log file.
>> 
>> This also updates a comment in ui-style.h that I noticed while writing
>> the patch.
>> 
>> Tested on x86-64 Fedora 29.

Sergio> Thanks for the patch.

Sergio> I looked at the code, tried my best to understand what it does
Sergio> (specially how the "skip_ansi_escape" function interacts with the new
Sergio> "no_terminal_escape_file::puts" method), and everything looks good to
Sergio> me.

Thanks for taking a look.

I'm checking this in now.

Tom


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