This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 08/11] New proc is_aarch64_target
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 01 Jul 2015 15:19:01 +0100
- Subject: Re: [PATCH 08/11] New proc is_aarch64_target
- Authentication-results: sourceware.org; auth=none
- References: <1435759111-22856-1-git-send-email-yao dot qi at linaro dot org> <1435759111-22856-9-git-send-email-yao dot qi at linaro dot org> <mvmmvzgrmta dot fsf at hawking dot suse dot de>
On 01/07/15 15:10, Andreas Schwab wrote:
+ return [expr ![is_aarch32_target]]
[expr] is redundant.
If I write "return ![is_aarch32_target]", I'll get a tcl error,
ERROR: tcl error sourcing
../../../binutils-gdb/gdb/testsuite/gdb.arch/aarch64-atomic-inst.exp.
ERROR: expected boolean value but got "!1"
while executing
"if {![is_aarch64_target]} {
verbose "Skipping ${gdb_test_file_name}."
return
}"
--
Yao (éå)