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.


Jie



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