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
/
sco5-core.c
diff --git
a/bfd/sco5-core.c
b/bfd/sco5-core.c
index 86b5f85efb80c957de7b1020774ee627ab77088f..71e264da4aa3638ebab6da177abf00adef2a0cbc 100644
(file)
--- a/
bfd/sco5-core.c
+++ b/
bfd/sco5-core.c
@@
-1,5
+1,5
@@
/* BFD back end for SCO5 core files (U-area and raw sections)
/* BFD back end for SCO5 core files (U-area and raw sections)
- Copyright (C) 1998-20
17
Free Software Foundation, Inc.
+ Copyright (C) 1998-20
20
Free Software Foundation, Inc.
Written by Jouke Numan <jnuman@hiscom.nl>
This file is part of BFD, the Binary File Descriptor library.
Written by Jouke Numan <jnuman@hiscom.nl>
This file is part of BFD, the Binary File Descriptor library.
@@
-71,7
+71,7
@@
static struct user *
read_uarea (bfd *abfd, int filepos)
{
struct sco5_core_struct *rawptr;
read_uarea (bfd *abfd, int filepos)
{
struct sco5_core_struct *rawptr;
-
bfd_size_type
amt = sizeof (struct sco5_core_struct);
+
size_t
amt = sizeof (struct sco5_core_struct);
rawptr = (struct sco5_core_struct *) bfd_zmalloc (amt);
if (rawptr == NULL)
rawptr = (struct sco5_core_struct *) bfd_zmalloc (amt);
if (rawptr == NULL)
@@
-101,7
+101,7
@@
read_uarea (bfd *abfd, int filepos)
return &rawptr->u;
}
return &rawptr->u;
}
-const bfd_target *
+bfd_cleanup
sco5_core_file_p (bfd *abfd)
{
int coffset_siz, val, nsecs, cheadoffs;
sco5_core_file_p (bfd *abfd)
{
int coffset_siz, val, nsecs, cheadoffs;
@@
-172,7
+172,7
@@
sco5_core_file_p (bfd *abfd)
(file_ptr) coffsets.u_stack))
goto fail;
(file_ptr) coffsets.u_stack))
goto fail;
- return
abfd->xvec;
/* Done for version 1 */
+ return
_bfd_no_cleanup;
/* Done for version 1 */
}
/* Immediately before coreoffsets region is a long with offset in core
}
/* Immediately before coreoffsets region is a long with offset in core
@@
-300,7
+300,7
@@
sco5_core_file_p (bfd *abfd)
}
}
- return
abfd->xvec
;
+ return
_bfd_no_cleanup
;
fail:
if (abfd->tdata.any)
fail:
if (abfd->tdata.any)
@@
-372,12
+372,16
@@
const bfd_target core_sco5_vec =
sco5_core_file_p /* a core file */
},
{ /* bfd_set_format */
sco5_core_file_p /* a core file */
},
{ /* bfd_set_format */
- bfd_false, bfd_false,
- bfd_false, bfd_false
+ _bfd_bool_bfd_false_error,
+ _bfd_bool_bfd_false_error,
+ _bfd_bool_bfd_false_error,
+ _bfd_bool_bfd_false_error
},
{ /* bfd_write_contents */
},
{ /* bfd_write_contents */
- bfd_false, bfd_false,
- bfd_false, bfd_false
+ _bfd_bool_bfd_false_error,
+ _bfd_bool_bfd_false_error,
+ _bfd_bool_bfd_false_error,
+ _bfd_bool_bfd_false_error
},
BFD_JUMP_TABLE_GENERIC (_bfd_generic),
},
BFD_JUMP_TABLE_GENERIC (_bfd_generic),
This page took
0.026604 seconds
and
4
git commands to generate.