On 4/27/2021 7:01 PM, Tom Tromey wrote:
The two GDB plugins in libcc1 share a fair amount of code. This was
done by copy-and-paste, though in reality the underlying code is
nearly identical.
libcc1/ChangeLog
2021-04-27 Tom Tromey
* libcp1.cc (struct libcp1): Derive from base_gdb_p
The two GDB plugins in libcc1 share a fair amount of code. This was
done by copy-and-paste, though in reality the underlying code is
nearly identical.
libcc1/ChangeLog
2021-04-27 Tom Tromey
* libcp1.cc (struct libcp1): Derive from base_gdb_plugin. Remove
shared code.