summaryrefslogtreecommitdiff
path: root/gdb/lin-lwp.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/lin-lwp.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/lin-lwp.c')
-rw-r--r--gdb/lin-lwp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/lin-lwp.c b/gdb/lin-lwp.c
index bf52e2feaa2..94af2e82684 100644
--- a/gdb/lin-lwp.c
+++ b/gdb/lin-lwp.c
@@ -935,6 +935,7 @@ lin_lwp_store_registers (int regno)
static int
lin_lwp_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 ();
@@ -943,7 +944,7 @@ lin_lwp_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
if (is_lwp (inferior_pid))
inferior_pid = GET_LWP (inferior_pid);
- xfer = child_xfer_memory (memaddr, myaddr, len, write, target);
+ xfer = child_xfer_memory (memaddr, myaddr, len, write, attrib, target);
do_cleanups (old_chain);
return xfer;