This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: GDB ui word wrapping broken/interferes with 'set style' ?
- From: Tom Tromey <tom at tromey dot com>
- To: Philippe Waroquiers <philippe dot waroquiers at skynet dot be>
- Cc: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Sun, 06 Jan 2019 16:40:12 -0700
- Subject: Re: GDB ui word wrapping broken/interferes with 'set style' ?
- References: <1546181481.12900.10.camel@skynet.be> <87ftuelq21.fsf@tromey.com> <877efqlgu6.fsf@tromey.com> <1546244005.12900.20.camel@skynet.be>
>>>>> "Philippe" == Philippe Waroquiers <philippe.waroquiers@skynet.be> writes:
Philippe> For word wrapping, I could not make it split addresses anymore,
Philippe> but I still see differences with the 8.2 behaviour,
Philippe> where the new gdb git+patch still splits filenames or some values.
[...]
Ok, I think I finally found this. I have a patch that works for me.
I still have to write a test case.
I looked into writing a unit test, but that is pretty complicated given
the many conditions at the top of fputs_maybe_filtered. I suppose I'd
have to install a new top level interpreter to make it possible, among
other things. (It seems to me that maybe this should check some
property of the ui_file and not the interpreter, but that's a much
larger patch...)
Tom