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: Still some style problems with 8.3 branch


On Thu, 2019-04-11 at 13:21 -0600, Tom Tromey wrote:
> > > > > > "Philippe" == Philippe Waroquiers <philippe.waroquiers@skynet.be> writes:
> 
> Philippe> It works better with the patch, but even with the patch,
> Philippe> I still encountered one case where the style was not
> Philippe> the expected style after the continuation prompt.
> 
> I tried this and couldn't reproduce, but...
> 
> Philippe> To reproduce (in a 80x24 terminal):
> Philippe> ./gdb/gdb ./gdb/gdb
> Philippe> break cli_ui_out::do_field_string
> Philippe> run
> gdb/testsuite/outputs/gdb.ada/info_auto_lang/proc_in_ada
> Philippe>   (gdb) b proc_in_c
> Philippe>   (gdb) run
> Philippe> info func error
> Philippe> #### then type several times return at the page prompt.
> Philippe> #### At some point in time, you see
> 
> ...I may not fully understand the instructions - the breakpoint on
> do_field_string seems to interfere with getting paging to work in the
> inferior gdb.
Maybe what is unclear is what to give to the top-gdb, and what to
give to the inferior gdb.
You should be able to reproduce it by just
typing one after each other the following lines.
I have put before the info to type which process is getting the input:

shell: ./gdb/gdb ./gdb/gdb
top-gdb: break cli_ui_out::do_field_string
top-gdb: run gdb/testsuite/outputs/gdb.ada/info_auto_lang/proc_in_ada
gdb: b proc_in_c
gdb: run
top-gdb: info func error
.... and then a bunch of return, till an output line is wrongly styled
in black, just after a prompt for continue.

Philippe



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