From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19192 invoked by alias); 22 Feb 2009 19:37:30 -0000 Received: (qmail 19181 invoked by uid 22791); 22 Feb 2009 19:37:29 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 22 Feb 2009 19:36:58 +0000 Received: from zps75.corp.google.com (zps75.corp.google.com [172.25.146.75]) by smtp-out.google.com with ESMTP id n1MJauXj012635 for ; Sun, 22 Feb 2009 11:36:56 -0800 Received: from localhost (ruffy.corp.google.com [172.18.118.116]) by zps75.corp.google.com with ESMTP id n1MJatvC027178 for ; Sun, 22 Feb 2009 11:36:55 -0800 Received: by localhost (Postfix, from userid 67641) id 1724A1C7260; Sun, 22 Feb 2009 11:36:54 -0800 (PST) To: gdb-patches@sourceware.org Subject: [commit] fix exec.c:exec_file_attach comment Message-Id: <20090222193655.1724A1C7260@localhost> Date: Mon, 23 Feb 2009 00:05:00 -0000 From: dje@google.com (Doug Evans) X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-02/txt/msg00419.txt.bz2 Hi. I checked this in under the obvious rule. 2009-02-22 Doug Evans * 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)