Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: "Sarnath K - CTD, Chennai." <k_sarnath@ctd.hcltech.com>
Cc: Pierre Muller <muller@cerbere.u-strasbg.fr>, gdb@sources.redhat.com
Subject: Re: "tracepoints", "follow-fork-mode", "watch - remote"
Date: Fri, 25 Jan 2002 10:21:00 -0000	[thread overview]
Message-ID: <20020125132041.A22886@nevyn.them.org> (raw)
In-Reply-To: <EF836A380096D511AD9000B0D021B52756BFC6@narmada.ctd.hcltech.com>

On Fri, Jan 25, 2002 at 04:18:23PM +0530, Sarnath K - CTD, Chennai. wrote:
> I tried setting "tracepoints" and dumping snapshots.
> But unfortunately I am not able to do it. For the
> commands "tstart" and "tstop"  GDB says that
> "Trace can only be run on remote targets.". so I just
> "run" the program. The program executed and exited 

Only remote targets, remember?

> So, Can't I trace on a standalone system.
> If I use "gdbserver" as on the target side,
> GDB says that "target doesnt support command".
> So whats the solution ? Cant "tracepoints" be
> used ?

You need a stub supporting tracepoints.  At the moment I do not know of
any.

> 2. hardware brkpoints, hardware "watch"es are
>    not supported in the GDBSERVER. Is this true ?
>    or Is there any configutation option for this, which 
>    I am missing ?
>    (PIII machine)

That is true.  I could add them, but I need to finish the rest of my
gdbserver infrastructure work (currently on hold) first.

> 3. "set follow-fork-mode" always works as if it's value
>    is "parent". I am not able to debug "child" or enable
>    GDB "ask" for the choice. Is this configuraion, not
>    supported on x86 machines or Am I missing something.

It is not supported on Linux.  This is a documentation failure.  It
could be supported, but I haven't really wrapped my head around how to
do it yet.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2002-01-25 18:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-25  2:53 Sarnath K - CTD, Chennai.
2002-01-25 10:21 ` Daniel Jacobowitz [this message]
2002-01-25 11:34   ` Eli Zaretskii
2002-01-31 12:32 ` Michael Snyder

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=20020125132041.A22886@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    --cc=k_sarnath@ctd.hcltech.com \
    --cc=muller@cerbere.u-strasbg.fr \
    /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