From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19095 invoked by alias); 3 Nov 2003 19:01: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 19088 invoked from network); 3 Nov 2003 19:01:25 -0000 Received: from unknown (HELO mailgw3a.lmco.com) (192.35.35.7) by sources.redhat.com with SMTP; 3 Nov 2003 19:01:25 -0000 Received: from emss04g01.ems.lmco.com ([166.17.13.122]) by mailgw3a.lmco.com (8.11.6p2/8.11.6) with ESMTP id hA3J1O328687; Mon, 3 Nov 2003 14:01:24 -0500 (EST) Received: from CONVERSION-DAEMON.lmco.com by lmco.com (PMDF V6.1-1X6 #30760) id <0HNS00201I6CZ9@lmco.com>; Mon, 03 Nov 2003 14:01:24 -0500 (EST) Received: from EMSS04I00.us.lmco.com ([166.17.13.135]) by lmco.com (PMDF V6.1-1X6 #30760) with ESMTP id <0HNS00L8ZI6CZW@lmco.com>; Mon, 03 Nov 2003 14:01:24 -0500 (EST) Received: from EMSS04M11.us.lmco.com ([144.219.10.27]) by EMSS04I00.us.lmco.com with Microsoft SMTPSVC(5.0.2195.2966); Mon, 03 Nov 2003 14:01:24 -0500 Date: Mon, 03 Nov 2003 19:01:00 -0000 From: "Newman, Mark (N-Superior Technical Resource Inc)" Subject: RE: regarding tracepoint support on a stub To: ankit thukral , gdb@sources.redhat.com Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6487.1 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 03 Nov 2003 19:01:24.0542 (UTC) FILETIME=[E08A8DE0:01C3A23C] X-SW-Source: 2003-11/txt/msg00011.txt.bz2 Would it be desireable to drop ptrace all together and start looking at using /proc in gdbserver? 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/ >