aboutsummaryrefslogtreecommitdiff
path: root/gdb/thread-db.c
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>2001-01-24 00:26:46 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>2001-01-24 00:26:46 +0000
commite5da8f389f1dee6f7c362ec3904f42b5a481f3b4 (patch)
treee4e3d650da8778f78bc9c5d86abb0f2d998a7234 /gdb/thread-db.c
parent090c42a489b89e7c70385b16abd3fa8a839e665b (diff)
downloadgdb-e5da8f389f1dee6f7c362ec3904f42b5a481f3b4.zip
gdb-e5da8f389f1dee6f7c362ec3904f42b5a481f3b4.tar.gz
gdb-e5da8f389f1dee6f7c362ec3904f42b5a481f3b4.tar.bz2
* 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 ed27861..f425bf4 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;