This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch 0/2] Fixes to gdb.base/dump.exp
- From: Yao Qi <yao at codesourcery dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 21 Jun 2011 18:42:15 +0800
- Subject: [patch 0/2] Fixes to gdb.base/dump.exp
In current gdb.base/dump.exp, there are 3 gdb sessions started one by
one, and assuming that symbol addresses doesn't change among these 3 gdb
sessions. However, it is not true on non-MMU processor running uclinux.
In order to make it easier to review my two patches, I'd like to
describe what dump.exp does first. In dump.exp, gdb is started three times,
- 1 Start gdb, and run to checkpoint1. Dump memory into files of
different formats.
- 2 Start gdb, and reload these dump files. Compare results in dump
files are same as them in memory.
- 3 Start gdb, and restore these dump files. Compare results in dump
files are the same them in memory.
--
Yao (éå)