summaryrefslogtreecommitdiff
path: root/gdb/exec.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:35:52 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:46:00 -0700
commitfc6691b2590f61a2f1deeb9d73e7df23b1ced88a (patch)
tree22a416682792f682d887a3e1b14b3ff40d88bde2 /gdb/exec.c
parent2e73927ca515996146d2b20d8e6f0b39c0a51b29 (diff)
downloadbinutils-fc6691b2590f61a2f1deeb9d73e7df23b1ced88a.tar.gz
binutils-fc6691b2590f61a2f1deeb9d73e7df23b1ced88a.tar.bz2
binutils-fc6691b2590f61a2f1deeb9d73e7df23b1ced88a.zip
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/exec.c')
-rw-r--r--gdb/exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/exec.c b/gdb/exec.c
index f3df4b1b291..61dea49e2d9 100644
--- a/gdb/exec.c
+++ b/gdb/exec.c
@@ -849,7 +849,7 @@ exec_find_memory_regions (struct target_ops *self,
return exec_do_find_memory_regions (func, data);
}
-static char *exec_make_note_section (bfd *, int *);
+static char *exec_make_note_section (struct target_ops *self, bfd *, int *);
/* Fill in the exec file target vector. Very few entries need to be
defined. */
@@ -921,7 +921,7 @@ Show writing into executable and core files."), NULL,
}
static char *
-exec_make_note_section (bfd *obfd, int *note_size)
+exec_make_note_section (struct target_ops *self, bfd *obfd, int *note_size)
{
error (_("Can't create a corefile"));
}