From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9141 invoked by alias); 8 Jun 2008 15:14:37 -0000 Received: (qmail 9130 invoked by uid 22791); 8 Jun 2008 15:14:37 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 08 Jun 2008 15:14:19 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3) with ESMTP id m58FDxfD031036; Sun, 8 Jun 2008 17:13:59 +0200 (CEST) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3/Submit) id m58FDwbn000386; Sun, 8 Jun 2008 17:13:58 +0200 (CEST) Date: Sun, 08 Jun 2008 15:14:00 -0000 Message-Id: <200806081513.m58FDwbn000386@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: jan.kratochvil@redhat.com CC: gdb-patches@sourceware.org In-reply-to: <20080607195343.GA10039@host0.dyn.jankratochvil.net> (message from Jan Kratochvil on Sat, 7 Jun 2008 21:53:43 +0200) Subject: Re: [patch] Disable child VMA randomizations References: <20080607195343.GA10039@host0.dyn.jankratochvil.net> 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: 2008-06/txt/msg00135.txt.bz2 > Date: Sat, 7 Jun 2008 21:53:43 +0200 > From: Jan Kratochvil > > Hi, > > the processes map their addresses randomly by default. It can make the > debugging inconvenient as varous addresses are different on each run. > > This feature was suggested by Jakub Jelinek. One can also already wrap whole > GDB by a script calling: setarch `uname -m` -R This really should be moved to a linux-nat.c.