public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] GDB process record and reverse debugging improvements for arm*-linux*
@ 2013-10-24  0:09 Omair Javaid
  2013-10-24  1:42 ` Yao Qi
  2013-10-24  1:44 ` Yao Qi
  0 siblings, 2 replies; 12+ messages in thread
From: Omair Javaid @ 2013-10-24  0:09 UTC (permalink / raw)
  To: gdb-patches; +Cc: Patch Tracking

Hi,
This patch series improves gdb process record and reverse debugging
capabilities for arm targets. There are three patches in the current
list and they divided as below:
Patch 0) Enables gdb.reverse testsuite for arm and also enables
linux-record for arm by making changes to configure.tgt file.
Patch 1) Adds support in arm process record code to decode system call
and various types of thumb32 instructions.
Patch 2) Includes changes required to implement system call
instruction recording on arm targets.

This patch has been tested on arm ARMv7 Processor rev 4 (v7l). Also
regression testing has been performed on a x86_64 machine.

gdb.reverse Testsuite Results

(ARM-Native Configuration)
Previous: 508 Pass
With This Patch: 2211 Pass

(ARM-Remote Configuration)
Previous: 501 Pass
With This Patch: 2193 Pass

== PATCH 0 ==

This patch adds a news entry about improved process record-replay on
arm*-linux* targets.
It also adds linux-record.o to gdb_target_obs in configure.tgt and
enables gdb.reverse testsuite for arm*-linux* targets.

gdb:

2013-10-24  Omair Javaid  <omair.javaid@linaro.org>

* NEWS: Add note on improved process record-replay
on arm*-linux* targets.
* configure.tgt: Add linux-record.o to gdb_target_obs.

gdb/testsuite/lib:

2013-10-24  Omair Javaid  <omair.javaid@linaro.org>

* gdb.exp: Enable gdb.reverse testsuite for arm*-linux* targets.

Index: gdb/NEWS
===================================================================
RCS file: /cvs/src/src/gdb/NEWS,v
retrieving revision 1.622
diff -u -p -r1.622 NEWS
--- gdb/NEWS 11 Oct 2013 13:51:26 -0000 1.622
+++ gdb/NEWS 23 Oct 2013 20:34:42 -0000
@@ -3,6 +3,12 @@

 *** Changes since GDB 7.6

+* Improved support of process record-replay and reverse debugging on
+  arm*-linux* targets.
+
+Support for thumb32 instructions and syscall recording has been added.
+gdb/testsuite/gdb.reverse is now enabled for arm*-linux* targets.
+
 * GDB now supports Fission DWP file format version 2.
   http://gcc.gnu.org/wiki/DebugFission

Index: gdb/configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.281
diff -u -p -r1.281 configure.tgt
--- gdb/configure.tgt 1 Oct 2013 13:21:17 -0000 1.281
+++ gdb/configure.tgt 23 Oct 2013 20:34:42 -0000
@@ -89,7 +89,7 @@ arm*-wince-pe | arm*-*-mingw32ce*)
 arm*-*-linux*)
  # Target: ARM based machine running GNU/Linux
  gdb_target_obs="arm-tdep.o arm-linux-tdep.o glibc-tdep.o \
- solib-svr4.o symfile-mem.o linux-tdep.o"
+ solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
  build_gdbserver=yes
  ;;
 arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
Index: gdb/testsuite/lib/gdb.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/lib/gdb.exp,v
retrieving revision 1.250
diff -u -p -r1.250 gdb.exp
--- gdb/testsuite/lib/gdb.exp 18 Oct 2013 20:40:03 -0000 1.250
+++ gdb/testsuite/lib/gdb.exp 23 Oct 2013 20:34:49 -0000
@@ -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*-*-*"] || [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*-*-*"] || [istarget "x86_64-*-linux*"]
+         || [istarget "i\[34567\]86-*-linux*"] } {
  return 1
     }

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/2] GDB process record and reverse debugging improvements for arm*-linux*
  2013-10-24  0:09 [PATCH 0/2] GDB process record and reverse debugging improvements for arm*-linux* Omair Javaid
