* exec.c (exec_file_attach): Fix comment.
This commit is contained in:
parent
08c1f091a1
commit
907083d139
|
@ -1,3 +1,7 @@
|
||||||
|
2009-02-22 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
* exec.c (exec_file_attach): Fix comment.
|
||||||
|
|
||||||
2009-02-22 Pedro Alves <pedro@codesourcery.com>
|
2009-02-22 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
Silence a few -Wmissing-prototypes warnings.
|
Silence a few -Wmissing-prototypes warnings.
|
||||||
|
|
|
@ -158,7 +158,7 @@ exec_file_clear (int from_tty)
|
||||||
printf_unfiltered (_("No executable file now.\n"));
|
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
|
This function is intended to be behave essentially the same
|
||||||
as exec_file_command, except that the latter will detect when
|
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
|
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
|
figure out the pathname from the pid. (In this case, we shouldn't
|
||||||
ask the user whether the current target should be shut down --
|
ask the user whether the current target should be shut down --
|
||||||
we're supplying the exec pathname late for good reason.)
|
we're supplying the exec pathname late for good reason.) */
|
||||||
|
|
||||||
ARGS is assumed to be the filename. */
|
|
||||||
|
|
||||||
void
|
void
|
||||||
exec_file_attach (char *filename, int from_tty)
|
exec_file_attach (char *filename, int from_tty)
|
||||||
|
|
Loading…
Reference in New Issue