diff options
author | Roland McGrath <roland@gnu.org> | 2004-02-25 20:41:29 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2004-02-25 20:41:29 +0000 |
commit | aa691b87c2317cc90bbe4964d79e5a29c29f348e (patch) | |
tree | 3148fc04a3808796f45d697c37aa827f71830170 /gdb/gdbserver/target.h | |
parent | 802188a76ca9ff156990952648232e279aa157b9 (diff) | |
download | gdb-aa691b87c2317cc90bbe4964d79e5a29c29f348e.zip gdb-aa691b87c2317cc90bbe4964d79e5a29c29f348e.tar.gz gdb-aa691b87c2317cc90bbe4964d79e5a29c29f348e.tar.bz2 |
2004-02-25 Roland McGrath <roland@redhat.com>
* target.h (struct target_ops): New member `read_auxv'.
* server.c (handle_query): Handle qPart:auxv:read: query using that.
* linux-low.c (linux_read_auxv): New function.
(linux_target_ops): Initialize `read_auxv' member to that.
Diffstat (limited to 'gdb/gdbserver/target.h')
-rw-r--r-- | gdb/gdbserver/target.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h index aa0a44a..f4bc674 100644 --- a/gdb/gdbserver/target.h +++ b/gdb/gdbserver/target.h @@ -92,7 +92,7 @@ struct target_ops If REGNO is -1, fetch all registers; otherwise, fetch at least REGNO. */ void (*fetch_registers) (int regno); - + /* Store registers to the inferior process. If REGNO is -1, store all registers; otherwise, store at least REGNO. */ @@ -125,6 +125,12 @@ struct target_ops /* Send a signal to the inferior process, however is appropriate. */ void (*send_signal) (int); + + /* Read auxiliary vector data from the inferior process. + + Read LEN bytes at OFFSET into a buffer at MYADDR. */ + + int (*read_auxv) (CORE_ADDR offset, char *myaddr, unsigned int len); }; extern struct target_ops *the_target; |