From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26444 invoked by alias); 31 Jan 2002 19:35:39 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 26306 invoked from network); 31 Jan 2002 19:35:30 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 31 Jan 2002 19:35:30 -0000 Received: from reddwarf.cygnus.com (reddwarf.sfbay.redhat.com [205.180.231.12]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id LAA10641; Thu, 31 Jan 2002 11:35:29 -0800 (PST) Received: (from msnyder@localhost) by reddwarf.cygnus.com (8.11.2/8.11.2) id g0VJSiY30284; Thu, 31 Jan 2002 11:28:44 -0800 Date: Thu, 31 Jan 2002 11:35:00 -0000 From: Michael Snyder Message-Id: <200201311928.g0VJSiY30284@reddwarf.cygnus.com> To: gdb-patches@sources.redhat.com Subject: [RFA] Documentation -- 'set trust-readonly-sections' Cc: eliz@is.elta.co.il X-SW-Source: 2002-01/txt/msg00817.txt.bz2 Eli, is this OK? 2002-01-30 Michael Snyder * gdb.texinfo (set trust-readonly-sections): Document. Index: gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.82 diff -p -r1.82 gdb.texinfo *** gdb.texinfo 2002/01/27 09:34:24 1.82 --- gdb.texinfo 2002/01/31 04:11:31 *************** COFF shared library information. *** 9410,9415 **** --- 9410,9430 ---- Section contains common symbols. @end table @end table + @kindex set trust-readonly-sections + @item set trust-readonly-sections on + Tell @value{GDBN} that readonly sections in your object file + really are read-only (ie. that their contents will not change). + In that case, @value{GDBN} can fetch values from these sections + out of the object file, rather than from the target program. + For some targets (notably embedded ones), this can be a significant + enhancement to debugging performance. + + The default is off. + + @item set trust-readonly-sections off + Tell @value{gdbn} not to trust readonly sections. This means that + the contents of the section might change while the program is running, + and must therefore be fetched from the target when needed. @end table All file-specifying commands allow both absolute and relative file names