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: Yao Qi <qiyaoltc at gmail dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Wed, 28 Feb 2018 09:52:19 +0000
- 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>
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.
--
Yao (齐尧)