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.
This commit is contained in:
Tom Tromey 2013-12-17 21:35:52 -07:00
parent 2e73927ca5
commit fc6691b259
8 changed files with 31 additions and 11 deletions

View file

@ -3779,7 +3779,8 @@ dummy_find_memory_regions (struct target_ops *self,
/* Error-catcher for target_make_corefile_notes. */
static char *
dummy_make_corefile_notes (bfd *ignore1, int *ignore2)
dummy_make_corefile_notes (struct target_ops *self,
bfd *ignore1, int *ignore2)
{
error (_("Command not implemented for this target."));
return NULL;