aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorGary Benson <gary@redhat.com>2013-06-04 13:10:53 +0000
committerGary Benson <gary@redhat.com>2013-06-04 13:10:53 +0000
commitced63ec0871aeb4f81ec09d61e806f464d246a64 (patch)
tree92098444ff2e0b7f551cf96bc3e03775c6f35fe9 /gdb/target.h
parent85dc5a128b06ba0d81733740dde149559e2f2630 (diff)
downloadgdb-ced63ec0871aeb4f81ec09d61e806f464d246a64.zip
gdb-ced63ec0871aeb4f81ec09d61e806f464d246a64.tar.gz
gdb-ced63ec0871aeb4f81ec09d61e806f464d246a64.tar.bz2
2013-06-04 Gary Benson <gbenson@redhat.com>
* target.h (target_ops): New field "to_augmented_libraries_svr4_read". (target_augmented_libraries_svr4_read): New macro. * target.c (update_current_target): Handle to_augmented_libraries_svr4_read. * remote.c (remote_state): New field "augmented_libraries_svr4_read". (remote_augmented_libraries_svr4_read_feature): New function. (remote_protocol_features): Add entry for "augmented-libraries-svr4-read". (remote_augmented_libraries_svr4_read): New function. (init_remote_ops): Initialize remote_ops.to_augmented_libraries_svr4_read.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/target.h b/gdb/target.h
index e937d39..a8587e8 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -941,6 +941,10 @@ struct target_ops
(inclusive) to function END (exclusive). */
void (*to_call_history_range) (ULONGEST begin, ULONGEST end, int flags);
+ /* Nonzero if TARGET_OBJECT_LIBRARIES_SVR4 may be read with a
+ non-empty annex. */
+ int (*to_augmented_libraries_svr4_read) (void);
+
int to_magic;
/* Need sub-structure for target machine related rather than comm related?
*/
@@ -1809,6 +1813,9 @@ extern char *target_fileio_read_stralloc (const char *filename);
#define target_can_use_agent() \
(*current_target.to_can_use_agent) ()
+#define target_augmented_libraries_svr4_read() \
+ (*current_target.to_augmented_libraries_svr4_read) ()
+
/* Command logging facility. */
#define target_log_command(p) \