[PATCH 3/7] procfs.c: Don't install a deprecated_xfer_memory method

Pedro Alves palves@redhat.com
Thu Feb 20 16:38:00 GMT 2014


On 02/20/2014 03:56 PM, Joel Brobecker wrote:
>>> gdb/
>>> 2014-02-19  Pedro Alves  <palves@redhat.com>
>>>
>>> 	* procfs.c (procfs_target): Don't install procfs_xfer_memory as
>>> 	deprecated_xfer_memory hook.
>>> 	(procfs_xfer_partial): Call procfs_xfer_memory instead
>>> 	of the deprecated_xfer_memory target hook.
>>> 	(procfs_xfer_memory): Adjust interface as a to_xfer_partial
>>> 	helper.
>>
>> FYI: I tried to test it, but the sparc-solaris debugger appears to be
>> badly broken at the moment, and I won't have much time left this week
>> to investigate the failures, so I'll schedule that for next week.

Thanks.

> 
> I forgot to attach a small patch that fixes a build failure because
> of a declaration that no longer matches the definition...

Thanks!  I'll merge that in.

> After your patch, we could probably avoid the need for this declaration
> by swapping two functions, but for another day.

Yeah.

-- 
Pedro Alves



More information about the Gdb-patches mailing list