I modified the gdbserver backend to use this dispatch patch mechanism
A backend struct dispatch table is defined through which all backend
specific functions are called. The default dispatch table is setup in init:
backend.cleanup = NULL;
backend.detach = NULL;
backend.end_init
Very helpful -- thanks!
On 05/09/2017 07:53 PM, Eugene Syromiatnikov wrote:
> On Tue, May 09, 2017 at 06:33:16PM -0400, Andy Riebs wrote:
>> With kernel address space randomization enabled (the default, "sysctl
>> kernel.randomize_va_space=1"), the build is just fine. However, if it is
>> disabled