----- Original Message -----
From: "Andreas Oesterhelt" <oe...@oe...>
To: <val...@li...>
Sent: Tuesday, May 06, 2003 6:50 PM
Subject: [Valgrind-users] Thanks, compilation problem, Emacs mode?
> Third, does anyone know of a (X)emacs mode that would parse valgrind
> output and jump to the right locations in the source files on click, just
> like the compilation mode does? If not, does anyone feel like writing one?
> ,-)
Try that in your .emacs:
;; from Ole Aamot (ol...@gn...)
;; 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 <hp...@xi...> for his regexp wisdom.
(setq compilation-error-regexp-alist
(append compilation-error-regexp-alist
'(("^==[0-9]+==[^(]+\(\\([^:]+\\):\\([0-9]+\\)"
1 2))))
Regards,
|