Your message dated Sun, 15 Jul 2018 10:34:12 +0000
with message-id <[email protected]>
and subject line Bug#872800: fixed in gdb 8.1-1
has caused the Debian Bug report #872800,
regarding Enable Intel PT recording format
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
872800: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872800
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gdb
Version: 7.12-6
Severity: wishlist
Tags: patch
Dear maintainer,
please enable the --with-intel-pt configuration option for gdb. This allows for
efficient Record-And-Play functionality in GDB [1]
Intel PT (Processor Trace) provides hardware-level tracing capabilities with
minimal performance overhead on modern Intel CPUs (beginning with the Broadwell
micro-architecture).
For more information about Intel PT, please refer to [2] and [3].
The Intel PT kernel driver has been merged in 4.1 and various bug fixes have
come since ([4]).
GDB supports the Intel PT backend for reverse-stepping / backwards-debugging
since 7.10.
Decoding of the packet stream generated by the Intel hardware is done by
Intel's Processor Trace Decoding Library libipt [5]. Thus, this patchs adds a
build-dependency on libipt-dev and a runtime dependency on libipt1.
Please see the patch attached.
Greetings
Jack
[1] https://sourceware.org/gdb/onlinedocs/gdb/Process-Record-and-Replay.html
[2] https://software.intel.com/en-us/blogs/2013/09/18/processor-tracing
[3] https://old.lwn.net/Articles/648154/
[4] http://halobates.de/blog/p/410
[5] https://github.com/01org/processor-trace
From b3fa17d7a4d2eb5d50ecd81f0ae339139b34d854 Mon Sep 17 00:00:00 2001
From: Jack Henschel <[email protected]>
Date: Mon, 21 Aug 2017 13:21:35 +0200
Subject: [PATCH] Enable Intel PT
---
debian/control.in | 1 +
debian/rules | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/debian/control.in b/debian/control.in
index 917c36cdb..db3dafdb7 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -35,6 +35,7 @@ Build-Depends:
liblzma-dev,
libbabeltrace-dev [amd64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel mips64el powerpc s390x],
libbabeltrace-ctf-dev [amd64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel mips64el powerpc s390x],
+ libipt-dev [amd64],
python-dev,
# Python3 build
python3-dev,
diff --git a/debian/rules b/debian/rules
index 74835a2f7..3850cc53b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -93,6 +93,11 @@ ifneq (,$(filter $(DEB_HOST_ARCH),amd64 armel armhf i386 kfreebsd-amd64 kfreebsd
arch_config_args += --with-babeltrace
endif
+# Enable Intel Processor Trace (PT) on Linux x86 platform
+ifneq (,$(filter $(DEB_HOST_ARCH),amd64 i386))
+ arch_config_args += --with-intel-pt
+endif
+
ifdef GDB_TARGET
run_tests := no
--
2.14.1
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: gdb
Source-Version: 8.1-1
We believe that the bug you reported is fixed in the latest version of
gdb, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Héctor Orón Martínez <[email protected]> (supplier of updated gdb package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 11 Jul 2018 19:59:33 +0200
Source: gdb
Binary: gdb gdb-python2 gdb-minimal gdb-multiarch gdbserver gdb-source
Architecture: source
Version: 8.1-1
Distribution: unstable
Urgency: medium
Maintainer: Héctor Orón Martínez <[email protected]>
Changed-By: Héctor Orón Martínez <[email protected]>
Description:
gdb - GNU Debugger
gdb-minimal - GNU Debugger (minimal version)
gdb-multiarch - GNU Debugger (with support for multiple architectures)
gdb-python2 - GNU Debugger (linked against python2)
gdb-source - GNU Debugger (source)
gdbserver - GNU Debugger (remote server)
Closes: 872800 881569 883814 884105 886658 894702
Changes:
gdb (8.1-1) unstable; urgency=medium
.
[ Héctor Orón Martínez ]
* Imported Upstream version 8.1, changes in this release:
- Breakpoints on C++ functions are now set on all scopes by default
("wild" matching);
- Support for inserting breakpoints on functions marked with C++ ABI tags;
- Target floating-point arithmetic emulation during expression evaluation
(requires MPFR 3.1 or later);
- Various Python Scripting enhancements;
- Improved Rust support; in particular, Trait objects can now be inspected
when debugging Rust code;
- GDB no longer makes assumptions about the type of symbols without
debugging information to avoid producing erroneous and often confusing
results;
- The 'enable' and 'disable' commands now accept a range of breakpoint
locations;
- New 'starti' command to start the program at the first instruction;
- New 'rbreak' command to insert a number of breakpoints via a regular
expression pattern (requires Python);
- The 'ptype' command now supports printing the offset and size of
the fields in a struct;
- The 'gcore' command now supports dumping all the memory mappings
('-a' command-line option);
- New shortcuts for TUI Single-Key mode: 'i' for stepi, and 'o' for nexti;
- GDBserver enhancements:
+ Support for transmitting environment variables to GDBserver;
+ Support for starting inferior processes with a specified initial
working directory;
+ On Unix systems, support for globbing expansion and variable
substitution of inferior command-line arguments;
- Various completion enhancements;
- The command used to compile and inject code with the 'compile' command
is now configurable;
- New '--readnever' command-line option to speed the GDB startup when
debugging information is not needed;
- Support for the following new native configurations:
+ FreeBSD/aarch64 (aarch64*-*-freebsd*);
+ FreeBSD/arm (arm*-*-freebsd*);
- Support for the following new targets:
+ FreeBSD/aarch64 (aarch64*-*-freebsd*);
+ FreeBSD/arm (arm*-*-freebsd*);
+ OpenRISC ELF (or1k*-*-elf)
- Removed support for the following targets and native configurations:
+ Solaris2/x86 (i?86-*-solaris2.[0-9]);
+ Solaris2/sparc (sparc*-*-solaris2.[0-9]);
(Closes: #886658, #881569, #894702)
* debian/patches: refresh series
* debian/copyright: use https instead http
* debian/control.in: set Rules-Requires-Root to no
* debian/control.in: bump standards version
* debian/control.in: thanks Samuel Bronson for past work
(Closes: #883814)
* debian/control.in: thanks Luca Bruno for past work
* debian/control: sync to debian/control.in
.
[ James Clarke ]
* Use unversioned libunwind-dev build dependency on ia64
(Closes: #884105)
.
[ Jack Henschel ]
* Enable Intel PT
(Closes: #872800)
Checksums-Sha1:
915fb9b8ebfc71b4502d5235c45f0cfa329d57ec 2778 gdb_8.1-1.dsc
a522f55136099bb14718caf46d1d9e31b0b4a996 20717592 gdb_8.1.orig.tar.xz
41e41a468369df462389c82ecaa6ac5dd9474e94 47004 gdb_8.1-1.debian.tar.xz
8b9deb2f8515499cb75c6856a9ca59f73c751c3f 9385 gdb_8.1-1_source.buildinfo
Checksums-Sha256:
5ab9d772ce776fed552f363db35d45c622da2ba69f21b4ab60f547d68ea97811 2778
gdb_8.1-1.dsc
704ed04a48f89f8bc90b31fc425d699a89f3d9647d98af4c3b0555c84cdd4ce0 20717592
gdb_8.1.orig.tar.xz
9b582f1b13e3a755ff7324de863e32c2f4b30e6b27a0dd0f477d2f49723474e0 47004
gdb_8.1-1.debian.tar.xz
b0468a1fdd0f113b482d3fca7d66cac7cb34db7042e2cb175f81d4b48e4858be 9385
gdb_8.1-1_source.buildinfo
Files:
0f97cabd8e3dc98020a6f199a77b11d4 2778 devel optional gdb_8.1-1.dsc
bf767d083d3c87dd5df7754cb7277158 20717592 devel optional gdb_8.1.orig.tar.xz
cd01a2531037336c2db034c5cf8b4bbf 47004 devel optional gdb_8.1-1.debian.tar.xz
abd44fb258ef4757f9a2b4dc84da2b5c 9385 devel optional gdb_8.1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE6Q8IiVReeMgqnedOryKDqnbirHsFAltLHWwACgkQryKDqnbi
rHtu5RAAgTc/1vr8JtYWEhv2SYk+WlH3uqzawt0tXZ8VDg3STS3rzgiAQpg0YMbO
yOPyhfX/9w73mePJ7zI9M6YH5npOBdzw4X49HuIm+7qBkTl3d1R5k4HQQ/ogRdWM
OgBKkrUOCf2FwFqR+98u3WOVz4PUcJQqg0rqEc6kcRzCqu9JDez1BUWIyjUIvTRi
6U2IPjXkBtR0rRsCMOWIFw23HpNPa4ZxnXcMgwt9XDNrAERBek7lHAfITPGXca/Y
iQDQWfKppIDuOtYi+2A3nRhrKgIxrDkWHvJYlui8D9OfuTO/p7S+17Qe3wd8BSRc
NuAvtrviq4VV6Bg/d92WJx1Fr3J/bc5s1+uMcF2HhM2QOR+z2xAcFJ4PXBcdOn2M
z1ofq700AErFMYwCP5YM487LZD+R0z2kb4cE1OWr0jPmXcxL76nivSSt1UjbIUx/
4mUrgPncxmzGpqOXRNhET2CqLBidifI2ZCGxsAnM2Rxe7l8oAxOkK2t0niRhs4Yo
jmG8mAgQBoEF69UA9GH002yO//Qk57qt8ADfZh0J4PeTk1TOC+T6AGmgO88RkzkQ
aZep+w2zK6C4bShMl2qyo71n/oc3ZRqB12WhqEr7IMcSOF6KJnND4juR+2FTzviH
ajExvuRbh8Z+CtWRoWgrMRdVF6X8B2O9Pt2CSvVeJBrkZk0AzwQ=
=FUb+
-----END PGP SIGNATURE-----
--- End Message ---