summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-02-16 23:09:05 +0000
committerAndrew Cagney <cagney@redhat.com>2001-02-16 23:09:05 +0000
commitef0288976d44e02631618a9b3f8d01822061282d (patch)
tree844a95d67d5cb6ef1d8363186c4d86729afccd30
parente1d27a1e5130a9d01607a95587a6e744f375c69f (diff)
downloadgdb-ef0288976d44e02631618a9b3f8d01822061282d.tar.gz
From Paul Hilfinger. Add attribs param to hpux_thread_xfer_memory.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/hpux-thread.c6
2 files changed, 11 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4f44e9e435a..29df80e0105 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2001-02-16 Andrew Cagney <ac131313@redhat.com>
+
+ From 2001-02-11 Paul Hilfinger <hilfingr@lisbon.int.act-europe.fr>
+ * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
+ argument to parameter list and to call in order to conform to
+ to_xfer_memory field of struct target_ops.
+
2001-02-12 Michael Chastain <chastain@redhat.com>
* somsolib.c (som_solib_add_solib_objfile): Do not use
diff --git a/gdb/hpux-thread.c b/gdb/hpux-thread.c
index af456f16d64..4df446eb609 100644
--- a/gdb/hpux-thread.c
+++ b/gdb/hpux-thread.c
@@ -434,7 +434,8 @@ hpux_thread_prepare_to_store (void)
static int
hpux_thread_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len,
- int dowrite, struct target_ops *target)
+ int dowrite, struct mem_attrib *attribs,
+ struct target_ops *target)
{
int retval;
struct cleanup *old_chain;
@@ -443,7 +444,8 @@ hpux_thread_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len,
inferior_pid = main_pid;
- retval = child_ops.to_xfer_memory (memaddr, myaddr, len, dowrite, target);
+ retval =
+ child_ops.to_xfer_memory (memaddr, myaddr, len, dowrite, attribs, target);
do_cleanups (old_chain);