You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
1
|
2
|
3
|
4
|
5
(1) |
6
(4) |
|
7
(6) |
8
(1) |
9
(3) |
10
|
11
(6) |
12
|
13
(1) |
|
14
|
15
(1) |
16
(2) |
17
(3) |
18
|
19
(1) |
20
|
|
21
|
22
(1) |
23
|
24
|
25
|
26
(14) |
27
(2) |
|
28
|
29
(2) |
30
|
31
|
|
|
|
|
From: Mark W. <ma...@so...> - 2023-05-19 14:09:14
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=e3602b3eec0696b183722ea21da14588cf205c74 commit e3602b3eec0696b183722ea21da14588cf205c74 Author: Mark Wielaard <ma...@kl...> Date: Sun May 14 23:34:05 2023 +0200 Add --with-gdbscripts-dir=PATH configure option Currently the gdb valgrind scripts are installed under VG_LIBDIR which is normally pkglibexecdir which is likely not in the default gdb safe-path (a list of directories from which it is safe to auto-load files). So users will have to add the directory to their .gdbinit file. This patch adds a --with-gdbscripts-dir=PATH configure option that sets VG_GDBSCRIPTS_DIR to the given PATH (${libexecdir}/valgrind if not given). A user can also configure --without-gdbscripts-dir to disable adding a .debug_gdb_scripts section to the vgpreload library and installing the valgrind-monitor python scripts completely. Use VG_GDBSCRIPTS_DIR as gdbscriptsdir to install the valgrind-monitor python files and pass it with CPPFLAGS when building vg_preloaded.c and vgdb.c to use instead of VG_LIBDIR. https://bugs.kde.org/show_bug.cgi?id=469768 Diff: --- NEWS | 8 ++++++++ configure.ac | 17 +++++++++++++++++ coregrind/Makefile.am | 20 +++++++++++++++----- coregrind/vg_preloaded.c | 4 +++- coregrind/vgdb.c | 9 +++++++-- 5 files changed, 50 insertions(+), 8 deletions(-) diff --git a/NEWS b/NEWS index 87bfae5960..ea9fc7c868 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,13 @@ AMD64/macOS 10.13 and nanoMIPS/Linux. * ==================== CORE CHANGES =================== +* A new configure option --with-gdbscripts-dir lets you install + the gdb valgrind python monitor scripts in a specific location. + For example an distro could use it to install the scripts in a + safe load location --with-gdbscripts-dir=%{_datadir}/gdb/auto-load + It is also possible to configure --without-gdb-scripts-dir so no + .debug_gdb_scripts section is added to the vgpreload library and + no valgrind-monitor python scripts are installed at all. * ================== PLATFORM CHANGES ================= @@ -29,6 +36,7 @@ are not entered into bugzilla tend to get forgotten about or ignored. 460192 Add epoll_pwait2 469049 link failure on ppc64 (big endian) valgrind 3.20 469146 massif --ignore-fn does not ignore inlined functions +469768 Make it possible to install gdb scripts in a different location To see details of a given bug, visit https://bugs.kde.org/show_bug.cgi?id=XXXXXX diff --git a/configure.ac b/configure.ac index 15fbf5ea20..0cf84a1c00 100755 --- a/configure.ac +++ b/configure.ac @@ -1198,6 +1198,23 @@ AC_MSG_RESULT([$xcodedir]) AC_DEFINE_UNQUOTED(XCODE_DIR, "$xcodedir", [xcode sdk include directory]) AC_SUBST(XCODE_DIR, [$xcodedir])]) +#---------------------------------------------------------------------------- +# Where to install gdb scripts, defaults to VG_LIBDIR (pkglibexecdir) +#---------------------------------------------------------------------------- +AC_MSG_CHECKING([where gdb scripts are installed]) +AC_ARG_WITH(gdbscripts-dir, + [ --with-gdbscripts-dir=PATH Specify path to install gdb scripts], + [gdbscriptsdir=${withval}], + [gdbscriptsdir=${libexecdir}/valgrind]) +AC_MSG_RESULT([$gdbscriptsdir]) +if test "x$gdbscriptsdir" != "xno"; then + AC_SUBST(VG_GDBSCRIPTS_DIR, [$gdbscriptsdir]) + AM_CONDITIONAL(GDBSCRIPTS, true) +else + AC_SUBST(VG_GDBSCRIPTS_DIR, []) + AM_CONDITIONAL(GDBSCRIPTS, false) +fi + #---------------------------------------------------------------------------- # Libc and suppressions #---------------------------------------------------------------------------- diff --git a/coregrind/Makefile.am b/coregrind/Makefile.am index 553211782f..8a7f753a6e 100644 --- a/coregrind/Makefile.am +++ b/coregrind/Makefile.am @@ -101,7 +101,7 @@ if VGCONF_OS_IS_FREEBSD vgdb_SOURCES += vgdb-invoker-freebsd.c endif -vgdb_CPPFLAGS = $(AM_CPPFLAGS_PRI) +vgdb_CPPFLAGS = $(AM_CPPFLAGS_PRI) $(GDB_SCRIPTS_DIR) vgdb_CFLAGS = $(AM_CFLAGS_PRI) $(LTO_CFLAGS) vgdb_CCASFLAGS = $(AM_CCASFLAGS_PRI) vgdb_LDFLAGS = $(AM_CFLAGS_PRI) @LIB_UBSAN@ @@ -624,9 +624,15 @@ if VGCONF_OS_IS_DARWIN noinst_DSYMS = $(noinst_PROGRAMS) endif +if GDBSCRIPTS + GDB_SCRIPTS_DIR=-DVG_GDBSCRIPTS_DIR="\"@VG_GDBSCRIPTS_DIR@\"" +else + GDB_SCRIPTS_DIR= +endif + vgpreload_core_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_SOURCES = vg_preloaded.c vgpreload_core_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_CPPFLAGS = \ - $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) + $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) $(GDB_SCRIPTS_DIR) vgpreload_core_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_CFLAGS = \ $(AM_CFLAGS_PSO_@VGCONF_PLATFORM_PRI_CAPS@) vgpreload_core_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_LDFLAGS = \ @@ -634,7 +640,7 @@ vgpreload_core_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_LDFLAGS = \ if VGCONF_HAVE_PLATFORM_SEC vgpreload_core_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_SOURCES = vg_preloaded.c vgpreload_core_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_CPPFLAGS = \ - $(AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) + $(AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) $(GDBSCRIPTS_DIR) vgpreload_core_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_CFLAGS = \ $(AM_CFLAGS_PSO_@VGCONF_PLATFORM_SEC_CAPS@) vgpreload_core_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_LDFLAGS = \ @@ -766,8 +772,12 @@ GDBSERVER_XML_FILES = \ # so as to make sure these get copied into the install tree vglibdir = $(pkglibexecdir) vglib_DATA = $(GDBSERVER_XML_FILES) -vglib_DATA += m_gdbserver/valgrind-monitor.py -vglib_DATA += m_gdbserver/valgrind-monitor-def.py + +if GDBSCRIPTS +gdbscriptsdir = @VG_GDBSCRIPTS_DIR@ +gdbscripts_DATA = m_gdbserver/valgrind-monitor.py +gdbscripts_DATA += m_gdbserver/valgrind-monitor-def.py +endif # so as to make sure these get copied into the tarball EXTRA_DIST += $(GDBSERVER_XML_FILES) diff --git a/coregrind/vg_preloaded.c b/coregrind/vg_preloaded.c index d6e05898c9..86f6ac5a26 100644 --- a/coregrind/vg_preloaded.c +++ b/coregrind/vg_preloaded.c @@ -61,7 +61,9 @@ .popsection \n\ "); -DEFINE_GDB_PY_SCRIPT(VG_LIBDIR "/valgrind-monitor.py") +#ifdef VG_GDBSCRIPTS_DIR +DEFINE_GDB_PY_SCRIPT(VG_GDBSCRIPTS_DIR "/valgrind-monitor.py") +#endif #endif #if defined(VGO_linux) || defined(VGO_solaris) || defined(VGO_freebsd) diff --git a/coregrind/vgdb.c b/coregrind/vgdb.c index 8ec4240770..56a969de78 100644 --- a/coregrind/vgdb.c +++ b/coregrind/vgdb.c @@ -1982,10 +1982,15 @@ void usage(void) " -d arg tells to show debug info. Multiple -d args for more debug info\n" "\n" " -h --help shows this message\n" +#ifdef VG_GDBSCRIPTS_DIR " The GDB python code defining GDB front end valgrind commands is:\n %s\n" +#endif " To get help from the Valgrind gdbserver, use vgdb help\n" -"\n", vgdb_prefix_default(), VG_LIBDIR "/valgrind-monitor.py" - ); +"\n", vgdb_prefix_default() +#ifdef VG_GDBSCRIPTS_DIR + , VG_GDBSCRIPTS_DIR "/valgrind-monitor.py" +#endif + ); invoker_restrictions_msg(); } |