From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7838 invoked by alias); 22 Jan 2010 03:05:01 -0000 Received: (qmail 7622 invoked by uid 22791); 22 Jan 2010 03:05:00 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from nwd2mail11.analog.com (HELO nwd2mail11.analog.com) (137.71.25.57) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 22 Jan 2010 03:04:56 +0000 Received: from nwd2hubcas2.ad.analog.com ([10.64.73.30]) by nwd2mail11.analog.com with ESMTP; 21 Jan 2010 22:04:55 -0500 Received: from nwd2exm5.ad.analog.com (10.64.51.20) by NWD2HUBCAS2.ad.analog.com (10.64.73.30) with Microsoft SMTP Server id 8.1.358.0; Thu, 21 Jan 2010 22:04:54 -0500 Received: from chinexm1.ad.analog.com ([10.99.27.42]) by nwd2exm5.ad.analog.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 21 Jan 2010 22:04:54 -0500 Received: from [10.99.29.107] ([10.99.29.107]) by chinexm1.ad.analog.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 22 Jan 2010 11:04:43 +0800 Message-ID: <4B5915CB.7090705@analog.com> Date: Fri, 22 Jan 2010 03:05:00 -0000 From: Jie Zhang User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100121 Lightning/1.0b1 Shredder/3.0.1 MIME-Version: 1.0 To: Paul Koning CC: Michael Snyder , Dave Korn , gdb@sourceware.org Subject: Re: Reset breakpoint after load? References: <4B5560E0.3080901@analog.com> <4B582A02.2040501@gmail.com> <4B589CF2.2040304@vmware.com> <20100121211950.GA11880@caradoc.them.org> <4B58D811.8070604@analog.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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/msg00179.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. Jie