From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Stallman To: eliz@is.elta.co.il Cc: tromey@redhat.com, gdb@sources.redhat.com, bug-gnu-emacs@gnu.org Subject: Re: Using gdb with emacs Date: Sun, 09 Sep 2001 08:03:00 -0000 Message-id: <200109091503.JAA03084@aztec.santafe.edu> References: <874rqfvl52.fsf@creche.redhat.com> <2593-Fri07Sep2001105921+0300-eliz@is.elta.co.il> <87elpid9dt.fsf@creche.redhat.com> <7458-Sat08Sep2001103423+0300-eliz@is.elta.co.il> X-SW-Source: 2001-09/msg00077.html What you, in effect, want is for GUD to support relative file names which are not relative to the default directory of the buffer from which you set the breakpoint. This invalidates the assumptions on which Emacs primitives such as expand-file-name and file-relative-name base their default operation. These primitives use the value of the variable default-directory, which Lisp code can easily bind. So these primitives don't limit anything. As long as there is a clear convention for what the default directory should be, the code in gud.el should be able to handle it.