diff options
author | Gary Benson <gary@redhat.com> | 2013-06-04 13:10:53 +0000 |
---|---|---|
committer | Gary Benson <gary@redhat.com> | 2013-06-04 13:10:53 +0000 |
commit | ced63ec0871aeb4f81ec09d61e806f464d246a64 (patch) | |
tree | 92098444ff2e0b7f551cf96bc3e03775c6f35fe9 /gdb/target.c | |
parent | 85dc5a128b06ba0d81733740dde149559e2f2630 (diff) | |
download | fsf-binutils-gdb-ced63ec0871aeb4f81ec09d61e806f464d246a64.zip fsf-binutils-gdb-ced63ec0871aeb4f81ec09d61e806f464d246a64.tar.gz fsf-binutils-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.c')
-rw-r--r-- | gdb/target.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/target.c b/gdb/target.c index 8653dac..519b97f 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -731,6 +731,7 @@ update_current_target (void) INHERIT (to_traceframe_info, t); INHERIT (to_use_agent, t); INHERIT (to_can_use_agent, t); + INHERIT (to_augmented_libraries_svr4_read, t); INHERIT (to_magic, t); INHERIT (to_supports_evaluation_of_breakpoint_conditions, t); INHERIT (to_can_run_breakpoint_commands, t); @@ -975,6 +976,9 @@ update_current_target (void) de_fault (to_can_use_agent, (int (*) (void)) return_zero); + de_fault (to_augmented_libraries_svr4_read, + (int (*) (void)) + return_zero); de_fault (to_execution_direction, default_execution_direction); #undef de_fault |