From: "Newman, Mark (N-Superior Technical Resource Inc)" <mark.newman@lmco.com>
To: ankit thukral <ankit_plug@yahoo.com>, gdb@sources.redhat.com
Subject: RE: regarding tracepoint support on a stub
Date: Mon, 03 Nov 2003 19:01:00 -0000 [thread overview]
Message-ID: <F56FBA314E8E5A41895F0DA8F6716A6D02A1DA@EMSS04M11.us.lmco.com> (raw)
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/
>
next reply other threads:[~2003-11-03 19:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-03 19:01 Newman, Mark (N-Superior Technical Resource Inc) [this message]
2003-11-03 19:21 ` Daniel Jacobowitz
-- strict thread matches above, loose matches on Subject: below --
2003-10-31 8:03 GDB Remote Debugging Problem Kiran Chandrashekaran, Nair (IE10)
2003-11-03 6:24 ` regarding tracepoint support on a stub ankit thukral
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F56FBA314E8E5A41895F0DA8F6716A6D02A1DA@EMSS04M11.us.lmco.com \
--to=mark.newman@lmco.com \
--cc=ankit_plug@yahoo.com \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox