From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6478 invoked by alias); 15 Jun 2007 14:48:47 -0000 Received: (qmail 6470 invoked by uid 22791); 15 Jun 2007 14:48:46 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 15 Jun 2007 14:48:43 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 5C5F0982F3; Fri, 15 Jun 2007 14:48:41 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 0249E982F1; Fri, 15 Jun 2007 14:48:40 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1HzD6d-0002qq-UN; Fri, 15 Jun 2007 10:48:55 -0400 Date: Fri, 15 Jun 2007 14:48:00 -0000 From: Daniel Jacobowitz To: Paul Koning Cc: eliz@gnu.org, yoursindu@gmail.com, dave.korn@artimi.com, gdb@sourceware.org Subject: Re: Setting registers Message-ID: <20070615144855.GA10941@caradoc.them.org> Mail-Followup-To: Paul Koning , eliz@gnu.org, yoursindu@gmail.com, dave.korn@artimi.com, gdb@sourceware.org References: <656b5870706130328v7121cdcdt18c4b59baebc0865@mail.gmail.com> <018d01c7adc0$f10ff770$2e08a8c0@CAM.ARTIMI.COM> <656b5870706150555k47cf81c6w393d14502018b80b@mail.gmail.com> <18034.42274.624904.560657@pkoning.equallogic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18034.42274.624904.560657@pkoning.equallogic.com> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-06/txt/msg00126.txt.bz2 On Fri, Jun 15, 2007 at 10:41:38AM -0400, Paul Koning wrote: > Sometimes it would be useful to be able to. If the stack is corrupt, > or the return address (for processor types that have such a thing) and > you can figure out the correct values, it would be very handy to be > able to tell gdb "here is the right value" and let it use that for > subsequent analysis. We do get requests for this so frequently that I'm tempted to allow modifiable registers... memory, though, would be hard. -- Daniel Jacobowitz CodeSourcery