[PATCH 2/3] Introduce process_stratum_target
Tom Tromey
tom@tromey.com
Thu Nov 29 18:26:00 GMT 2018
>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
Pedro> This adds a base class that all process_stratum targets inherit from.
Pedro> default_thread_address_space/default_thread_architecture only make
Pedro> sense for process_stratum targets, so they are transformed to
Pedro> process_stratum_target methods/overrides.
Pedro> + process_stratum_target ()
Pedro> + : target_ops {}
This struck me as slightly weird -- though not weird enough to block
anything.
What if I added a protected constructor to target_ops that took the
stratum as an argument? Would there be a problem with that?
Tom
More information about the Gdb-patches
mailing list