From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29689 invoked by alias); 3 Nov 2003 19:21:38 -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 29682 invoked from network); 3 Nov 2003 19:21:37 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 3 Nov 2003 19:21:37 -0000 Received: from drow by nevyn.them.org with local (Exim 4.24 #1 (Debian)) id 1AGkGd-0000Zg-8Z; Mon, 03 Nov 2003 14:21:35 -0500 Date: Mon, 03 Nov 2003 19:21:00 -0000 From: Daniel Jacobowitz To: "Newman, Mark (N-Superior Technical Resource Inc)" Cc: ankit thukral , gdb@sources.redhat.com Subject: Re: regarding tracepoint support on a stub Message-ID: <20031103192135.GA2188@nevyn.them.org> Mail-Followup-To: "Newman, Mark (N-Superior Technical Resource Inc)" , ankit thukral , gdb@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2003-11/txt/msg00013.txt.bz2 On Mon, Nov 03, 2003 at 02:01:23PM -0500, Newman, Mark (N-Superior Technical Resource Inc) wrote: > Would it be desireable to drop ptrace all together and start looking at > using /proc in gdbserver? /proc in Linux can not serve as a replacement for ptrace. The functionality is not there. > > The man pages (both Sun's and GNU's) refer to ptrace as "unique and > arcane". > > Mark Newman > > > > -----Original Message----- > > From: gdb-owner@sources.redhat.com > > [mailto:gdb-owner@sources.redhat.com]On Behalf Of ankit thukral > > Sent: Monday, November 03, 2003 1:24 AM > > To: gdb@sources.redhat.com > > Subject: regarding tracepoint support on a stub > > > > > > hi all, > > i was going through the GDB support for > > tracepoints and the packets it sends to the stub.i > > thought of collecting the registers on the gdbserver > > side using a single ptrace to collect all the > > registers and then store the ones requested instead of > > a ptrace for each register. the problem i now face is > > : there are 3 different ptrace requests for collecting > > registers,viz,PTRACE_GETREGS, PTRACE_GETFPREGS and > > PTRACE_GETFPAREGS.how do i determine (on the stub > > side) which of these to call as i don't have anything > > on the GDBSERVER side (or so i guess) which would > > categorize a register to an integer or a float > > register. > > also,please suggest if there is a better way in > > which i can accomplish the above(i.e.,implementation > > of collecting registers in a better way). > > > > thanks in advance, > > ankit. > > > > __________________________________ > > Do you Yahoo!? > > Exclusive Video Premiere - Britney Spears > > http://launch.yahoo.com/promos/britneyspears/ > > > -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer