Register / Login
CFP
Paper Template

Schedule
Presentations
Tutorials
BoFs

Venue
Travel & Hotel
FAQ

Contact Us
Home

GDB Tracepoints, Redux

Stan Shebs (stanshebs@earthlink.net)

Tracepoints in the GNU Debugger (GDB) are an advanced feature that collects data from the program without stopping it, thus enabling GDB to help debug time-critical code. CodeSourcery has been developing GDB support for a high-performance telecom application. The application runs under Linux, but the usage model includes diagnosis of systems in the field, so we have built a debugging stub that links into the app and controls it from a dedicated thread. In addition to regular debugging (both all-stop and non-stop), this stub supports tracing.

On the GDB side, tracepoints are being made into a type of breakpoint, and the remote protocol dependency is being eliminated by moving tracing operations into GDB's target vector. In addition to reducing old idiosyncrasies, these changes enable new features that are also being added, such as conditional tracepoints, and reading of trace data from a file.

Sponsors





register | login | call for papers | venue | travel | faq | sponsors | contact | home

Copyright © 2009 Linux Symposium Inc. All rights reserved.
Linux is a registered trademark of Linus Torvalds.