Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: Eli Zaretskii <eliz@is.elta.co.il>,
	Michael Snyder <msnyder@cygnus.com>,
	gdb-patches@sources.redhat.com
Subject: Re: [RFA] New option "trust-readonly-sections"
Date: Thu, 24 Jan 2002 08:51:00 -0000	[thread overview]
Message-ID: <3C503B92.5040900@cygnus.com> (raw)
In-Reply-To: <20020124113550.A26125@nevyn.them.org>

> On Thu, Jan 24, 2002 at 09:22:09AM +0200, Eli Zaretskii wrote:
> 
>> 
>> On Thu, 24 Jan 2002, Daniel Jacobowitz wrote:
>> 
> 
>> > I'd rather see this default to on.
> 
>> 
>> That would be an incompatible change.  I think we should avoid such 
>> changes, unless we have a very good reason.
> 
> 
> Stan's reply was convincing.  i guess I've been spoiled by
> protected-memory situations.
> 
> I'd personally like to object to your objection though, Eli. 
> Performance can be a very good reason.  If it wasn't for the other
> drawbacks, I'd consider the argument.
> 
> Perhaps I'm in the minority there, though.


(Would you go near someone wearing an asbestos suit? :-)

It is really important that GDB doesn't lie.  If the tweek is safe then 
certainly enable it.  This tweek _isn't_ safe in embedded targets.

The same goes for things like breakpoints.  GDB pulls them so that the 
target is always left in a clean state.  Not pulling them would be a 
performance bost (knowing the numbers not as much as this one!).

BTW, there are other things that can also be done - for instance 
checking that the target text area hasn't changed.  There is a qCRC 
packet (but from memory it was argued that wasn't strong enough).

Andrew




  reply	other threads:[~2002-01-24 16:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-23 19:29 Michael Snyder
2002-01-23 20:15 ` Andrew Cagney
2002-01-23 21:45 ` Daniel Jacobowitz
2002-01-23 23:23   ` Eli Zaretskii
2002-01-24  8:35     ` Daniel Jacobowitz
2002-01-24  8:51       ` Andrew Cagney [this message]
2002-01-24  9:14         ` Andrew Cagney
2002-01-24  9:25         ` Daniel Jacobowitz
2002-01-23 23:29   ` Stan Shebs
2002-01-24 10:40     ` Michael Snyder
2002-01-24 10:52 ` Andrew Cagney
2002-01-30 18:25   ` Michael Snyder
2002-01-31  1:03     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C503B92.5040900@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=drow@mvista.com \
    --cc=eliz@is.elta.co.il \
    --cc=gdb-patches@sources.redhat.com \
    --cc=msnyder@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox