This is the mail archive of the gdb-patches@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: [RFA] Rewrite data cache and use for stack access.


On Mon, Jun 29, 2009 at 12:56:43PM -0700, Michael Snyder wrote:
> Daniel Jacobowitz wrote:
> 
> >The other especially useful place is code analysis.  If code accesses
> >were marked appropriately, we could redirect them straight to the
> >executable (mild risk, see my recent conversation with Pedro about
> >fix-and-continue style patching) or to the data cache (almost no
> >risk).
> 
> By the way, we can already redirect them to the executable
> by using "set trust-readonly-sections".

Right, but higher risk.  Like the existing data cache, that changes GDB
behavior based on the address being accessed; Jacob's work changes
behavior based on the intention of the access.

-- 
Daniel Jacobowitz
CodeSourcery


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