@ 2013-10-24  1:42 ` Yao Qi
  2013-10-24  1:44 ` Yao Qi
  1 sibling, 0 replies; 12+ messages in thread
From: Yao Qi @ 2013-10-24  1:42 UTC (permalink / raw)
  To: Omair Javaid; +Cc: gdb-patches, Patch Tracking

On 10/24/2013 08:09 AM, Omair Javaid wrote:
> gdb/testsuite/lib:

Remove "/lib" ....

>
> 2013-10-24  Omair Javaid<omair.javaid@linaro.org>
>
> * gdb.exp: Enable gdb.reverse testsuite for arm*-linux* targets.

and add "lib/" before "gdb.exp:".  Since the ChangeLog file is located 
in gdb/testsuite instead of gdb/testsuite/lib.


> RCS file: /cvs/src/src/gdb/testsuite/lib/gdb.exp,v
> retrieving revision 1.250
> diff -u -p -r1.250 gdb.exp
> --- gdb/testsuite/lib/gdb.exp 18 Oct 2013 20:40:03 -0000 1.250
> +++ gdb/testsuite/lib/gdb.exp 23 Oct 2013 20:34:49 -0000
> @@ -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*-*-*"] || [istarget "x86_64-*-linux*"]

It should be arm*-*-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*-*-*"] || [istarget "x86_64-*-linux*"]
> +         || [istarget "i\[34567\]86-*-linux*"] } {
>    return 1
>       }

... and here.

-- 
Yao (齐尧)

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/2] GDB process record and reverse debugging improvements for arm*-linux*
  2013-10-24  0:09 [PATCH 0/2] GDB process record and reverse debugging improvements for arm*-linux* Omair Javaid
  2013-10-24  1:42 ` Yao Qi
@ 2013-10-24  1:44 ` Yao Qi
  2013-11-08  3:20   ` Omair Javaid
  1 sibling, 1 reply; 12+ messages in thread
From: Yao Qi @ 2013-10-24  1:44 UTC (permalink / raw)
  To: Omair Javaid; +Cc: gdb-patches, Patch Tracking

On 10/24/2013 08:09 AM, Omair Javaid wrote:
> --- gdb/NEWS 11 Oct 2013 13:51:26 -0000 1.622
> +++ gdb/NEWS 23 Oct 2013 20:34:42 -0000
> @@ -3,6 +3,12 @@
>
>   *** Changes since GDB 7.6
>
> +* Improved support of process record-replay and reverse debugging on
> +  arm*-linux* targets.
> +
> +Support for thumb32 instructions and syscall recording has been added.

This change is user visible...

> +gdb/testsuite/gdb.reverse is now enabled for arm*-linux* targets.
> +

while this is not.  This line is not necessary in NEWS.

-- 
Yao (齐尧)

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/2] GDB process record and reverse debugging improvements for arm*-linux*
  2013-10-24  1:44 ` Yao Qi
