From 971429b4a49f466bf17f9ba9a6fea6517ad68af0 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 16 Feb 2001 23:09:05 +0000 Subject: [PATCH] From Paul Hilfinger. Add attribs param to hpux_thread_xfer_memory. --- gdb/ChangeLog | 7 +++++++ gdb/hpux-thread.c | 6 ++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4f44e9e435..29df80e010 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2001-02-16 Andrew Cagney + + From 2001-02-11 Paul Hilfinger + * 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 * somsolib.c (som_solib_add_solib_objfile): Do not use diff --git a/gdb/hpux-thread.c b/gdb/hpux-thread.c index af456f16d6..4df446eb60 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);