This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "tracepoints", "follow-fork-mode", "watch - remote"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]