[PATCH 3/3] gdb: make post_startup_inferior a virtual method on inf_ptrace_target
Tom Tromey
tom@tromey.com
Tue Dec 7 19:10:32 GMT 2021
>>>>> "John" == John Baldwin <jhb@FreeBSD.org> writes:
John> Alternatively, a more invasive patch (but perhaps one a bit more OOP-like)
John> would be to have the various nat targets override create_inferior rather
John> than having a separate target method. For example, in fbsd-nat.c it would
John> be something like this:
This makes sense to me, though I'm also fine with the existing patch.
Tom
More information about the Gdb-patches
mailing list