This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Reset breakpoint after load?


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]