X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Flynx-core.c;h=ee070cbc2ee79c50509da7633df4aa8506b80641;hb=563e308f244b1d6adb9d012a3e11d458400b3ff2;hp=2358177dbc62c5ff63ea09087fe1a8372a173d5b;hpb=d0352a18a504a4e7b761f6b3264cf11347d8d056;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/lynx-core.c b/bfd/lynx-core.c index 2358177dbc..ee070cbc2e 100644 --- a/bfd/lynx-core.c +++ b/bfd/lynx-core.c @@ -1,5 +1,5 @@ /* BFD back end for Lynx core files - Copyright 1993 Free Software Foundation, Inc. + Copyright 1993, 1994, 1995, 2001 Free Software Foundation, Inc. Written by Stu Grossman of Cygnus Support. This file is part of BFD, the Binary File Descriptor library. @@ -26,7 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include #include -/* sys/kernel.h should define this, but doesn't always, sigh. */ +/* sys/kernel.h should define this, but doesn't always, sigh. */ #ifndef __LYNXOS #define __LYNXOS #endif @@ -40,7 +40,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* These are stored in the bfd's tdata */ -struct lynx_core_struct +struct lynx_core_struct { int sig; char cmd[PNMLEN + 1]; @@ -83,7 +83,6 @@ make_bfd_asection (abfd, name, flags, _raw_size, vma, filepos) return asect; } -/* ARGSUSED */ const bfd_target * lynx_core_file_p (abfd) bfd *abfd; @@ -146,7 +145,7 @@ lynx_core_file_p (abfd) bfd_set_error (bfd_error_wrong_format); return NULL; } - + core_signal (abfd) = threadp->currsig; newsect = make_bfd_asection (abfd, ".stack", @@ -214,7 +213,6 @@ lynx_core_file_failing_command (abfd) return core_command (abfd); } -/* ARGSUSED */ int lynx_core_file_failing_signal (abfd) bfd *abfd; @@ -222,7 +220,6 @@ lynx_core_file_failing_signal (abfd) return core_signal (abfd); } -/* ARGSUSED */ boolean lynx_core_file_matches_executable_p (core_bfd, exec_bfd) bfd *core_bfd, *exec_bfd;