projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git]
/
bfd
/
hpux-core.c
diff --git
a/bfd/hpux-core.c
b/bfd/hpux-core.c
index 4be09e07f870cb16c1700afef97c515e6dc6a985..2ecd4f17d5916f780a7e7940fa3b03bf88e76a6a 100644
(file)
--- a/
bfd/hpux-core.c
+++ b/
bfd/hpux-core.c
@@
-1,5
+1,5
@@
/* BFD back-end for HP/UX core files.
/* BFD back-end for HP/UX core files.
- Copyright (C) 1993-20
18
Free Software Foundation, Inc.
+ Copyright (C) 1993-20
20
Free Software Foundation, Inc.
Written by Stu Grossman, Cygnus Support.
Converted to back-end form by Ian Lance Taylor, Cygnus SUpport
Written by Stu Grossman, Cygnus Support.
Converted to back-end form by Ian Lance Taylor, Cygnus SUpport
@@
-28,7
+28,7
@@
#include "bfd.h"
#include "libbfd.h"
#include "bfd.h"
#include "libbfd.h"
-#if defined (HOST_HPPAHPUX) || defined (HOST_HP
300HPUX) || defined (HOST_HP
PAMPEIX)
+#if defined (HOST_HPPAHPUX) || defined (HOST_HPPAMPEIX)
/* FIXME: sys/core.h doesn't exist for HPUX version 7. HPUX version
5, 6, and 7 core files seem to be standard trad-core.c type core
/* FIXME: sys/core.h doesn't exist for HPUX version 7. HPUX version
5, 6, and 7 core files seem to be standard trad-core.c type core
@@
-106,7
+106,7
@@
struct hpux_core_struct
static asection *make_bfd_asection (bfd *, const char *, flagword,
bfd_size_type, bfd_vma, unsigned int);
static asection *make_bfd_asection (bfd *, const char *, flagword,
bfd_size_type, bfd_vma, unsigned int);
-static
const bfd_target *
hpux_core_core_file_p (bfd *);
+static
bfd_cleanup
hpux_core_core_file_p (bfd *);
static char *hpux_core_core_file_failing_command (bfd *);
static int hpux_core_core_file_failing_signal (bfd *);
static void swap_abort (void);
static char *hpux_core_core_file_failing_command (bfd *);
static int hpux_core_core_file_failing_signal (bfd *);
static void swap_abort (void);
@@
-157,7
+157,7
@@
thread_section_p (bfd *abfd ATTRIBUTE_UNUSED,
in which the core file is generated by some non-hpux application.
(I am just guessing here!)
*/
in which the core file is generated by some non-hpux application.
(I am just guessing here!)
*/
-static
const bfd_target *
+static
bfd_cleanup
hpux_core_core_file_p (bfd *abfd)
{
int good_sections = 0;
hpux_core_core_file_p (bfd *abfd)
{
int good_sections = 0;
@@
-337,12
+337,12
@@
hpux_core_core_file_p (bfd *abfd)
*/
if ((unknown_sections > 0) && (good_sections > 0))
_bfd_error_handler
*/
if ((unknown_sections > 0) && (good_sections > 0))
_bfd_error_handler
- ("%B appears to be a core file,\nbut contains unknown sections."
+ ("%
p
B appears to be a core file,\nbut contains unknown sections."
" It may have been created on an incompatible\nversion of HP-UX."
" As a result, some information may be unavailable.\n",
abfd);
" It may have been created on an incompatible\nversion of HP-UX."
" As a result, some information may be unavailable.\n",
abfd);
- return
abfd->xvec
;
+ return
_bfd_no_cleanup
;
fail:
bfd_release (abfd, core_hdr (abfd));
fail:
bfd_release (abfd, core_hdr (abfd));
This page took
0.024552 seconds
and
4
git commands to generate.