This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GDB record patch 0.1.4 for GDB-6.8 release


GDB record patch make GDB support Reversible Debugging.
It make GDB disassemble the instruction that will be executed to get
which memory and register will be changed and record them to record
all program running message. Through these on the use of this
information to achieve the implementation of the GDB Reversible
Debugging function.
To get more message, you can go to http://sourceforge.net/projects/record/ .

The main change of the 0.1.4 is add a new functon "my_waitpid_record"
in file "linux-nat.c". When the record function is enable and the
parameter "step" of function "resume" is 0, the function
"linux_nat_wait" will call "my_waitpid_record" instead of
"my_waitpid". The "my_waitpid_record" will record the running message,
resume and wait inferior with itself. It will make GDB that record
function is enable speed up. My test result is the speed enhanced 3
times at least.
And I fixed some bugs that Thiago Jung Bauermann mail to me. Thanks
for his help. :)
I will add the features such as read only mode that we talk in
maillist in next version.

The first attachment is 0.1.4 diff with the GDB-6.8 record 0.1.3.1.
The second one is GDB record patch 0.1.4.

Attachment: gdb-6.8-record-0.1.4.diffwith.0.1.3.1.patch
Description: Binary data

Attachment: gdb-6.8-record-0.1.4.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]