aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:36:17 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:01 -0700
commit3c80fb48ecf664f8e9c37af310ca3f7c5c54faec (patch)
treed933b5afc5f48f8a622c6c39befd0fef03563df5 /gdb/target.h
parentdd0e2830ee1e66c4bac079bacffc081a041cb5a8 (diff)
downloadbinutils-3c80fb48ecf664f8e9c37af310ca3f7c5c54faec.zip
binutils-3c80fb48ecf664f8e9c37af310ca3f7c5c54faec.tar.gz
binutils-3c80fb48ecf664f8e9c37af310ca3f7c5c54faec.tar.bz2
Add target_ops argument to to_goto_bookmark
2014-02-19 Tom Tromey <tromey@redhat.com> * target.h (struct target_ops) <to_goto_bookmark>: Add argument. (target_goto_bookmark): Add argument. * target.c (dummy_goto_bookmark): Add 'self' argument. * record-full.c (record_full_goto_bookmark): Add 'self' argument.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 732c2a9..526ba52 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -554,7 +554,7 @@ struct target_ops
/* get_bookmark support method for bookmarks */
gdb_byte * (*to_get_bookmark) (struct target_ops *, char *, int);
/* goto_bookmark support method for bookmarks */
- void (*to_goto_bookmark) (gdb_byte *, int);
+ void (*to_goto_bookmark) (struct target_ops *, gdb_byte *, int);
/* Return the thread-local address at OFFSET in the
thread-local storage for the thread PTID and the shared library
or executable file given by OBJFILE. If that block of
@@ -1575,7 +1575,7 @@ extern char *target_thread_name (struct thread_info *);
(current_target.to_get_bookmark) (&current_target, ARGS, FROM_TTY)
#define target_goto_bookmark(ARG, FROM_TTY) \
- (current_target.to_goto_bookmark) (ARG, FROM_TTY)
+ (current_target.to_goto_bookmark) (&current_target, ARG, FROM_TTY)
/* Hardware watchpoint interfaces. */