@ 2013-11-08  3:20   ` Omair Javaid
  2013-11-08  8:04     ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Omair Javaid @ 2013-11-08  3:20 UTC (permalink / raw)
  To: Yao Qi; +Cc: gdb-patches, Patch Tracking

On Thu 24 Oct 2013 06:42:50 AM PKT, Yao Qi wrote:
> On 10/24/2013 08:09 AM, Omair Javaid wrote:
>> --- gdb/NEWS 11 Oct 2013 13:51:26 -0000 1.622
>> +++ gdb/NEWS 23 Oct 2013 20:34:42 -0000
>> @@ -3,6 +3,12 @@
>>
>>   *** Changes since GDB 7.6
>>
>> +* Improved support of process record-replay and reverse debugging on
>> +  arm*-linux* targets.
>> +
>> +Support for thumb32 instructions and syscall recording has been added.
>
> This change is user visible...
>
>> +gdb/testsuite/gdb.reverse is now enabled for arm*-linux* targets.
>> +
>
> while this is not.  This line is not necessary in NEWS.
>

Here is an updated patch.
== PATCH 0 ==

This patch adds a news entry about improved process record-replay on
arm*-linux* targets.
It also adds linux-record.o to gdb_target_obs in configure.tgt and
enables gdb.reverse testsuite for arm*-linux* targets.

gdb:

2013-11-08  Omair Javaid  <omair.javaid@linaro.org>

	* NEWS: Add note on improved process record-replay on arm*-linux*
	targets.
	* configure.tgt: Add linux-record.o to gdb_target_obs.

gdb/testsuite:

2013-10-24  Omair Javaid  <omair.javaid@linaro.org>

	* lib/gdb.exp: Enable gdb.reverse testsuite for arm*-linux* targets.

Index: gdb/NEWS
===================================================================
RCS file: /cvs/src/src/gdb/NEWS,v
retrieving revision 1.622
diff -u -p -r1.622 NEWS
--- gdb/NEWS	11 Oct 2013 13:51:26 -0000	1.622
+++ gdb/NEWS	7 Nov 2013 23:58:26 -0000
@@ -3,6 +3,10 @@

 *** Changes since GDB 7.6

+* Improved support of process record-replay and reverse debugging on
+  arm*-linux* targets. Support for thumb32 and syscall instructions
+  recording has been added.
+
 * GDB now supports Fission DWP file format version 2.
   http://gcc.gnu.org/wiki/DebugFission

Index: gdb/configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.281
diff -u -p -r1.281 configure.tgt
--- gdb/configure.tgt	1 Oct 2013 13:21:17 -0000	1.281
+++ gdb/configure.tgt	7 Nov 2013 23:58:29 -0000
@@ -89,7 +89,7 @@ arm*-wince-pe | arm*-*-mingw32ce*)
 arm*-*-linux*)
 	# Target: ARM based machine running GNU/Linux
 	gdb_target_obs="arm-tdep.o arm-linux-tdep.o glibc-tdep.o \
-			solib-svr4.o symfile-mem.o linux-tdep.o"
+			solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
 	build_gdbserver=yes
 	;;
 arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
Index: gdb/testsuite/lib/gdb.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/lib/gdb.exp,v
retrieving revision 1.250
diff -u -p -r1.250 gdb.exp
--- gdb/testsuite/lib/gdb.exp	18 Oct 2013 20:40:03 -0000	1.250
+++ gdb/testsuite/lib/gdb.exp	7 Nov 2013 23:58:32 -0000
@@ -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
     }

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/2] GDB process record and reverse debugging improvements for arm*-linux*
  2013-11-08  3:20   ` Omair Javaid
@ 2013-11-08  8:04     ` Eli Zaretskii
  2013-11-08  8:21       ` oza Pawandeep
  0 siblings, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2013-11-08  8:04 UTC (permalink / raw)
  To: Omair Javaid; +Cc: yao, gdb-patches, patches

> Date: Fri, 08 Nov 2013 08:18:35 +0500
> From: Omair Javaid <omair.javaid@linaro.org>
> CC: gdb-patches@sourceware.org, Patch Tracking <patches@linaro.org>
> 
> --- gdb/NEWS	11 Oct 2013 13:51:26 -0000	1.622
> +++ gdb/NEWS	7 Nov 2013 23:58:26 -0000
> @@ -3,6 +3,10 @@

This part is OK, but please make sure to have 2 spaces between
sentences

> +* Improved support of process record-replay and reverse debugging on
> +  arm*-linux* targets. Support for thumb32 and syscall instructions
                        ^^
here.

