diff options
author | Yao Qi <yao@codesourcery.com> | 2011-08-14 13:03:13 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2011-08-14 13:03:13 +0000 |
commit | 78d8519916ea5cc108bb6280779e0384978fa6d2 (patch) | |
tree | de5d8d9878253d714752940a83cb776510b7acd4 /gdb/target.h | |
parent | d3e3fa9393077d57b41b07f96be95e1035dcda48 (diff) | |
download | gdb-78d8519916ea5cc108bb6280779e0384978fa6d2.zip gdb-78d8519916ea5cc108bb6280779e0384978fa6d2.tar.gz gdb-78d8519916ea5cc108bb6280779e0384978fa6d2.tar.bz2 |
gdb/
* remote.c (PACKET_qXfer_fdpic): New enum value.
(remote_protocol_features): Add qXfer:fdpic:read packet.
(remote_xfer_partial): Support TARGET_OBJECT_FDPIC.
(_initialize_remote): Add set/show remote read-fdpic-loadmap command.
* target.h (enum target_object): Add TARGET_OBJECT_FDPIC.
gdb/gdbserver:
* target.h (struct target_ops): Add read_loadmap.
* linux-low.c (struct target_loadseg): New type.
(struct target_loadmap): New type.
(linux_read_loadmap): New function.
(linux_target_ops): Add linux_read_loadmap.
* server.c (handle_query): Support qXfer:fdpic:read packet.
* win32-low.c (win32_target_ops): Initialize field `read_loadmap' to NULL.
gdb/doc/
* gdb.texinfo : Document qXfer:fdpic:read packet.
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/target.h b/gdb/target.h index 3b39d6f..e264657 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -274,6 +274,8 @@ enum target_object TARGET_OBJECT_HPUX_SOLIB_GOT, /* Traceframe info, in XML format. */ TARGET_OBJECT_TRACEFRAME_INFO, + /* Load maps for FDPIC systems. */ + TARGET_OBJECT_FDPIC, /* Possible future objects: TARGET_OBJECT_FILE, ... */ }; |