This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: missing memory attributes argument
- To: Momchil Velikov <velco at fadata dot bg>
- Subject: Re: missing memory attributes argument
- From: Fernando Nasser <fnasser at redhat dot com>
- Date: Sat, 27 Jan 2001 17:12:46 -0500
- CC: gdb-patches at sources dot redhat dot com
- Organization: Red Hat Canada
- References: <87ae8c66ot.fsf@fadata.bg>
Thanks.
I will check it in as an immediate remedy.
But we will have to check with J.T. which of the 3 options we are going
to use to fix these cases.
Fernando
Momchil Velikov wrote:
>
> 2001-01-27 Momchil Velikov <velco@fadata.bg>
>
> * mi-cmd-disas.c (gdb_dis_asm_read_memory): Add missing memory
> attributes argument in the call to `xfer_memory'.
>
> --- mi-cmd-disas.c.orig Sat Jan 27 22:58:03 2001
> +++ mi-cmd-disas.c Fri Jan 26 21:43:48 2001
> @@ -59,7 +59,7 @@
> int res;
>
> errno = 0;
> - res = xfer_memory (memaddr, myaddr, len, 0, &exec_ops);
> + res = xfer_memory (memaddr, myaddr, len, 0, 0, &exec_ops);
>
> if (res == len)
> return 0;
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9