libgdbXXX.dll + libAPI.dll + C::B related work = debugger plugin
also usable as the libgdbXXX.dll + stub = GDB.EXE
Upon target device selection for a project can in future use different variants of libgdbXXX.dll as ARM, MIPS, SUPERH etc.
I agree that in open world is quite hard to maintain such kind of code