From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14530 invoked by alias); 13 Jun 2007 10:28:04 -0000 Received: (qmail 14333 invoked by uid 22791); 13 Jun 2007 10:28:03 -0000 X-Spam-Check-By: sourceware.org Received: from wa-out-1112.google.com (HELO wa-out-1112.google.com) (209.85.146.179) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 13 Jun 2007 10:28:02 +0000 Received: by wa-out-1112.google.com with SMTP id l35so181991waf for ; Wed, 13 Jun 2007 03:28:00 -0700 (PDT) Received: by 10.114.137.2 with SMTP id k2mr472557wad.1181730480292; Wed, 13 Jun 2007 03:28:00 -0700 (PDT) Received: by 10.114.166.13 with HTTP; Wed, 13 Jun 2007 03:28:00 -0700 (PDT) Message-ID: <656b5870706130328v7121cdcdt18c4b59baebc0865@mail.gmail.com> Date: Wed, 13 Jun 2007 10:28:00 -0000 From: Indira To: gdb@sourceware.org Subject: Setting registers MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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/msg00107.txt.bz2 Hi, I was writing a macro in which i was trying to the variable ebp and eip as, set variable $ebp = *(int *)($sp+8) set variable $eip = *(int *)($sp+36) but, even though by doing this th eregister values dont get updated. Why is this so? Can anyone help me on this? Thanks in advance -- Indu :) Smile.... & Make others Smile :)