Re: [PATCH v2 6/7] Updates configure.tgt and enables gdb.reverse testsuite

Omair Javaid
2014-01-09T11:00:17Z

On 01/05/2014 07:27 PM, Yao Qi wrote:
> Hi,
> We should mention change in proc supports_reverse too.
>
> On 01/04/2014 03:15 AM, Omair Javaid wrote:
>> * lib/gdb.exp (supports_process_record): Return true for arm*-linux*.
>
> (supports_reverse): Likewise.
>

Patch updated after incorporating suggestions:

gdb/testsuite:

2014-01-09 Omair Javaid <omair.javaid@linaro.org>

* lib/gdb.exp (supports_process_record): Return true for arm*-linux*.
(supports_reverse): Likewise.
---
gdb/testsuite/lib/gdb.exp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index bde4e48..047aefb 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -1774,7 +1774,8 @@ proc supports_process_record {} {
return [target_info gdb,use_precord]
}

- if { [istarget "x86_64-*-linux*"] || [istarget "i\[34567\]86-*-linux*"] } {
+ if { [istarget "arm*-*-linux*"] || [istarget "x86_64-*-linux*"]
+ || [istarget "i\[34567\]86-*-linux*"] } {
return 1
}

@@ -1789,7 +1790,8 @@ proc supports_reverse {} {
return [target_info gdb,can_reverse]
}

- if { [istarget "x86_64-*-linux*"] || [istarget "i\[34567\]86-*-linux*"] } {
+ if { [istarget "arm*-*-linux*"] || [istarget "x86_64-*-linux*"]
+ || [istarget "i\[34567\]86-*-linux*"] } {
return 1
}

--
1.7.9.5