Add ``attrib'' parameter to *xfer_memory() functions.
This commit is contained in:
parent
12cca0d293
commit
043780a1fb
8 changed files with 25 additions and 8 deletions
|
@ -1,3 +1,13 @@
|
|||
2001-03-15 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* wince.c (child_xfer_memory): Add attrib parameter.
|
||||
* symm-nat.c (child_xfer_memory): Ditto.
|
||||
* mac-nat.c (child_xfer_memory): Ditto.
|
||||
* infttrace.c (child_xfer_memory): Ditto.
|
||||
* procfs.c (procfs_xfer_memory): Ditto.
|
||||
* lin-thread.c (thread_db_xfer_memory): Ditto.
|
||||
* gnu-nat.c (gnu_xfer_memory): Ditto.
|
||||
|
||||
2001-03-14 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* NEWS: Mention that Harris/CXUX m88k is obsolete.
|
||||
|
@ -50,7 +60,6 @@
|
|||
* config/nm-m3.h: Ditto.
|
||||
* config/nm-gnu.h: Ditto.
|
||||
|
||||
>>>>>>> 1.1049
|
||||
2001-03-14 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* MAINTAINERS: Update list of targets. Mark arm-* and v850-elf as
|
||||
|
|
|
@ -2447,6 +2447,7 @@ out:
|
|||
is ignored. */
|
||||
static int
|
||||
gnu_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
|
||||
struct mem_attrib *attrib,
|
||||
struct target_ops *target)
|
||||
{
|
||||
task_t task = (current_inferior
|
||||
|
|
|
@ -4917,6 +4917,7 @@ _initialize_kernel_u_addr (void)
|
|||
|
||||
int
|
||||
child_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
|
||||
struct mem_attrib *attrib,
|
||||
struct target_ops *target)
|
||||
{
|
||||
register int i;
|
||||
|
|
|
@ -1216,6 +1216,7 @@ thread_db_files_info (struct target_ops *tgt_vector)
|
|||
|
||||
static int
|
||||
thread_db_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int dowrite,
|
||||
struct mem_attrib *attrib,
|
||||
struct target_ops *target)
|
||||
{
|
||||
struct cleanup *old_chain;
|
||||
|
@ -1232,7 +1233,7 @@ thread_db_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int dowrite,
|
|||
}
|
||||
|
||||
ret = target_beneath->to_xfer_memory (memaddr, myaddr, len,
|
||||
dowrite, target);
|
||||
dowrite, attrib, target);
|
||||
do_cleanups (old_chain);
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -225,8 +225,9 @@ child_stop (void)
|
|||
}
|
||||
|
||||
int
|
||||
child_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len,
|
||||
int write, struct target_ops *target)
|
||||
child_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
|
||||
struct mem_attrib *attrib,
|
||||
struct target_ops *target)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
|
|
@ -113,8 +113,9 @@ static void procfs_kill_inferior (void);
|
|||
static void procfs_mourn_inferior (void);
|
||||
static void procfs_create_inferior (char *, char *, char **);
|
||||
static int procfs_wait (int, struct target_waitstatus *);
|
||||
static int procfs_xfer_memory (CORE_ADDR,
|
||||
char *, int, int, struct target_ops *);
|
||||
static int procfs_xfer_memory (CORE_ADDR, char *, int, int,
|
||||
struct mem_attrib *attrib,
|
||||
struct target_ops *);
|
||||
|
||||
static int procfs_thread_alive (int);
|
||||
|
||||
|
@ -3909,6 +3910,7 @@ wait_again:
|
|||
|
||||
static int
|
||||
procfs_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int dowrite,
|
||||
struct mem_attrib *attrib,
|
||||
struct target_ops *target)
|
||||
{
|
||||
procinfo *pi;
|
||||
|
|
|
@ -748,6 +748,7 @@ detach (int signo)
|
|||
|
||||
int
|
||||
child_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
|
||||
struct mem_attrib *attrib,
|
||||
struct target_ops *target)
|
||||
{
|
||||
register int i;
|
||||
|
|
|
@ -1787,8 +1787,9 @@ child_mourn_inferior (void)
|
|||
|
||||
/* Move memory from child to/from gdb. */
|
||||
int
|
||||
child_xfer_memory (CORE_ADDR memaddr, char *our, int len,
|
||||
int write, struct target_ops *target)
|
||||
child_xfer_memory (CORE_ADDR memaddr, char *our, int len, int write,
|
||||
struct mem_attrib *attrib,
|
||||
struct target_ops *target)
|
||||
{
|
||||
if (len <= 0)
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue