Make process_stratum_target::stratum "final"

It seemed to me that process_stratum_target::stratum ought to be
"final".

Tested by rebuilding, let me know what you think.

gdb/ChangeLog
2019-04-18  Tom Tromey  <tromey@adacore.com>

	* process-stratum-target.h (class process_stratum_target)
	<stratum>: Add "final".
This commit is contained in:
Tom Tromey 2019-04-18 09:42:46 -06:00
parent 85bec12d61
commit dc34c8972e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2019-04-18 Tom Tromey <tromey@adacore.com>
* process-stratum-target.h (class process_stratum_target)
<stratum>: Add "final".
2019-04-17 Tom Tromey <tromey@adacore.com>
* dwarf2read.c (dwarf2_init_complex_target_type): Check "tt"

View File

@ -29,7 +29,7 @@ class process_stratum_target : public target_ops
public:
~process_stratum_target () override = 0;
strata stratum () const override { return process_stratum; }
strata stratum () const final override { return process_stratum; }
/* We must default these because they must be implemented by any
target that can run. */