This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix search in TUI
- From: Tom Tromey <tom at tromey dot com>
- To: "Hannes Domani via gdb-patches" <gdb-patches at sourceware dot org>
- Cc: Hannes Domani <ssbssa at yahoo dot de>
- Date: Mon, 06 Jan 2020 09:10:39 -0700
- Subject: Re: [PATCH] Fix search in TUI
- References: <20191222140316.4044-1-ssbssa.ref@yahoo.de> <20191222140316.4044-1-ssbssa@yahoo.de>
>>>>> "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.
Tom