Hi,
I was not aware that -Werror only gets used for bfd/ when filing the
bug, so there are no more warnings than the two cited in the original
report to fix.
This has been fixed upstream in binutils/#2159, the patch is attached.
This and the gdb.diff for gnu-nat.c I sent in the original report are
the only patches needed to get gdb built again on hurd-i386, no need to
fiddle with debian/rules.
Thanks,
Michael
2006-01-17 Nick Clifton <[EMAIL PROTECTED]>
PR binutils/2159
* elf.c (elfcore_write_pstatus): Add ATTRIBUTE_UNUSED to unused
parameters.
===================================================================
RCS file: /cvs/src/src/bfd/elf.c,v
retrieving revision 1.323
retrieving revision 1.324
diff -u -r1.323 -r1.324
--- src/bfd/elf.c 2005/12/27 09:22:59 1.323
+++ src/bfd/elf.c 2006/01/17 10:34:43 1.324
@@ -7889,8 +7889,8 @@
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";