From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124137 invoked by alias); 7 Jan 2017 07:53:42 -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 124122 invoked by uid 89); 7 Jan 2017 07:53:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.9 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy=H*MI:sk:51235c7, H*f:sk:51235c7 X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 07 Jan 2017 07:53:31 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPloc-0006Nz-Hv for gdb-patches@sourceware.org; Sat, 07 Jan 2017 02:53:29 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPloc-0006Nr-Dc; Sat, 07 Jan 2017 02:53:26 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1943 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cPlob-0005j6-Mc; Sat, 07 Jan 2017 02:53:26 -0500 Date: Sat, 07 Jan 2017 07:53:00 -0000 Message-Id: <8360lrcnlh.fsf@gnu.org> From: Eli Zaretskii To: Luis Machado CC: gdb-patches@sourceware.org In-reply-to: <51235c70-a165-37de-c6f1-e54e17d72213@codesourcery.com> (message from Luis Machado on Fri, 6 Jan 2017 12:30:06 -0600) Subject: Re: [PATCH] Add -verify option to load command Reply-to: Eli Zaretskii References: <1483720912-6563-1-git-send-email-lgustavo@codesourcery.com> <838tqocats.fsf@gnu.org> <51235c70-a165-37de-c6f1-e54e17d72213@codesourcery.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-IsSubscribed: yes X-SW-Source: 2017-01/txt/msg00117.txt.bz2 > CC: > From: Luis Machado > Date: Fri, 6 Jan 2017 12:30:06 -0600 > > >> +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? I'd suggest GDB will read back the memory regions that were written, and if some value is not as written, will issue an error message.