From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23578 invoked by alias); 1 Nov 2004 16:03:02 -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 23549 invoked from network); 1 Nov 2004 16:02:57 -0000 Received: from unknown (HELO demos.bsdclusters.com) (69.55.225.36) by sourceware.org with SMTP; 1 Nov 2004 16:02:57 -0000 Received: from demos.bsdclusters.com (demos [69.55.225.36]) by demos.bsdclusters.com (8.12.8p1/8.12.8) with ESMTP id iA1G2tn1085377; Mon, 1 Nov 2004 08:02:55 -0800 (PST) (envelope-from kmacy@eventdriven.org) Received: from localhost (kmacy@localhost) by demos.bsdclusters.com (8.12.8p1/8.12.8/Submit) with ESMTP id iA1G2teF085374; Mon, 1 Nov 2004 08:02:55 -0800 (PST) X-Authentication-Warning: demos.bsdclusters.com: kmacy owned process doing -bs Date: Mon, 01 Nov 2004 16:03:00 -0000 From: Kip Macy X-X-Sender: kmacy@demos.bsdclusters.com To: Bob Rossi cc: GDB Subject: Re: changing stack and instruction pointer In-Reply-To: <20041101151834.GA2460@white> Message-ID: <20041101080214.W37379@demos.bsdclusters.com> References: <20041101151834.GA2460@white> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004-11/txt/msg00005.txt.bz2 Any user-level threads package would do the same. There must be something more going on. -Kip On Mon, 1 Nov 2004, Bob Rossi wrote: > 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 >