Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [commit] fix exec.c:exec_file_attach comment
@ 2009-02-23  0:05 Doug Evans
  0 siblings, 0 replies; only message in thread
From: Doug Evans @ 2009-02-23  0:05 UTC (permalink / raw)
  To: gdb-patches

Hi.

I checked this in under the obvious rule.

2009-02-22  Doug Evans  <dje@google.com>

	* exec.c (exec_file_attach): Fix comment.

diff -u -p -r1.81 exec.c
--- exec.c	8 Jan 2009 16:32:29 -0000	1.81
+++ exec.c	22 Feb 2009 19:34:36 -0000
@@ -158,7 +158,7 @@ exec_file_clear (int from_tty)
     printf_unfiltered (_("No executable file now.\n"));
 }
 
-/*  Process the first arg in ARGS as the new exec file.
+/* Set FILENAME as the new exec file.
 
    This function is intended to be behave essentially the same
    as exec_file_command, except that the latter will detect when
@@ -173,9 +173,7 @@ exec_file_clear (int from_tty)
    given a pid but not a exec pathname, and the attach command could
    figure out the pathname from the pid.  (In this case, we shouldn't
    ask the user whether the current target should be shut down --
-   we're supplying the exec pathname late for good reason.)
-   
-   ARGS is assumed to be the filename. */
+   we're supplying the exec pathname late for good reason.)  */
 
 void
 exec_file_attach (char *filename, int from_tty)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-22 19:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-23  0:05 [commit] fix exec.c:exec_file_attach comment Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox