From: Ole Aamot <ole@gnu.org>
Subject: Patch for Valgrind support in compile.el
Date: Tue, 09 Jul 2002 10:20:31 +0200 [thread overview]
Message-ID: <E17RqEZ-000BLs-00@unity.copyleft.no> (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)
next reply other threads:[~2002-07-09 8:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-09 8:20 Ole Aamot [this message]
2002-07-09 14:51 ` Patch for Valgrind support in compile.el Pavel Janík
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E17RqEZ-000BLs-00@unity.copyleft.no \
--to=ole@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.