From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7723 invoked by alias); 6 Jan 2017 18:30:35 -0000 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 Received: (qmail 7587 invoked by uid 89); 6 Jan 2017 18:30:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy=H*f:sk:838tqoc, H*MI:sk:838tqoc, H*i:sk:838tqoc, Hx-languages-length:1246 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 06 Jan 2017 18:30:16 +0000 Received: from svr-orw-mbx-03.mgc.mentorg.com ([147.34.90.203]) by relay1.mentorg.com with esmtp id 1cPZHH-0004AZ-Jv from Luis_Gustavo@mentor.com ; Fri, 06 Jan 2017 10:30:11 -0800 Received: from [172.30.8.13] (147.34.91.1) by svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 6 Jan 2017 10:30:08 -0800 Reply-To: Luis Machado Subject: Re: [PATCH] Add -verify option to load command References: <1483720912-6563-1-git-send-email-lgustavo@codesourcery.com> <838tqocats.fsf@gnu.org> To: Eli Zaretskii CC: From: Luis Machado Message-ID: <51235c70-a165-37de-c6f1-e54e17d72213@codesourcery.com> Date: Fri, 06 Jan 2017 18:30:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <838tqocats.fsf@gnu.org> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) To svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) X-IsSubscribed: yes X-SW-Source: 2017-01/txt/msg00108.txt.bz2 On 01/06/2017 12:17 PM, Eli Zaretskii wrote: >> From: Luis Machado >> Date: Fri, 6 Jan 2017 10:41:52 -0600 >> >> --- a/gdb/doc/gdb.texinfo >> +++ b/gdb/doc/gdb.texinfo >> @@ -19592,7 +19592,7 @@ Show the current status of displaying communications between >> @table @code >> >> @kindex load @var{filename} >> -@item load @var{filename} >> +@item load @var{filename} [-verify] >> @anchor{load} >> Depending on what remote debugging facilities are configured into >> @value{GDBN}, the @code{load} command may be available. Where it exists, it >> @@ -19614,6 +19614,9 @@ specifies a fixed address. >> Depending on the remote side capabilities, @value{GDBN} may be able to >> load programs into flash memory. >> >> +The optional @code{-verify} argument enables verification of the data that was >> +loaded to the target's memory. > > I think the manual should explain what "verification" means in this > context. > > Thanks. > Something along the lines of... "GDB will make sure all the memory regions that were written to the target's memory have their correct values, otherwise an error will be issued."? Should i go even further to explain how the comparison is made?