diff options
author | Doug Evans <dje@google.com> | 2009-02-22 19:35:47 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2009-02-22 19:35:47 +0000 |
commit | 907083d1398c4c46c517efcfc688f91ff650f5f6 (patch) | |
tree | 698b4ed8ee01207b202e9eff0c413c5a91ed77cc /gdb/exec.c | |
parent | 08c1f091a1714567f8ef8fb9b48b905c9066a5f3 (diff) | |
download | gdb-907083d1398c4c46c517efcfc688f91ff650f5f6.zip gdb-907083d1398c4c46c517efcfc688f91ff650f5f6.tar.gz gdb-907083d1398c4c46c517efcfc688f91ff650f5f6.tar.bz2 |
* exec.c (exec_file_attach): Fix comment.
Diffstat (limited to 'gdb/exec.c')
-rw-r--r-- | gdb/exec.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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) |