aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:34:22 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:45:54 -0700
commit503a628d9bced852eb0d5da7eac40fa560c26b17 (patch)
tree9b3b06e0c7448d3d320d05d75cd7a988594e2b7a /gdb/target.h
parentc15906d8e64c7083787ae1548f614f2938089771 (diff)
downloadbinutils-503a628d9bced852eb0d5da7eac40fa560c26b17.zip
binutils-503a628d9bced852eb0d5da7eac40fa560c26b17.tar.gz
binutils-503a628d9bced852eb0d5da7eac40fa560c26b17.tar.bz2
Add target_ops argument to to_thread_name
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_thread_name>: Add argument. * target.c (target_thread_name): Add argument. (update_current_target): Update. * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target.h b/gdb/target.h
index ca2ac0c..d225802 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -523,7 +523,7 @@ struct target_ops
void (*to_find_new_threads) (struct target_ops *);
char *(*to_pid_to_str) (struct target_ops *, ptid_t);
char *(*to_extra_thread_info) (struct target_ops *, struct thread_info *);
- char *(*to_thread_name) (struct thread_info *);
+ char *(*to_thread_name) (struct target_ops *, struct thread_info *);
void (*to_stop) (ptid_t);
void (*to_rcmd) (char *command, struct ui_file *output);
char *(*to_pid_to_exec_file) (int pid);