aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-08-28 23:26:54 +0000
committerDoug Evans <dje@google.com>2009-08-28 23:26:54 +0000
commit648bf667309b3bd5b2c08f0b2fbf8e9cec7fb357 (patch)
tree0e9756d283778e5c7fc14f9058929c0545982c1c
parent3632d14b135c61bbc859070012cc7515da182ef6 (diff)
downloadgdb-648bf667309b3bd5b2c08f0b2fbf8e9cec7fb357.zip
gdb-648bf667309b3bd5b2c08f0b2fbf8e9cec7fb357.tar.gz
gdb-648bf667309b3bd5b2c08f0b2fbf8e9cec7fb357.tar.bz2
* top.c (execute_command): Remove redundant comment.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/top.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4cd1e53..e035de2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2009-08-28 Doug Evans <dje@google.com>
+
+ * top.c (execute_command): Remove redundant comment.
+
2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
PR gdb/10565
diff --git a/gdb/top.c b/gdb/top.c
index cb51e08..d1fe69b 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -345,11 +345,9 @@ do_chdir_cleanup (void *old_dir)
}
#endif
-/* Execute the line P as a command.
+/* Execute the line P as a command, in the current user context.
Pass FROM_TTY as second argument to the defining function. */
-/* Execute command P, in the current user context. */
-
void
execute_command (char *p, int from_tty)
{