Thanks.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/2] GDB process record and reverse debugging improvements for arm*-linux*
  2013-11-08  8:04     ` Eli Zaretskii
@ 2013-11-08  8:21       ` oza Pawandeep
  2013-11-11  8:25         ` Omair Javaid
  0 siblings, 1 reply; 12+ messages in thread
From: oza Pawandeep @ 2013-11-08  8:21 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Omair Javaid, Yao Qi, gdb-patches, patches

Hi,

The previous support for arm instruction and thumb instruction for
record and reply was added by me.
but there some reverse test case failing...
I had issues with employer disclaimer, so could not proceed.
I have got the disclaimer now and is up-to date with FSF.

some of the queries to you regarding thumb2 support ?

1) did you bring in co processor and dsp instruction support for thumb2 ?

2) can you please run gdb-rever test suite and see if your code passes
the same ?


Regards,
Oza.


On Fri, Nov 8, 2013 at 12:55 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>
> > Date: Fri, 08 Nov 2013 08:18:35 +0500
> > From: Omair Javaid <omair.javaid@linaro.org>
> > CC: gdb-patches@sourceware.org, Patch Tracking <patches@linaro.org>
> >
> > --- gdb/NEWS  11 Oct 2013 13:51:26 -0000      1.622
> > +++ gdb/NEWS  7 Nov 2013 23:58:26 -0000
> > @@ -3,6 +3,10 @@
>
> This part is OK, but please make sure to have 2 spaces between
> sentences
>
> > +* Improved support of process record-replay and reverse debugging on
> > +  arm*-linux* targets. Support for thumb32 and syscall instructions
>                         ^^
> here.
>
> Thanks.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/2] GDB process record and reverse debugging improvements for arm*-linux*
  2013-11-08  8:21       ` oza Pawandeep
@ 2013-11-11  8:25         ` Omair Javaid
  2013-11-24 23:49           ` Omair Javaid
  0 siblings, 1 reply; 12+ messages in thread
From: Omair Javaid @ 2013-11-11  8:25 UTC (permalink / raw)
  To: oza Pawandeep; +Cc: Yao Qi, gdb-patches, patches, Eli Zaretskii

On Fri 08 Nov 2013 01:18:45 PM PKT, oza Pawandeep wrote:
> Hi,
>
> The previous support for arm instruction and thumb instruction for
> record and reply was added by me.
> but there some reverse test case failing...
> I had issues with employer disclaimer, so could not proceed.
> I have got the disclaimer now and is up-to date with FSF.
>
> some of the queries to you regarding thumb2 support ?
>
> 1) did you bring in co processor and dsp instruction support for thumb2 ?
>
> 2) can you please run gdb-rever test suite and see if your code passes
> the same ?
>
>
> Regards,
> Oza.
>
>
> On Fri, Nov 8, 2013 at 12:55 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>>
>>> Date: Fri, 08 Nov 2013 08:18:35 +0500
>>> From: Omair Javaid <omair.javaid@linaro.org>
>>> CC: gdb-patches@sourceware.org, Patch Tracking <patches@linaro.org>
>>>
>>> --- gdb/NEWS  11 Oct 2013 13:51:26 -0000      1.622
>>> +++ gdb/NEWS  7 Nov 2013 23:58:26 -0000
>>> @@ -3,6 +3,10 @@
>>
>> This part is OK, but please make sure to have 2 spaces between
>> sentences
>>
>>> +* Improved support of process record-replay and reverse debugging on
>>> +  arm*-linux* targets. Support for thumb32 and syscall instructions
>>                          ^^
>> here.
>>
>> Thanks.
>

Hello Oza,

I really appreciate your work on arm process record and I am trying to 
improve on the work you have done previously. I have sent 3 patches 
upstream which include basic support for Thumb32 instructions and 
system call instructions along with some fixes.

There were around 1500 failures in gdb.reverse on arm that have been 
significantly reduced. Here is a current status of gdb.reverse test 
suite on arm targets:

arm-native configuration:
# of expected passes		2253
# of unexpected failures	71

arm-remote configuration:
# of expected passes		2142
# of unexpected failures	122

I am currently working on patches to fix above unexpected failures and 
also working on supporting co-processor and other unsupported 
instruction types.

--
Omair.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/2] GDB process record and reverse debugging improvements for arm*-linux*
  2013-11-11  8:25         ` Omair Javaid
@ 2013-11-24 23:49           ` Omair Javaid
  2013-11-25  4:56             ` Eli Zaretskii
  2013-12-20 12:38             ` Pedro Alves
  0 siblings, 2 replies; 12+ messages in thread
