From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30787 invoked by alias); 15 Jun 2007 14:37:44 -0000 Received: (qmail 30719 invoked by uid 22791); 15 Jun 2007 14:37:43 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (213.8.233.24) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 15 Jun 2007 14:37:41 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-228-243-94.inter.net.il [84.228.243.94]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id ICB99656 (AUTH halo1); Fri, 15 Jun 2007 17:37:36 +0300 (IDT) Date: Fri, 15 Jun 2007 14:37:00 -0000 Message-Id: From: Eli Zaretskii To: Indira CC: dave.korn@artimi.com, gdb@sourceware.org In-reply-to: <656b5870706150555k47cf81c6w393d14502018b80b@mail.gmail.com> (message from Indira on Fri, 15 Jun 2007 18:25:53 +0530) Subject: Re: Setting registers Reply-to: Eli Zaretskii References: <656b5870706130328v7121cdcdt18c4b59baebc0865@mail.gmail.com> <018d01c7adc0$f10ff770$2e08a8c0@CAM.ARTIMI.COM> <656b5870706150555k47cf81c6w393d14502018b80b@mail.gmail.com> 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/msg00124.txt.bz2 > Date: Fri, 15 Jun 2007 18:25:53 +0530 > From: Indira > Cc: gdb@sourceware.org > > Yes I am debuggin a core file. We cant set registers while debuggin a core file? No, you can't. The program is dead, all you have is the last snapshot of its memory. Even if you could set registers (and other variables), it would be of no practical use, since you cannot run the program. All you can do is examine its memory and call stack.