This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] testsuite: Restore gdb_is_target_remote_prompt
- From: Simon Marchi <simon dot marchi at polymtl dot ca>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: Simon Marchi <simon dot marchi at ericsson dot com>, gdb-patches at sourceware dot org
- Date: Wed, 28 Feb 2018 09:01:17 -0500
- Subject: Re: [PATCH] testsuite: Restore gdb_is_target_remote_prompt
- Authentication-results: sourceware.org; auth=none
- References: <1519788555-25457-1-git-send-email-simon.marchi@ericsson.com> <864lm1igq4.fsf@gmail.com>
On 2018-02-28 04:52, Yao Qi wrote:
Simon Marchi <simon.marchi@ericsson.com> writes:
gdb/testsuite/ChangeLog:
* lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
use it.
(gdb_is_target_remote_prompt): New proc.
(gdb_is_target_remote): Use gdb_is_target_remote_prompt.
(gdb_is_target_native): Pass prompt parameter to
gdb_is_target_1.
Patch is good to me.
Thanks, I pushed it.
Simon