[patch 2/2] Fixes to gdb.base/dump.exp: Combine dump and restore in a single session

Yao Qi yao@codesourcery.com
Tue Jun 21 11:05:00 GMT 2011


On 06/21/2011 06:42 PM, Yao Qi wrote:
> 
>   - 1 Start gdb, and run to checkpoint1.  Dump memory into files of
> different formats.
>   - 3 Start gdb, and restore these dump files.  Compare results in dump
> files are the same them in memory.
> 

In short, this patch is to combine session 1 and session 3 into one
single session, so that symbol address is unchanged.  In this new
session, firstly, we dump memory contents to different formats of files,
clear content in struct and array, and then, restore memory contents
from dumped files one by one, and compare the results.

-- 
Yao (齐尧)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0016-fix-test_restore_saved_value.patch
Type: text/x-patch
Size: 7688 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20110621/9f6026c5/attachment.bin>


More information about the Gdb-patches mailing list