Browse Source

Re: bfd_cleanup for object_p

Bits still missing from commit cb001c0d28.

	* aoutx.h (aout_@var{size}_some_aout_object_p): Correct synopsis.
	* i386lynx.c (lynx_core_file_p): Correct return type.
	* ptrace-core.c (ptrace_unix_core_file_p): Likewise.
users/aburgess/try-mips-disasm-styling
Alan Modra 4 years ago
parent
commit
31f4ff5731
  1. 4
      bfd/aoutx.h
  2. 2
      bfd/i386lynx.c
  3. 2
      bfd/ptrace-core.c

4
bfd/aoutx.h

@ -451,10 +451,10 @@ FUNCTION
aout_@var{size}_some_aout_object_p
SYNOPSIS
const bfd_target *aout_@var{size}_some_aout_object_p
bfd_cleanup aout_@var{size}_some_aout_object_p
(bfd *abfd,
struct internal_exec *execp,
const bfd_target *(*callback_to_real_object_p) (bfd *));
bfd_cleanup (*callback_to_real_object_p) (bfd *));
DESCRIPTION
Some a.out variant thinks that the file open in @var{abfd}

2
bfd/i386lynx.c

@ -87,7 +87,7 @@
char *lynx_core_file_failing_command ();
int lynx_core_file_failing_signal ();
bool lynx_core_file_matches_executable_p ();
const bfd_target *lynx_core_file_p ();
bfd_cleanup lynx_core_file_p ();
#define MY_core_file_failing_command lynx_core_file_failing_command
#define MY_core_file_failing_signal lynx_core_file_failing_signal

2
bfd/ptrace-core.c

@ -48,7 +48,7 @@ struct trad_core_struct
/* forward declarations */
const bfd_target *ptrace_unix_core_file_p (bfd *abfd);
bfd_cleanup ptrace_unix_core_file_p (bfd *abfd);
char * ptrace_unix_core_file_failing_command (bfd *abfd);
int ptrace_unix_core_file_failing_signal (bfd *abfd);
#define ptrace_unix_core_file_matches_executable_p generic_core_file_matches_executable_p

Loading…
Cancel
Save