This is the mail archive of the gdb-patches@sources.redhat.com 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] Restore "trust-readonly-section"


Hmm, tabs fubar -- I'll try again with the patch as an attachment.

----- Original Message ----- From: "Michael Snyder" <msnyder@redhat.com>
To: "GDB Patches" <gdb-patches@sources.redhat.com>
Sent: Thursday, May 12, 2005 3:55 PM
Subject: [rfa] Restore "trust-readonly-section"



This seems to have succumbed to bit-rot -- there are new target-read functions
in target.c that don't pay any attention to this user-settable mode bit.


The purpose of "trust-readonly-sections" is to improve speed on
targets where reading memory is expensive (mostly remote).
It checks to see if a read is from a read-only section, and if so,
reads it from the exec file.  It defaults to "off" for safety, but if
users choose to use it, it really speeds up prologue analysis
(and therefore stepping).

This patch just makes it work again.

Attachment: trust_readonly
Description: Binary data


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