This is the mail archive of the
mailing list for the GDB project.
Tracepoints and not stopping the target
- From: Corey Minyard <minyard at acm dot org>
- To: gdb at sources dot redhat dot com
- Date: Tue, 11 Feb 2003 12:28:31 -0600
- Subject: Tracepoints and not stopping the target
-----BEGIN PGP SIGNED MESSAGE-----
I've been working on a debugging system that links into an application
and provides debugging services so you can connect a user interface, set
tracepoints, dump data, etc. It is designed to run in a live soft
real-time system with minimal impact to the application.
Now the time has come to hook a source-level debugger onto it. I have
designed it with GDB in mind, the tracepoint language is the bytecode
language used by GDB. gdb seems to have one big hangup with this,
though. It expects to be able to stop the application and won't read
the tracepoint data until the application is stopped. This is obviously
not an option for me. In the bytecode documentation it talks about this
being a future option, but it doesn't yet seem to be implemented.
Does anyone have an idea how hard this will be to add? Would it be
enough to pretend to stop the application but not really stop it? Has
anyone worked on this before?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----