From: Omair Javaid @ 2013-11-24 23:49 UTC (permalink / raw)
  To: oza Pawandeep; +Cc: Yao Qi, gdb-patches, patches, Eli Zaretskii

On Mon 11 Nov 2013 01:24:06 PM PKT, Omair Javaid wrote:
> On Fri 08 Nov 2013 01:18:45 PM PKT, oza Pawandeep wrote:
>> Hi,
>>
>> The previous support for arm instruction and thumb instruction for
>> record and reply was added by me.
>> but there some reverse test case failing...
>> I had issues with employer disclaimer, so could not proceed.
>> I have got the disclaimer now and is up-to date with FSF.
>>
>> some of the queries to you regarding thumb2 support ?
>>
>> 1) did you bring in co processor and dsp instruction support for thumb2 ?
>>
>> 2) can you please run gdb-rever test suite and see if your code passes
>> the same ?
>>
>>
>> Regards,
>> Oza.
>>
>>
>> On Fri, Nov 8, 2013 at 12:55 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>>>
>>>> Date: Fri, 08 Nov 2013 08:18:35 +0500
>>>> From: Omair Javaid <omair.javaid@linaro.org>
>>>> CC: gdb-patches@sourceware.org, Patch Tracking <patches@linaro.org>
>>>>
>>>> --- gdb/NEWS  11 Oct 2013 13:51:26 -0000      1.622
>>>> +++ gdb/NEWS  7 Nov 2013 23:58:26 -0000
>>>> @@ -3,6 +3,10 @@
>>>
>>> This part is OK, but please make sure to have 2 spaces between
>>> sentences
>>>
>>>> +* Improved support of process record-replay and reverse debugging on
>>>> +  arm*-linux* targets. Support for thumb32 and syscall instructions
>>>                          ^^
>>> here.
>>>
>>> Thanks.
>>
>
> Hello Oza,
>
> I really appreciate your work on arm process record and I am trying to 
> improve on the work you have done previously. I have sent 3 patches 
> upstream which include basic support for Thumb32 instructions and 
> system call instructions along with some fixes.
>
> There were around 1500 failures in gdb.reverse on arm that have been 
> significantly reduced. Here is a current status of gdb.reverse test 
> suite on arm targets:
>
> arm-native configuration:
> # of expected passes		2253
> # of unexpected failures	71
>
> arm-remote configuration:
> # of expected passes		2142
> # of unexpected failures	122
>
> I am currently working on patches to fix above unexpected failures and 
> also working on supporting co-processor and other unsupported 
> instruction types.
>
> --
> Omair.

After incorporating all suggestions I am posting a final version of all 
three patches posted earlier. Looking for a go ahead for commit.

== PATCH 0 ==

This patch adds a news entry about improved process record-replay on
arm*-linux* targets.
It also adds linux-record.o to gdb_target_obs in configure.tgt and
enables gdb.reverse testsuite for arm*-linux* targets.

gdb:

2013-11-08  Omair Javaid  <omair.javaid@linaro.org>

	* NEWS: Add note on improved process record-replay on arm*-linux*
	targets.
	* configure.tgt: Add linux-record.o to gdb_target_obs.

gdb/testsuite:

2013-10-24  Omair Javaid  <omair.javaid@linaro.org>

	* lib/gdb.exp: Enable gdb.reverse testsuite for arm*-linux* targets.


---
 gdb/NEWS                  |    4 ++++
 gdb/configure.tgt         |    2 +-
 gdb/testsuite/lib/gdb.exp |    6 ++++--
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/gdb/NEWS b/gdb/NEWS
index 10834df..bcf3e09 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,10 @@
 
 *** Changes since GDB 7.6
 
+* Improved support of process record-replay and reverse debugging on
+  arm*-linux* targets.  Support for thumb32 and syscall instructions
+  recording has been added.
+
 * GDB now supports Fission DWP file format version 2.
   http://gcc.gnu.org/wiki/DebugFission
 
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index ea0faf1..5410f72 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -89,7 +89,7 @@ arm*-wince-pe | arm*-*-mingw32ce*)
 arm*-*-linux*)
 	# Target: ARM based machine running GNU/Linux
 	gdb_target_obs="arm-tdep.o arm-linux-tdep.o glibc-tdep.o \
-			solib-svr4.o symfile-mem.o linux-tdep.o"
+			solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
 	build_gdbserver=yes
 	;;
 arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
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
     }
 
