aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-01-17 10:34:43 +0000
committerNick Clifton <nickc@redhat.com>2006-01-17 10:34:43 +0000
commit6c10990dfd7186c063f2857439477a377c29fb18 (patch)
tree8567678dd8c52f80feb8f3537d693661ceeffff2 /bfd/elf.c
parent476238071e377c9543160ee47df57ff1bc33b5bd (diff)
downloadgdb-6c10990dfd7186c063f2857439477a377c29fb18.zip
gdb-6c10990dfd7186c063f2857439477a377c29fb18.tar.gz
gdb-6c10990dfd7186c063f2857439477a377c29fb18.tar.bz2
PR binutils/2159
* elf.c (elfcore_write_pstatus): Add ATTRIBUTE_UNUSED to unused parameters.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 5cd9215..2ef3872 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -7889,8 +7889,8 @@ elfcore_write_pstatus (bfd *abfd,
char *buf,
int *bufsiz,
long pid,
- int cursig,
- const void *gregs)
+ int cursig ATTRIBUTE_UNUSED,
+ const void *gregs ATTRIBUTE_UNUSED)
{
pstatus_t pstat;
char *note_name = "CORE";