* Patch for Valgrind support in compile.el
@ 2002-07-09 8:20 Ole Aamot
2002-07-09 14:51 ` Pavel Janík
0 siblings, 1 reply; 2+ messages in thread
From: Ole Aamot @ 2002-07-09 8:20 UTC (permalink / raw)
The patch is against emacs/lisp/progmodes/compile.el on
subversions.gnu.org. (I assign the change to the FSF.)
Happy hacking.
http://www.aamot.org/ole/software/valgrind-in-emacs-2002-07-09.patch
2002-07-09 Ole Aamot <ole@gnu.org>
* compile.el: Add regexp for Valgrind (a memory debugger
for x86-GNU/Linux) inside compilation-error-regexp-alist.
Kudos to Hans Petter Jansson <hpj@ximian.com> for regexp.
Index: compile.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/compile.el,v
retrieving revision 1.257
diff -u -b -r1.257 compile.el
--- compile.el 14 Jun 2002 13:58:28 -0000 1.257
+++ compile.el 9 Jul 2002 08:17:39 -0000
@@ -1,6 +1,6 @@
;;; compile.el --- run compiler as inferior of Emacs, parse error messages
-;; Copyright (C) 1985, 86, 87, 93, 94, 95, 96, 97, 98, 1999, 2001
+;; Copyright (C) 1985, 86, 87, 93, 94, 95, 96, 97, 98, 1999, 2001, 2002
;; Free Software Foundation, Inc.
;; Author: Roland McGrath <roland@gnu.org>
@@ -369,6 +369,12 @@
("\\(Error\\|Warning\\) \\(\\([FEW][0-9]+\\) \\)?\
\\([a-zA-Z]?:?[^:( \t\n]+\\)\
\\([0-9]+\\)\\([) \t]\\|:[^0-9\n]\\)" 4 5)
+
+ ;; Valgrind (memory debugger for x86 GNU/Linux):
+ ;; ==1332== at 0x8008621: main (vtest.c:180)
+ ;; Currently this regexp only matches the first error.
+ ;; Thanks to Hans Petter Jansson <hpj@ximian.com> for his regexp wisdom.
+ ("^==[0-9]+==[^(]+\(([^:]+):([0-9]+)" 1 2)
;; 4.3BSD lint pass 2
;; strcmp: variable # of args. llib-lc(359) :: /usr/src/foo/foo.c(8)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-07-09 14:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-09 8:20 Patch for Valgrind support in compile.el Ole Aamot
2002-07-09 14:51 ` Pavel Janík
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.