summaryrefslogtreecommitdiff
path: root/gdb/thread-db.c
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@redback.com>2001-01-24 00:26:46 +0000
committerJ.T. Conklin <jtc@redback.com>2001-01-24 00:26:46 +0000
commit64cc281dce07e0bcd2e8640553d3bbba004bda75 (patch)
treeb2e2a85a28d5038f9a5882de007cddbcb426a016 /gdb/thread-db.c
parentae8428dd8f964225a61d8a7658e9618b69ee6270 (diff)
downloadgdb-64cc281dce07e0bcd2e8640553d3bbba004bda75.tar.gz
* lin-lwp.c (lin_lwp_xfer_memory): Add attrib argument.
* thread-db.c (thread_db_xfer_memory): Likewise.
Diffstat (limited to 'gdb/thread-db.c')
-rw-r--r--gdb/thread-db.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/thread-db.c b/gdb/thread-db.c
index ed278610a77..f425bf489e5 100644
--- a/gdb/thread-db.c
+++ b/gdb/thread-db.c
@@ -753,6 +753,7 @@ thread_db_wait (int pid, struct target_waitstatus *ourstatus)
static int
thread_db_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
+ struct mem_attrib *attrib,
struct target_ops *target)
{
struct cleanup *old_chain = save_inferior_pid ();
@@ -768,7 +769,7 @@ thread_db_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
inferior_pid = lwp_from_thread (inferior_pid);
}
- xfer = target_beneath->to_xfer_memory (memaddr, myaddr, len, write, target);
+ xfer = target_beneath->to_xfer_memory (memaddr, myaddr, len, write, attrib, target);
do_cleanups (old_chain);
return xfer;