diff options
author | Markus Metzger <mmetzger@sourceware.org> | 2013-03-11 08:24:07 +0000 |
---|---|---|
committer | Markus Metzger <mmetzger@sourceware.org> | 2013-03-11 08:24:07 +0000 |
commit | 7c97f91ebf5a08c0163d6b097373acc91a986a29 (patch) | |
tree | 943d61367de8dcc7527f238ba9b16e97e8f724cf /gdb/Makefile.in | |
parent | 1999790bb6da9c8ea9b614153aacfc4b2fb905f0 (diff) | |
download | gdb-7c97f91ebf5a08c0163d6b097373acc91a986a29.zip gdb-7c97f91ebf5a08c0163d6b097373acc91a986a29.tar.gz gdb-7c97f91ebf5a08c0163d6b097373acc91a986a29.tar.bz2 |
Implement branch tracing on Linux based on perf_event such that it can be shared
between gdb and gdbserver.
gdb/
* common/linux_btrace.h: New file.
* common/linux_btrace.c: New file.
* Makefile.in (SFILES): Add btrace.c.
(HFILES_NO_SRCDIR): Add common/linux-btrace.h.
(COMMON_OBS): Add btrace.o.
(linux-btrace.o): New rule.
gdbserver/
* Makefile.in (SFILES): Add $(srcdir)/common/linux-btrace.c.
(linux_btrace_h): New variable.
(linux-btrace.o): New rule.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 1cf8134..de48caa 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -835,7 +835,7 @@ gnulib/import/stddef.in.h gnulib/import/inttypes.in.h inline-frame.h skip.h \ common/common-utils.h common/xml-utils.h common/buffer.h common/ptid.h \ common/format.h common/host-defs.h utils.h common/queue.h \ common/linux-osdata.h gdb-dlfcn.h auto-load.h probe.h stap-probe.h \ -gdb_bfd.h sparc-ravenscar-thread.h ppc-ravenscar-thread.h +gdb_bfd.h sparc-ravenscar-thread.h ppc-ravenscar-thread.h common/linux-btrace.h # Header files that already have srcdir in them, or which are in objdir. @@ -1965,6 +1965,10 @@ vec.o: ${srcdir}/common/vec.c $(COMPILE) $(srcdir)/common/vec.c $(POSTCOMPILE) +linux-btrace.o: ${srcdir}/common/linux-btrace.c + $(COMPILE) $(srcdir)/common/linux-btrace.c + $(POSTCOMPILE) + # # gdb/tui/ dependencies # |