This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix search in TUI
- From: "Hannes Domani via gdb-patches" <gdb-patches at sourceware dot org>
- To: Gdb-patches <gdb-patches at sourceware dot org>
- Date: Mon, 6 Jan 2020 16:18:19 +0000 (UTC)
- Subject: Re: [PATCH] Fix search in TUI
- References: <20191222140316.4044-1-ssbssa.ref@yahoo.de> <20191222140316.4044-1-ssbssa@yahoo.de> <87sgkspnuo.fsf@tromey.com>
- Reply-to: Hannes Domani <ssbssa at yahoo dot de>
Am Montag, 6. Januar 2020, 17:10:42 MEZ hat Tom Tromey <tom@tromey.com> Folgendes geschrieben:
> >>>>> "Hannes" == Hannes Domani via gdb-patches <gdb-patches@sourceware.org> writes:
>
> Hannes> The variable last_line_listed is never set when print_source_lines_base is
> Hannes> called in TUI mode, so the search always started from the last line printed
> Hannes> outside of TUI mode.
>
> Hannes> gdb/ChangeLog:
>
> Hannes> 2019-12-22 Hannes Domani <ssbssa@yahoo.de>
>
> Hannes> * source.c (print_source_lines_base): Set last_line_listed.
>
> Thanks, this is ok.
Pushed, thanks.