GDB ui word wrapping broken/interferes with 'set style' ?

Philippe Waroquiers philippe.waroquiers@skynet.be
Mon Jan 7 13:46:00 GMT 2019


On Sun, 2019-01-06 at 16:40 -0700, Tom Tromey wrote:
> > > > > > "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
Thanks for the investigations.  If you deem it useful, I can do
some manual validation of the patch, waiting for the test case and/or
unit test.

Philippe



More information about the Gdb-patches mailing list