From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10123 invoked by alias); 7 Dec 2005 01:18:07 -0000 Received: (qmail 10058 invoked by uid 22791); 7 Dec 2005 01:18:07 -0000 X-Spam-Check-By: sourceware.org Received: from bay105-f23.bay105.hotmail.com (HELO hotmail.com) (65.54.224.33) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 07 Dec 2005 01:18:06 +0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 6 Dec 2005 17:18:04 -0800 Message-ID: Received: from 65.54.224.200 by by105fd.bay105.hotmail.msn.com with HTTP; Wed, 07 Dec 2005 01:18:04 GMT X-Sender: ikiwibebe@hotmail.com From: "Sp3cial K" To: gdb@sources.redhat.com Bcc: Subject: gdb cannot set registers in frames Date: Wed, 07 Dec 2005 01:18:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed 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: 2005-12/txt/msg00068.txt.bz2 Hi, I've encountered this strangeness a couple of times, so this should be easily reproduced. If not, I'll post a test sample. The gdb version is 5.3... 1. switch to a frame other than the inner-most frame (f 1, f 2, f 3, etc... just not f 0) 2. print register 3. set registers (particularly ebp and eip) to some other value 4. print register, what shows here is the value from step 2 (the set command from step 3 did not change the register) However, if you switch to the inner-most frame (f 0), then setting the register will change the register value. Please help! ~k