From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31605 invoked by alias); 22 Jan 2010 11:46:32 -0000 Received: (qmail 31597 invoked by uid 22791); 22 Jan 2010 11:46:31 -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 aussmtpmrkpc120.us.dell.com (HELO aussmtpmrkpc120.us.dell.com) (143.166.82.159) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 22 Jan 2010 11:46:26 +0000 X-Loopcount0: from 12.110.134.31 Received: from unknown (HELO M31.equallogic.com) ([12.110.134.31]) by aussmtpmrkpc120.us.dell.com with SMTP; 22 Jan 2010 05:46:24 -0600 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Reset breakpoint after load? Date: Fri, 22 Jan 2010 11:46:00 -0000 Message-ID: In-Reply-To: <4B5915CB.7090705@analog.com> References: <4B5560E0.3080901@analog.com> <4B582A02.2040501@gmail.com> <4B589CF2.2040304@vmware.com> <20100121211950.GA11880@caradoc.them.org> <4B58D811.8070604@analog.com> <4B5915CB.7090705@analog.com> From: "Paul Koning" To: "Jie Zhang" Cc: "Michael Snyder" , "Dave Korn" , X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-01/txt/msg00181.txt.bz2 > On 01/22/2010 10:15 AM, Paul Koning wrote: > > Yes, but... doesn't GDB take read-only data from the executable file > > rather than from the target? If so then it should not matter. > That's > > what "set trust-readonly-sections" does. Or is it off by default? > Turn > > it on, that's good for performance anyway. > > > I just tested this method and confirm that "set trust-readonly-sections > on" also works. According to the manual, this option is off by default. Right, I noticed that it's set that way. I have a GDB with local mods for our embedded system work; one of the mods is to change the default to "on". That makes debug much faster and makes sense in any case. It's very rare to need it to be off. paul