Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: "Nathan J. Williams" <nathanw@wasabisystems.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch] gdbserver: Detect and return errors reading memory
Date: Fri, 19 Mar 2004 00:09:00 -0000	[thread overview]
Message-ID: <20040305025911.GB5320@nevyn.them.org> (raw)
Message-ID: <20040319000900.HqEwEKfhVNOkIo3tFiiEPCUMKEfrGD1tSr8tj0-UxZY@z> (raw)
In-Reply-To: <mtullmks2w5.fsf@contents-vnder-pressvre.mit.edu>

On Mon, Mar 01, 2004 at 03:55:54PM -0500, Nathan J. Williams wrote:
> 
> As I promised last week, here is a patch to check for errors reading
> memory in gdbserver and propagate that error back to the host gdb.

This is OK, thanks very much!  Do you have CVS access or shall I commit
it?

[I think some of the files may also need copyright year updates.]

> 
>         - Nathan
> 
> 2004-03-01  Nathan J. Williams  <nathanw@wasabisystems.com>
> 
> 	* linux-low.c (linux_read_memory): Change return type to
> 	int. Check for and return error from ptrace().
> 	* target.c (read_inferior_memory): Change return type to int. Pass
> 	back return status from the_target->read_memory().
> 	* target.h (struct target_ops): Adapt *read_memory() prototype.
> 	Update comment.
> 	(read_inferior_memory): Adapt prototype.
> 	* server.c (main): Return an error packet if
> 	read_inferior_memory() returns an error.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2004-03-05  2:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-01 20:55 Nathan J. Williams
2004-03-05  2:59 ` Daniel Jacobowitz [this message]
2004-03-05  3:37   ` Nathan J. Williams
2004-03-19  0:09     ` Daniel Jacobowitz
2004-03-05  3:48       ` Daniel Jacobowitz
2004-03-05  4:12       ` Andrew Cagney
2004-03-19  0:09         ` Andrew Cagney
2004-03-19  0:09         ` Daniel Jacobowitz
2004-03-05  4:19           ` Daniel Jacobowitz
2004-03-19  0:09     ` Nathan J. Williams
2004-03-19  0:09   ` Daniel Jacobowitz
2004-03-19  0:09 ` Nathan J. Williams

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=20040305025911.GB5320@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=nathanw@wasabisystems.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