aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-18 14:15:55 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:47:59 -0700
commit22bcceeec6bfd4373fa8d09acff66115800f0455 (patch)
tree49734741f5a300fade9a1453f1fa2f4fe8c069c3 /gdb/target.c
parent8586ccaaed442190518e751a5789ef9ea5749cf8 (diff)
downloadgdb-22bcceeec6bfd4373fa8d09acff66115800f0455.zip
gdb-22bcceeec6bfd4373fa8d09acff66115800f0455.tar.gz
gdb-22bcceeec6bfd4373fa8d09acff66115800f0455.tar.bz2
convert to_get_tib_address
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_get_tib_address. * target.h (struct target_ops) <to_get_tib_address>: Use TARGET_DEFAULT_NORETURN.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/target.c b/gdb/target.c
index e0b5efb..eb6d2bd 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -708,7 +708,7 @@ update_current_target (void)
/* Do not inherit to_set_circular_trace_buffer. */
/* Do not inherit to_set_trace_buffer_size. */
/* Do not inherit to_set_trace_notes. */
- INHERIT (to_get_tib_address, t);
+ /* Do not inherit to_get_tib_address. */
INHERIT (to_set_permissions, t);
INHERIT (to_static_tracepoint_marker_at, t);
INHERIT (to_static_tracepoint_markers_by_strid, t);
@@ -750,9 +750,6 @@ update_current_target (void)
(void (*) (struct target_ops *, ptid_t))
target_ignore);
current_target.to_read_description = NULL;
- de_fault (to_get_tib_address,
- (int (*) (struct target_ops *, ptid_t, CORE_ADDR *))
- tcomplain);
de_fault (to_set_permissions,
(void (*) (struct target_ops *))
target_ignore);