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

Yao Qi yao@codesourcery.com
Tue Jun 21 10:42:00 GMT 2011


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 (齐尧)



More information about the Gdb-patches mailing list