[PATCH v4] Implement "info proc mappings" for NetBSD
Kamil Rytarowski
n54@gmx.com
Sun Apr 12 00:09:18 GMT 2020
On 12.04.2020 01:49, Simon Marchi wrote:
> On 2020-04-11 7:45 p.m., Kamil Rytarowski wrote:
>> Define nbsd_nat_target::find_memory_regions and
>> nbsd_nat_target::info_proc. info_proc handles as of now only
>> the "mappings" command.
>>
>> Define a local static function kinfo_get_vmmap() that reads
>> the process memory layout of a specified process.
>> kinfo_get_vmmap() wraps the sysctl(3) call.
>>
>> nbsd-tdep.c defines now utility functions for printing the
>> process memory layout:
>> * nbsd_info_proc_mappings_header()
>> * nbsd_vm_map_entry_flags()
>> * nbsd_info_proc_mappings_entry()
>
> When sending a new version, can you please rebase it on the current master?
>
> The patch does not apply cleanly on master today, so it doesn't really reflect what's
> going to be merged.
>
> Simon
>
Rebased in v5.
More information about the Gdb-patches
mailing list