diff options
author | Joel Brobecker <brobecker@gnat.com> | 2005-03-29 04:19:34 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2005-03-29 04:19:34 +0000 |
commit | 110710bac63049d86d29eaf2dc723b5ad6c0b8d2 (patch) | |
tree | 6710365638f6c10120dbe5f50e48045c61162c3f | |
parent | 8f3a224da3dd5865e7796a4448228c1df4b81bb6 (diff) | |
download | gdb-110710bac63049d86d29eaf2dc723b5ad6c0b8d2.tar.gz |
* 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.
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/irix-core.c | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 546904e2bad..807abd07043 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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> * netbsd-core.c: Convert to ISO C. Fix formatting. diff --git a/bfd/irix-core.c b/bfd/irix-core.c index 740907b86ec..c7e1268dd9b 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 */ } |