From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21304 invoked by alias); 30 Sep 2011 16:15:50 -0000 Received: (qmail 21284 invoked by uid 22791); 30 Sep 2011 16:15:37 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 30 Sep 2011 16:15:11 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=EU1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1R9fjx-0005kF-VS from pedro_alves@mentor.com ; Fri, 30 Sep 2011 09:15:10 -0700 Received: from scottsdale.localnet ([172.16.63.104]) by EU1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 30 Sep 2011 17:15:08 +0100 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [rfc, gdbserver] Disable address space randomization Date: Fri, 30 Sep 2011 19:32:00 -0000 User-Agent: KMail/1.13.6 (Linux/2.6.38-11-generic; KDE/4.7.1; x86_64; ; ) Cc: "Ulrich Weigand" , Jan Kratochvil , patches@linaro.org References: <201109301317.p8UDH8s5023472@d06av02.portsmouth.uk.ibm.com> In-Reply-To: <201109301317.p8UDH8s5023472@d06av02.portsmouth.uk.ibm.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201109301715.06928.pedro@codesourcery.com> 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-09/txt/msg00575.txt.bz2 On Friday 30 September 2011 14:17:08, Ulrich Weigand wrote: > As to the remote command for extended mode, I'm not completely sure what > the best way to trigger that from within GDB should be. Should we promote > "set disable-randomization" from being a Linux-specific command to the > generic level, and have its value passed to the target by remote.c? Yes. This came up recently for (native) Darwin/OSX too. That target now always disables ASR, and it'd be good to give the user the option to re-enable it. > Or else a new QDisableRandomization packet that affects all subsequent > vRun commands? I think that's the best. It's kind of similar to "set disconnected-tracing" and "set circular-trace-buffer". -- Pedro Alves