GNU bug report logs - #24125
25.1.50; Docstring of gud-gdb

Previous Next

Package: emacs;

Reported by: Óscar Fuentes <ofv <at> wanadoo.es>

Date: Mon, 1 Aug 2016 17:32:02 UTC

Severity: minor

Found in version 25.1.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#24125: closed (25.1.50; Docstring of gud-gdb)
Date: Mon, 01 Aug 2016 20:06:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 01 Aug 2016 23:04:54 +0300
with message-id <8360rkntll.fsf <at> gnu.org>
and subject line Re: bug#24125: 25.1.50; Docstring of gud-gdb
has caused the debbugs.gnu.org bug report #24125,
regarding 25.1.50; Docstring of gud-gdb
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
24125: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24125
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Óscar Fuentes <ofv <at> wanadoo.es>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1.50; Docstring of gud-gdb
Date: Mon, 01 Aug 2016 19:31:06 +0200
The docstring of gud-gdb says:

(gud-gdb COMMAND-LINE)

Run gdb on program FILE in buffer *gud-FILE*.
The directory containing FILE becomes the initial working
directory and source-file directory for your debugger.

/end quote

There is no FILE in the argument list of the function, so this is
confusing, moreover when gdb can be invoked without a program name (when
attaching to a running process, for example.) It is not clear from the
docstring if this case is supported.

System Description:	Ubuntu 16.04.1 LTS

Recent messages:

Configured using:
 'configure --without-toolkit-scroll-bars --with-x-toolkit=lucid'

Configured features:
XAW3D XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY GNUTLS LIBXML2
FREETYPE XFT ZLIB LUCID X11

Important settings:
  value of $LANG: C
  locale-coding-system: nil


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Óscar Fuentes <ofv <at> wanadoo.es>
Cc: 24125-done <at> debbugs.gnu.org
Subject: Re: bug#24125: 25.1.50; Docstring of gud-gdb
Date: Mon, 01 Aug 2016 23:04:54 +0300
> From: Óscar Fuentes <ofv <at> wanadoo.es>
> Date: Mon, 01 Aug 2016 19:31:06 +0200
> 
> The docstring of gud-gdb says:
> 
> (gud-gdb COMMAND-LINE)
> 
> Run gdb on program FILE in buffer *gud-FILE*.
> The directory containing FILE becomes the initial working
> directory and source-file directory for your debugger.
> 
> /end quote
> 
> There is no FILE in the argument list of the function, so this is
> confusing, moreover when gdb can be invoked without a program name (when
> attaching to a running process, for example.) It is not clear from the
> docstring if this case is supported.

Thanks fixed on the emacs-25 branch.


This bug report was last modified 8 years and 298 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.