diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-06-26 15:10:48 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-06-26 15:10:48 +0000 |
commit | d50867903fea3ec5cb9a85874aa45a08844952a7 (patch) | |
tree | d2799565753bb10d8972b1126d5cc4ad0a887abe /gdb/target.h | |
parent | 54cde457963e524c3e8656dead262525a3d00130 (diff) | |
download | gdb-d50867903fea3ec5cb9a85874aa45a08844952a7.zip gdb-d50867903fea3ec5cb9a85874aa45a08844952a7.tar.gz gdb-d50867903fea3ec5cb9a85874aa45a08844952a7.tar.bz2 |
* target.c (target_read_until_error): New.
* target.h (target_read_until_error): Declare.
* mi/mi-main.c (mi_cmd_data_read_memory): Use
target_read_until_error.
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/target.h b/gdb/target.h index 902d428..9641f0d 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -230,6 +230,11 @@ extern LONGEST target_read (struct target_ops *ops, const char *annex, gdb_byte *buf, ULONGEST offset, LONGEST len); +extern LONGEST target_read_until_error (struct target_ops *ops, + enum target_object object, + const char *annex, gdb_byte *buf, + ULONGEST offset, LONGEST len); + extern LONGEST target_write (struct target_ops *ops, enum target_object object, const char *annex, const gdb_byte *buf, |