From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14230 invoked by alias); 31 May 2006 09:38:17 -0000 Received: (qmail 14212 invoked by uid 22791); 31 May 2006 09:38:17 -0000 X-Spam-Check-By: sourceware.org Received: from cse-mail.unl.edu (HELO cse-mail.unl.edu) (129.93.165.11) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 31 May 2006 09:38:15 +0000 Received: from [192.168.1.102] ([222.38.60.54]) (authenticated bits=0) by cse-mail.unl.edu (8.13.6/8.13.5) with ESMTP id k4V9boAg007859 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 31 May 2006 04:38:11 -0500 (CDT) Message-ID: <447D63E6.8090301@cse.unl.edu> Date: Wed, 31 May 2006 12:49:00 -0000 From: Neo Jia User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: Different memory address Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (cse-mail.unl.edu [129.93.165.11]); Wed, 31 May 2006 04:38:13 -0500 (CDT) X-Virus-Status: Clean X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00409.txt.bz2 hi, I have used gdb to debug my program before, because each run of my program use the same memory address, which is good for debugging. But this time, the address is changing each time. I cannot use the memory address obtained from the log file to "watch" during debugging mode. My current system is FC4 and gdb 6.3. GCC is 3.4.4. Is there anything wrong with my compilation? Thanks, Neo -- I would remember that if researchers were not ambitions probably today we haven't the technology we are using!