430e004ef7
The assembly code for emitting the proper tracepointable instruction was duplicated in many places. Keep it in one place, to reduce work needed for new targets. gdb/testsuite/ChangeLog: * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL macro. (func5): Removed. (func4): Use FAST_TRACEPOINT_LABEL. * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL macro. (func): Removed. (thread_function): Use FAST_TRACEPOINT_LABEL. * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro. (func): Remove. (marker): Use FAST_TRACEPOINT_LABEL. * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro. (pendfunc1): Remove. (pendfunc): Use FAST_TRACEPOINT_LABEL. * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro. (foo): Remove. (pendfunc2): Use FAST_TRACEPOINT_LABEL. * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL macro. (func): Remove. (marker): Use FAST_TRACEPOINT_LABEL. * gdb.trace/trace-common.h: New header. * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL macro. (func): Remove. (marker): Use FAST_TRACEPOINT_LABEL. * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro. (func): Remove. (thread_function): Use FAST_TRACEPOINT_LABEL. |
||
---|---|---|
.. | ||
actions-changed.c | ||
actions-changed.exp | ||
actions.c | ||
actions.exp | ||
ax.exp | ||
backtrace.exp | ||
change-loc-1.c | ||
change-loc-2.c | ||
change-loc.c | ||
change-loc.exp | ||
change-loc.h | ||
circ.c | ||
circ.exp | ||
collection.c | ||
collection.exp | ||
deltrace.exp | ||
disconnected-tracing.c | ||
disconnected-tracing.exp | ||
entry-values.c | ||
entry-values.exp | ||
ftrace-lock.c | ||
ftrace-lock.exp | ||
ftrace.c | ||
ftrace.exp | ||
infotrace.exp | ||
Makefile.in | ||
mi-trace-frame-collected.exp | ||
mi-trace-unavailable.exp | ||
mi-traceframe-changed.exp | ||
mi-tracepoint-changed.exp | ||
mi-tsv-changed.exp | ||
no-attach-trace.c | ||
no-attach-trace.exp | ||
packetlen.exp | ||
passc-dyn.exp | ||
passcount.exp | ||
pending.c | ||
pending.exp | ||
pendshr1.c | ||
pendshr2.c | ||
pr16508.exp | ||
qtro.c | ||
qtro.exp | ||
range-stepping.c | ||
range-stepping.exp | ||
read-memory.c | ||
read-memory.exp | ||
report.exp | ||
save-trace.exp | ||
stap-trace.c | ||
stap-trace.exp | ||
status-stop.c | ||
status-stop.exp | ||
strace.c | ||
strace.exp | ||
tfile.c | ||
tfile.exp | ||
tfind.exp | ||
trace-break.c | ||
trace-break.exp | ||
trace-buffer-size.c | ||
trace-buffer-size.exp | ||
trace-common.h | ||
trace-condition.c | ||
trace-condition.exp | ||
trace-mt.c | ||
trace-mt.exp | ||
trace-unavailable.c | ||
tracecmd.exp | ||
tspeed.c | ||
tspeed.exp | ||
tstatus.exp | ||
tsv.exp | ||
unavailable-dwarf-piece.c | ||
unavailable-dwarf-piece.exp | ||
unavailable.cc | ||
unavailable.exp | ||
while-dyn.exp | ||
while-stepping.exp |