From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 108376 invoked by alias); 30 Jul 2018 19:49:38 -0000 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 Received: (qmail 108191 invoked by uid 89); 30 Jul 2018 19:49:24 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=0.0 required=5.0 tests=TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy= X-HELO: smtp.polymtl.ca Received: from smtp.polymtl.ca (HELO smtp.polymtl.ca) (132.207.4.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 30 Jul 2018 19:49:09 +0000 Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id w6UJn2Rp009242 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 30 Jul 2018 15:49:07 -0400 Received: by simark.ca (Postfix, from userid 112) id 8C42D1EF29; Mon, 30 Jul 2018 15:49:02 -0400 (EDT) Received: from simark.ca (localhost [127.0.0.1]) by simark.ca (Postfix) with ESMTP id 8CA8B1E08D; Mon, 30 Jul 2018 15:49:01 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 30 Jul 2018 19:49:00 -0000 From: Simon Marchi To: Andrew Burgess Cc: Paul Koning , gdb-patches@sourceware.org Subject: Re: [PATCH] gdb: Disable address space randomization for a test In-Reply-To: <20180730190155.GF3155@embecosm.com> References: <20180730185045.15565-1-andrew.burgess@embecosm.com> <345CD091-8A49-4862-B3A0-4531ADFF7151@comcast.net> <20180730190155.GF3155@embecosm.com> Message-ID: X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.3.6 X-IsSubscribed: yes X-SW-Source: 2018-07/txt/msg00788.txt.bz2 On 2018-07-30 15:01, Andrew Burgess wrote: >> Does that turn off address randomization? The keyword implies the >> opposite (double negative, so "disable... off" means "turn on"). > > That's a very good question... now I just have to figure out why my > incorrect patch fixed the problem I was seeing.... watch this space... GDB usually disables address randomization by default, so I was also wondering why this would be needed. Do you have a scenario where GDB doesn't disable it by default? Simon