[patch 0/2] Fixes to gdb.base/dump.exp

Yao Qi
2011-06-21T10:42:33Z

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 (é½å°§)