From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17021 invoked by alias); 3 Nov 2003 06:24:05 -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 17014 invoked from network); 3 Nov 2003 06:24:04 -0000 Received: from unknown (HELO web60108.mail.yahoo.com) (216.109.118.87) by sources.redhat.com with SMTP; 3 Nov 2003 06:24:04 -0000 Message-ID: <20031103062404.94431.qmail@web60108.mail.yahoo.com> Received: from [203.199.140.162] by web60108.mail.yahoo.com via HTTP; Sun, 02 Nov 2003 22:24:04 PST Date: Mon, 03 Nov 2003 06:24:00 -0000 From: ankit thukral Subject: regarding tracepoint support on a stub To: gdb@sources.redhat.com In-Reply-To: <77ED2BF75D59D1439F90412CC5B109740373EAEF@ie10-sahara.hiso.honeywell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-11/txt/msg00007.txt.bz2 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/