Next: , Previous: Tracepoint Actions, Up: Set Tracepoints


13.1.7 Listing Tracepoints

info tracepoints [num...]
Display information about the tracepoint num. If you don't specify a tracepoint number, displays information about all the tracepoints defined so far. The format is similar to that used for info breakpoints; in fact, info tracepoints is the same command, simply restricting itself to tracepoints.

A tracepoint's listing may include additional information specific to tracing:

          (gdb) info trace
          Num     Type           Disp Enb Address    What
          1       tracepoint     keep y   0x0804ab57 in foo() at main.cxx:7
                  while-stepping 20
                    collect globfoo, $regs
                  end
                  collect globfoo2
                  end
                  pass count 1200
          (gdb)
     

This command can be abbreviated info tp.