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: GDB ui word wrapping broken/interferes with 'set style' ?


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


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