mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-01 13:26:47 +08:00
Add functions to enable, disable, clear, and fetch a thread's branch trace. gdb/ * target.h: Include btrace.h. (struct target_ops) <to_supports_btrace, to_enable_btrace, to_disable_btrace, to_teardown_btrace, to_read_btrace>: New. * target.c (target_supports_btrace): New function. (target_enable_btrace): New function. (target_disable_btrace): New function. (target_teardown_btrace): New function. (target_read_btrace): New function. * btrace.h: New file. * btrace.c: New file. * Makefile.in: Add btrace.c. * gdbthread.h: Include btrace.h. (struct thread_info): Add btrace field. * thread.c: Include btrace.h. (clear_thread_inferior_resources): Call target_teardown_btrace. * common/btrace-common.h: New file. |
||
---|---|---|
.. | ||
agent.c | ||
agent.h | ||
ax.def | ||
btrace-common.h | ||
buffer.c | ||
buffer.h | ||
common-utils.c | ||
common-utils.h | ||
format.c | ||
format.h | ||
gdb_assert.h | ||
gdb_dirent.h | ||
gdb_locale.h | ||
gdb_signals.h | ||
gdb_stat.h | ||
gdb_string.h | ||
gdb_thread_db.h | ||
gdb_vecs.c | ||
gdb_vecs.h | ||
gdb_wait.h | ||
host-defs.h | ||
i386-xstate.h | ||
linux-osdata.c | ||
linux-osdata.h | ||
linux-procfs.c | ||
linux-procfs.h | ||
linux-ptrace.c | ||
linux-ptrace.h | ||
ptid.c | ||
ptid.h | ||
queue.h | ||
signals.c | ||
vec.c | ||
vec.h | ||
xml-utils.c | ||
xml-utils.h |