diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-17 21:35:52 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:46:00 -0700 |
commit | fc6691b2590f61a2f1deeb9d73e7df23b1ced88a (patch) | |
tree | 22a416682792f682d887a3e1b14b3ff40d88bde2 /gdb/procfs.c | |
parent | 2e73927ca515996146d2b20d8e6f0b39c0a51b29 (diff) | |
download | gdb-fc6691b2590f61a2f1deeb9d73e7df23b1ced88a.zip gdb-fc6691b2590f61a2f1deeb9d73e7df23b1ced88a.tar.gz gdb-fc6691b2590f61a2f1deeb9d73e7df23b1ced88a.tar.bz2 |
Add target_ops argument to to_make_corefile_notes
2014-02-19 Tom Tromey <tromey@redhat.com>
* target.h (struct target_ops) <to_make_corefile_notes>: Add
argument.
(target_make_corefile_notes): Add argument.
* target.c (dummy_make_corefile_notes): Add 'self' argument.
* procfs.c (procfs_make_note_section): Add 'self' argument.
(procfs_make_note_section): Add 'self' argument.
(procfs_make_note_section): Add 'self' argument.
* linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
argument.
* fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
* fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
* exec.c (exec_make_note_section): Add 'self' argument.
(exec_make_note_section): Add 'self' argument.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r-- | gdb/procfs.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c index 360a515..822e1e0 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -140,7 +140,8 @@ static char *procfs_pid_to_str (struct target_ops *, ptid_t); static int proc_find_memory_regions (struct target_ops *self, find_memory_region_ftype, void *); -static char * procfs_make_note_section (bfd *, int *); +static char * procfs_make_note_section (struct target_ops *self, + bfd *, int *); static int procfs_can_use_hw_breakpoint (struct target_ops *self, int, int, int); @@ -5475,7 +5476,7 @@ find_stop_signal (void) } static char * -procfs_make_note_section (bfd *obfd, int *note_size) +procfs_make_note_section (struct target_ops *self, bfd *obfd, int *note_size) { struct cleanup *old_chain; gdb_gregset_t gregs; @@ -5545,7 +5546,7 @@ procfs_make_note_section (bfd *obfd, int *note_size) } #else /* !Solaris */ static char * -procfs_make_note_section (bfd *obfd, int *note_size) +procfs_make_note_section (struct target_ops *self, bfd *obfd, int *note_size) { error (_("gcore not implemented for this host.")); return NULL; /* lint */ |