From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10669 invoked by alias); 19 Nov 2003 07:40:25 -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 10661 invoked from network); 19 Nov 2003 07:40:24 -0000 Received: from unknown (HELO zenia.home) (12.223.225.216) by sources.redhat.com with SMTP; 19 Nov 2003 07:40:24 -0000 Received: by zenia.home (Postfix, from userid 5433) id DFD0420766; Wed, 19 Nov 2003 02:37:49 -0500 (EST) To: ankit thukral Cc: gdb@sources.redhat.com Subject: Re: regarding transparent data ranges (in tracepoint support) References: <20031116063202.86474.qmail@web60104.mail.yahoo.com> From: Jim Blandy Date: Wed, 19 Nov 2003 07:40:00 -0000 In-Reply-To: <20031116063202.86474.qmail@web60104.mail.yahoo.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-11/txt/msg00149.txt.bz2 ankit thukral writes: > hi all, > i read about the transparent data ranges and > learned that data in these ranges are not supposed to > be collected by the remote stub since they belong to > read-only segment of the debuggee.my problem is : a > TSTART would start the debuggee and it may so happen > that the debuggee finishes executing.at this point,if > the GDB requests for some data in the transparent data > range,then how can the remote stub provide it with one > since the debuggee has exited ? If the target is a gdbserver, then it would need to read the bytes from the executable file. This is easy to do with BFD, but if I remember right, gdbserver doesn't use BFD at the moment; not sure how to get around that. If the target is an embedded system, then presumably the transparent data ranges correspond to ROM regions, so the data is still there.