This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: Breakpoint infrastructure cleanups [0/8]
> Date: Thu, 16 Oct 2003 16:24:18 -0700
> From: Michael Snyder <msnyder@redhat.com>
>
> The difference between breakpoints and watchpoints may be small,
> but the difference between breakpoints and tracepoints is large.
Can you elaborate? From the user's point of view, it seems like a
tracepoint is just a fancy variation of a breakpoint, one that
performs a set of operations and then continues the inferior.
> Other potential stop-points are signals (synch and asynch),
> throw and catch, syscalls, longjmp, synchronization, thread
> switch, blocking...
These are all traps we set at code and/or data to stop the executable,
right? So where's the big difference?