Subject: bug#5653 gud.el / How To fix pdb in Emacs on Mac OS X (solution)

From: Markus Heiser <[email-masked]>
Date: Tue, 29 Mar 2011 19:45:54 +0200

According to the opener point 2. isn't  fixed (under OS X 
and Windows).

The **Current directory is <pwd>** issue is caused by
the CR/LF confusion on Mac OS X and Windows. You migth
take a look at discussions at stackoverflow

 http://stackoverflow.com/questions/3358124/how-to-fix-pdb-in-aquamacs-on-mac-os-x

in short: "\r" is missed in the regexp. here is my fix

(defvar gud-pdb-marker-regexp
  "^> \\([-axx-zA-Z0-9_/.:\\]*\\|<string>\\)(\\([0-9]+\\))\\([a-zA-Z0-9_]*\\|\\?\\|<module>\\)()\\(->[^\n\r]*\\)?[\n\r]")

 -- return42 --