summaryrefslogtreecommitdiff
path: root/gdb/infptrace.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-01-19 03:32:43 +0000
committerAndrew Cagney <cagney@redhat.com>2002-01-19 03:32:43 +0000
commit8f769fd051424acd6f5c75dc648fc0e85814ccec (patch)
treebb291aff7d0e810815deae9586b7f0a7cc374a64 /gdb/infptrace.c
parentdd3f7f9820c6a7eea6685c6b461a573f7f74b081 (diff)
downloadgdb-8f769fd051424acd6f5c75dc648fc0e85814ccec.tar.gz
Remove ATTRIBUTE_UNUSED. Update (C).
Diffstat (limited to 'gdb/infptrace.c')
-rw-r--r--gdb/infptrace.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/infptrace.c b/gdb/infptrace.c
index c39ca030e78..777a5b491ed 100644
--- a/gdb/infptrace.c
+++ b/gdb/infptrace.c
@@ -1,6 +1,6 @@
/* Low level Unix child interface to ptrace, for GDB when running under Unix.
- Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998,
- 1999, 2000, 2001
+ Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
+ 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
This file is part of GDB.
@@ -502,8 +502,7 @@ store_inferior_registers (int regno)
int
child_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
- struct mem_attrib *attrib ATTRIBUTE_UNUSED,
- struct target_ops *target)
+ struct mem_attrib *attrib, struct target_ops *target)
{
int i;
/* Round starting address down to longword boundary. */