[PATCH v5] Implement "info proc mappings" for NetBSD

Simon Marchi simark@simark.ca
Sun Apr 12 00:56:52 GMT 2020


On 2020-04-11 8:09 p.m., Kamil Rytarowski wrote:
> +  /* Prereserve more space.  The length argument is volatile and can change
> +     between the sysctl(3) calls as this function can be called against a
> +     running process.  */
> +  length = length * 5 / 3;

I was also wondering why such a "precise" factor, and why not simply times two, for example.

In any case, the patch v5 is ok to push.

Simon


More information about the Gdb-patches mailing list