Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Eli Zaretskii" <eliz@is.elta.co.il>
To: rms@gnu.org
Cc: tromey@redhat.com, gdb@sources.redhat.com, bug-gnu-emacs@gnu.org
Subject: Re: Using gdb with emacs
Date: Sun, 09 Sep 2001 09:17:00 -0000	[thread overview]
Message-ID: <8011-Sun09Sep2001191519+0300-eliz@is.elta.co.il> (raw)
In-Reply-To: <200109091503.JAA03084@aztec.santafe.edu>

> Date: Sun, 9 Sep 2001 09:03:25 -0600 (MDT)
> From: Richard Stallman <rms@gnu.org>
> 
>     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.

Sure, but someone should bind default-directory.  Usually, when you
set a breakpoint from a buffer that visits a file, the natural thing
is to use that buffer's default-directory, so that's what GUD does.  I
think what Tom wants requires some way to tell GUD to do bind
default-directory, and also to tell it what directory to bind it to.

In other words, I think it's hard to expect that the existing code
could be tweaked on the user level into doing what Tom wants, but it's
not rocket science to change GUD to allow this mode.


  reply	other threads:[~2001-09-09  9:17 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-06 18:23 Tom Tromey
2001-09-06 19:56 ` Per Bothner
2001-09-07  1:01 ` Eli Zaretskii
2001-09-07 13:26   ` Tom Tromey
2001-09-07 13:59     ` Tom Tromey
2001-09-08  0:36     ` Eli Zaretskii
2001-09-09  8:03       ` Richard Stallman
2001-09-09  9:17         ` Eli Zaretskii [this message]
2001-09-09 10:04       ` Per Bothner
2001-09-09 10:41         ` Eli Zaretskii
2001-09-09 21:34           ` Per Bothner
2001-09-10 15:50           ` Richard Stallman
2001-09-10 19:58       ` Tom Tromey
2001-09-11  8:16         ` Andrew Cagney
2001-09-11 11:18           ` Eli Zaretskii
2001-09-09  8:03     ` Richard Stallman
2001-09-10 20:01       ` Tom Tromey
2001-09-08  7:27   ` Richard Stallman
2001-09-08 10:22 ` Andrew Cagney
2001-09-08 10:49   ` Fernando Nasser
2001-09-08 12:54     ` Christopher Faylor
2001-09-10  9:04       ` pathmap patch dropped [was: Re: Using gdb with emacs] Jim Blandy

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=8011-Sun09Sep2001191519+0300-eliz@is.elta.co.il \
    --to=eliz@is.elta.co.il \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=gdb@sources.redhat.com \
    --cc=rms@gnu.org \
    --cc=tromey@redhat.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox