This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: remote/1966: trust-readonly-sections does not work
- From: Daniel Jacobowitz <drow at false dot org>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 5 Jul 2005 22:38:06 -0000
- Subject: Re: remote/1966: trust-readonly-sections does not work
- Reply-to: Daniel Jacobowitz <drow at false dot org>
The following reply was made to PR remote/1966; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: pkoning@equallogic.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: remote/1966: trust-readonly-sections does not work
Date: Tue, 5 Jul 2005 18:32:03 -0400
On Tue, Jul 05, 2005 at 09:09:40PM -0000, pkoning@equallogic.com wrote:
> When doing remote debugging over a serial line, I use "set
> trust-readonly-sections on" for obvious reasons.
>
> In gdb 6.3 and in the current CVS, this does not work. "set debug
> remote 1" clearly shows data still being fetched from the target --
> for example, when I ask it to disassemble some function.
You can find Michael Snyder's patch for this in May's gdb-patches
archive. I sent him some final comments and he hasn't revised it yet.
--
Daniel Jacobowitz
CodeSourcery, LLC