-- 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/2] GDB process record and reverse debugging improvements for arm*-linux*
  2013-11-24 23:49           ` Omair Javaid
@ 2013-11-25  4:56             ` Eli Zaretskii
  2013-12-17 10:22               ` Omair Javaid
  2013-12-20 12:38             ` Pedro Alves
  1 sibling, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2013-11-25  4:56 UTC (permalink / raw)
  To: Omair Javaid; +Cc: oza.pawandeep, yao, gdb-patches, patches

> Date: Mon, 25 Nov 2013 04:48:40 +0500
> From: Omair Javaid <omair.javaid@linaro.org>
> CC: Yao Qi <yao@codesourcery.com>, 
>  "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
>  patches <patches@linaro.org>, Eli Zaretskii <eliz@gnu.org>
> 
> This patch adds a news entry about improved process record-replay on
> arm*-linux* targets.
> It also adds linux-record.o to gdb_target_obs in configure.tgt and
> enables gdb.reverse testsuite for arm*-linux* targets.
> 
> gdb:
> 
> 2013-11-08  Omair Javaid  <omair.javaid@linaro.org>
> 
> 	* NEWS: Add note on improved process record-replay on arm*-linux*
> 	targets.

The NEWS part is OK.

Thanks.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/2] GDB process record and reverse debugging improvements for arm*-linux*
  2013-11-25  4:56             ` Eli Zaretskii
@ 2013-12-17 10:22               ` Omair Javaid
  0 siblings, 0 replies; 12+ messages in thread
From: Omair Javaid @ 2013-12-17 10:22 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: oza.pawandeep, yao, gdb-patches, patches


On Mon 25 Nov 2013 08:40:14 AM PKT, Eli Zaretskii wrote:
>> Date: Mon, 25 Nov 2013 04:48:40 +0500
>> From: Omair Javaid <omair.javaid@linaro.org>
>> CC: Yao Qi <yao@codesourcery.com>,
>>  "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
>>  patches <patches@linaro.org>, Eli Zaretskii <eliz@gnu.org>
>>
>> This patch adds a news entry about improved process record-replay on
>> arm*-linux* targets.
>> It also adds linux-record.o to gdb_target_obs in configure.tgt and
>> enables gdb.reverse testsuite for arm*-linux* targets.
>>
>> gdb:
>>
>> 2013-11-08  Omair Javaid  <omair.javaid@linaro.org>
>>
>> 	* NEWS: Add note on improved process record-replay on arm*-linux*
>> 	targets.
>
> The NEWS part is OK.
>
> Thanks.
>

Ping! Looking for maintainer's approval for arm process record/replay 
improvement patches.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/2] GDB process record and reverse debugging improvements for arm*-linux*
  2013-11-24 23:49           ` Omair Javaid
  2013-11-25  4:56             ` Eli Zaretskii
@ 2013-12-20 12:38             ` Pedro Alves
  2014-01-03 19:20               ` Omair Javaid
  1 sibling, 1 reply; 12+ messages in thread
From: Pedro Alves @ 2013-12-20 12:38 UTC (permalink / raw)
  To: Omair Javaid; +Cc: oza Pawandeep, Yao Qi, gdb-patches, patches, Eli Zaretskii

On 11/24/2013 11:48 PM, Omair Javaid wrote:

> After incorporating all suggestions I am posting a final version of all 
> three patches posted earlier. Looking for a go ahead for commit.

All three emails in the series have the same subject apart from
the numbers, which make it confusing.  It'd be good if you made
sure the subjects were actually different, and more specific,
in the git commit log.

Hmm, I'm also surprised to now find that this "0/2" email
actually contains a patch.  That makes it actually 3 patches
in the series.  This is not the standard de facto way to
send a series.  The best way is for 0 to be the series intro,
with no patch, and then have the patches be replies to the
intro mail.  (I'd suggest addressing the comments I just
sent to patches #1 and #2, and resend the whole series with
git send-mail, which does that for you automatically.)

> 
> == PATCH 0 ==
> 
> This patch adds a news entry about improved process record-replay on
> arm*-linux* targets.
> It also adds linux-record.o to gdb_target_obs in configure.tgt and
> enables gdb.reverse testsuite for arm*-linux* targets.

These could be two separate patches, with NEWS actually being the
last patch in the whole series.

> gdb/testsuite:
> 
> 2013-10-24  Omair Javaid  <omair.javaid@linaro.org>
> 
> 	* lib/gdb.exp: Enable gdb.reverse testsuite for arm*-linux* targets.

Write:

 	* lib/gdb.exp (supports_process_record): Return true for arm*-linux*.

Otherwise looks good.

-- 
Pedro Alves

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/2] GDB process record and reverse debugging improvements for arm*-linux*
  2013-12-20 12:38             ` Pedro Alves
@ 2014-01-03 19:20               ` Omair Javaid
  0 siblings, 0 replies; 12+ messages in thread
From: Omair Javaid @ 2014-01-03 19:20 UTC (permalink / raw)
  To: Pedro Alves; +Cc: oza Pawandeep, Yao Qi, gdb-patches, patches, Eli Zaretskii

On 20 December 2013 17:38, Pedro Alves <palves@redhat.com> wrote:
> On 11/24/2013 11:48 PM, Omair Javaid wrote:
>
>> After incorporating all suggestions I am posting a final version of all
>> three patches posted earlier. Looking for a go ahead for commit.
>
> All three emails in the series have the same subject apart from
> the numbers, which make it confusing.  It'd be good if you made
> sure the subjects were actually different, and more specific,
> in the git commit log.
>
> Hmm, I'm also surprised to now find that this "0/2" email
> actually contains a patch.  That makes it actually 3 patches
> in the series.  This is not the standard de facto way to
> send a series.  The best way is for 0 to be the series intro,
> with no patch, and then have the patches be replies to the
> intro mail.  (I'd suggest addressing the comments I just
> sent to patches #1 and #2, and resend the whole series with
> git send-mail, which does that for you automatically.)
>
>>
>> == PATCH 0 ==
>>
>> This patch adds a news entry about improved process record-replay on
>> arm*-linux* targets.
>> It also adds linux-record.o to gdb_target_obs in configure.tgt and
>> enables gdb.reverse testsuite for arm*-linux* targets.
>
> These could be two separate patches, with NEWS actually being the
> last patch in the whole series.
>
>> gdb/testsuite:
>>
>> 2013-10-24  Omair Javaid  <omair.javaid@linaro.org>
>>
>>       * lib/gdb.exp: Enable gdb.reverse testsuite for arm*-linux* targets.
>
> Write:
>
>         * lib/gdb.exp (supports_process_record): Return true for arm*-linux*.
>
> Otherwise looks good.
>
> --
> Pedro Alves
>

Suggestions to all previous patches have been incorporated and a patch
series has been sent using git send-email here:

https://sourceware.org/ml/gdb-patches/2014-01/msg00011.html

Kindly suggest if they are good enough to be committed.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-01-03 19:20 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-24  0:09 [PATCH 0/2] GDB process record and reverse debugging improvements for arm*-linux* Omair Javaid
2013-10-24  1:42 ` Yao Qi
2013-10-24  1:44 ` Yao Qi
2013-11-08  3:20   ` Omair Javaid
2013-11-08  8:04     ` Eli Zaretskii
2013-11-08  8:21       ` oza Pawandeep
2013-11-11  8:25         ` Omair Javaid
2013-11-24 23:49           ` Omair Javaid
2013-11-25  4:56             ` Eli Zaretskii
2013-12-17 10:22               ` Omair Javaid
2013-12-20 12:38             ` Pedro Alves
2014-01-03 19:20               ` Omair Javaid

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).