From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4387 invoked by alias); 31 May 2006 13:25:52 -0000 Received: (qmail 4359 invoked by uid 22791); 31 May 2006 13:25:51 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Wed, 31 May 2006 13:25:42 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FlQhf-0003fv-Ma; Wed, 31 May 2006 09:25:39 -0400 Date: Wed, 31 May 2006 20:55:00 -0000 From: Daniel Jacobowitz To: Neo Jia Cc: gdb@sources.redhat.com Subject: Re: Different memory address Message-ID: <20060531132538.GA14095@nevyn.them.org> Mail-Followup-To: Neo Jia , gdb@sources.redhat.com References: <447D63E6.8090301@cse.unl.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <447D63E6.8090301@cse.unl.edu> User-Agent: Mutt/1.5.11+cvs20060403 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/msg00412.txt.bz2 On Wed, May 31, 2006 at 05:37:42PM +0800, Neo Jia wrote: > 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. Search for information on exec-shield and address space randomization; it has nothing to do with GDB. -- Daniel Jacobowitz CodeSourcery