aboutsummaryrefslogtreecommitdiff
path: root/bfd/irix-core.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2005-03-29 04:19:34 +0000
committerJoel Brobecker <brobecker@gnat.com>2005-03-29 04:19:34 +0000
commitaa2e06ba60e77ac70a37a6f5537eeaee4ebd1307 (patch)
treecb36f7d8836c3b736f188f87b15d368046d67e9c /bfd/irix-core.c
parentb109e79adcb0d7e31737de397f97fa41d1d4e528 (diff)
downloadgdb-aa2e06ba60e77ac70a37a6f5537eeaee4ebd1307.zip
gdb-aa2e06ba60e77ac70a37a6f5537eeaee4ebd1307.tar.gz
gdb-aa2e06ba60e77ac70a37a6f5537eeaee4ebd1307.tar.bz2
* 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.
Diffstat (limited to 'bfd/irix-core.c')
-rw-r--r--bfd/irix-core.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/irix-core.c b/bfd/irix-core.c
index 740907b..c7e1268 100644
--- a/bfd/irix-core.c
+++ b/bfd/irix-core.c
@@ -152,7 +152,7 @@ do_sections (abfd, coreout)
continue;
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))
/* Fail. */
return 0;
@@ -288,7 +288,8 @@ irix_core_core_file_failing_signal (abfd)
static bfd_boolean
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 */
}