From 907083d1398c4c46c517efcfc688f91ff650f5f6 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Sun, 22 Feb 2009 19:35:47 +0000 Subject: [PATCH] * exec.c (exec_file_attach): Fix comment. --- gdb/ChangeLog | 4 ++++ gdb/exec.c | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d8eb22c76bf..093b4317389 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-02-22 Doug Evans + + * exec.c (exec_file_attach): Fix comment. + 2009-02-22 Pedro Alves Silence a few -Wmissing-prototypes warnings. diff --git a/gdb/exec.c b/gdb/exec.c index 8d8c1dfe5a4..a9a53ce631f 100644 --- a/gdb/exec.c +++ b/gdb/exec.c @@ -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) -- 2.30.2