unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24125: 25.1.50; Docstring of gud-gdb
@ 2016-08-01 17:31 Óscar Fuentes
  2016-08-01 20:04 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Óscar Fuentes @ 2016-08-01 17:31 UTC (permalink / raw)
  To: 24125

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#24125: 25.1.50; Docstring of gud-gdb
  2016-08-01 17:31 bug#24125: 25.1.50; Docstring of gud-gdb Óscar Fuentes
@ 2016-08-01 20:04 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2016-08-01 20:04 UTC (permalink / raw)
  To: Óscar Fuentes; +Cc: 24125-done

> From: Óscar Fuentes <ofv@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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-01 20:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-01 17:31 bug#24125: 25.1.50; Docstring of gud-gdb Óscar Fuentes
2016-08-01 20:04 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).