From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20741 invoked by alias); 1 Nov 2004 15:18:40 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 20718 invoked from network); 1 Nov 2004 15:18:35 -0000 Received: from unknown (HELO lakermmtao05.cox.net) (68.230.240.34) by sourceware.org with SMTP; 1 Nov 2004 15:18:35 -0000 Received: from white ([68.9.64.121]) by lakermmtao05.cox.net (InterMail vM.6.01.03.04 201-2131-111-106-20040729) with ESMTP id <20041101151833.HXOG16492.lakermmtao05.cox.net@white> for ; Mon, 1 Nov 2004 10:18:33 -0500 Received: from bob by white with local (Exim 3.35 #1 (Debian)) id 1COdx4-0000fg-00 for ; Mon, 01 Nov 2004 10:18:34 -0500 Date: Mon, 01 Nov 2004 15:18:00 -0000 From: Bob Rossi To: GDB Subject: changing stack and instruction pointer Message-ID: <20041101151834.GA2460@white> Mail-Followup-To: GDB Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i X-SW-Source: 2004-11/txt/msg00004.txt.bz2 Hi, If a program modifies the stack and instruction pointer ( like valgrind does ), is it possible to debug this program? For some reason, after valgrind sets these registers, GDB doesn't seem to understand anything about the program. Is it possible to debug a program like this? Thanks, Bob Rossi