From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22758 invoked by alias); 20 Nov 2003 05:00:45 -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 22751 invoked from network); 20 Nov 2003 05:00:44 -0000 Received: from unknown (HELO web60110.mail.yahoo.com) (216.109.118.89) by sources.redhat.com with SMTP; 20 Nov 2003 05:00:44 -0000 Message-ID: <20031120050044.97408.qmail@web60110.mail.yahoo.com> Received: from [203.199.140.162] by web60110.mail.yahoo.com via HTTP; Wed, 19 Nov 2003 21:00:44 PST Date: Thu, 20 Nov 2003 05:00:00 -0000 From: ankit thukral Subject: RE: regarding transparent data ranges (in tracepoint support) To: "Newman, Mark \(N-Superior Technical Resource Inc\)" , Daniel Jacobowitz Cc: ankit thukral , Jim Blandy , gdb@sources.redhat.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-11/txt/msg00161.txt.bz2 --- "Newman, Mark (N-Superior Technical Resource Inc)" wrote: > Sorry about the tunnel vision. When the SUT exits > we loose all of the > tracepoint data in target memory. Stopping that from > happening is the > next thing on my list after I finish making > interrupt work. After the > program finishes it should not exit without an ok > from the engineer. > > So Ankit if that is what you are looking to do I > agree completely. > However can't gdbserver do something more like the > restart that occurs > with a "w" or "x" status after the putpkt in the > case statement in > server.c > > Mark > thanks for the solution Mark.restarting the debuggee would surely work,just that some overhead may be involved.but it sort of gives me a feeling of hacking around the solution since the debuggee would be run twice,2'nd time just for the transparent data ranges. thanks for the solution anyway. any comments on PTRACE_EVENT_EXIT ?? Ankit. __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/