* irix-core.c (do_sections): Replace + by | in expression.
(irix_core_core_file_matches_executable_p): Add ATTRIBUTE_UNUSED to unused parameters to avoid a compiler warning.
This commit is contained in:
parent
b109e79adc
commit
aa2e06ba60
@ -1,3 +1,9 @@
|
|||||||
|
2005-03-28 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
|
* irix-core.c (do_sections): Replace + by | in expression.
|
||||||
|
(irix_core_core_file_matches_executable_p): Add ATTRIBUTE_UNUSED
|
||||||
|
to unused parameters to avoid a compiler warning.
|
||||||
|
|
||||||
2005-03-28 Mark Kettenis <kettenis@gnu.org>
|
2005-03-28 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* netbsd-core.c: Convert to ISO C. Fix formatting.
|
* netbsd-core.c: Convert to ISO C. Fix formatting.
|
||||||
|
@ -152,7 +152,7 @@ do_sections (abfd, coreout)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!make_bfd_asection (abfd, secname,
|
if (!make_bfd_asection (abfd, secname,
|
||||||
SEC_ALLOC | SEC_LOAD+SEC_HAS_CONTENTS,
|
SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS,
|
||||||
vmap.v_len, vmap.v_vaddr, vmap.v_offset))
|
vmap.v_len, vmap.v_vaddr, vmap.v_offset))
|
||||||
/* Fail. */
|
/* Fail. */
|
||||||
return 0;
|
return 0;
|
||||||
@ -288,7 +288,8 @@ irix_core_core_file_failing_signal (abfd)
|
|||||||
|
|
||||||
static bfd_boolean
|
static bfd_boolean
|
||||||
irix_core_core_file_matches_executable_p (core_bfd, exec_bfd)
|
irix_core_core_file_matches_executable_p (core_bfd, exec_bfd)
|
||||||
bfd *core_bfd, *exec_bfd;
|
bfd *core_bfd ATTRIBUTE_UNUSED;
|
||||||
|
bfd *exec_bfd ATTRIBUTE_UNUSED;
|
||||||
{
|
{
|
||||||
return TRUE; /* XXX - FIXME */
|
return TRUE; /* XXX - FIXME */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user