From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14135 invoked by alias); 21 Jun 2011 10:42:33 -0000 Received: (qmail 14127 invoked by uid 22791); 21 Jun 2011 10:42:33 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 21 Jun 2011 10:42:20 +0000 Received: (qmail 16464 invoked from network); 21 Jun 2011 10:42:19 -0000 Received: from unknown (HELO ?192.168.0.101?) (yao@127.0.0.2) by mail.codesourcery.com with ESMTPA; 21 Jun 2011 10:42:19 -0000 Message-ID: <4E007587.2050304@codesourcery.com> Date: Tue, 21 Jun 2011 10:42:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: "gdb-patches@sourceware.org" Subject: [patch 0/2] Fixes to gdb.base/dump.exp Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-06/txt/msg00279.txt.bz2 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 (齐尧)