Will therefore GDB utilize C++? Not.
Robert Dewar
dewar@adacore.com
Sat Apr 7 01:04:00 GMT 2012
On 4/6/2012 7:32 PM, John Gilmore wrote:
>> And yet, that's exactly what we are doing:
>> - unit elaboration;
>> - gdbarch/language dispatching
>> - exception handling
>> - use of unions to emulate polymorphism;
>
> Writing modular programs is a good idea even if we don't do it in C++.
> I have heard it claimed that many techniques of modular programming
> were even invented before C++ existed - though that may be doubted.
Doubted by whom? Certainly not by anyone with any awareness of the
history of programming languages. The notions of modular programming
existed LONG LONG before C++ was invented and are represented in
many programming languages! Next someone will be thinking that C++
invented object oriented programming :-)
> PPS: What is "unit elaboration" and what does that have to do with
> GDB? All I can find from a quick web search is that it has something
> to do with Ada. Perhaps other languages don't do it -- or have
> another name for it. "Linking"? Are you sure we shouldn't rewrite
> bits of GDB in Ada instead of C++?
:-)
More information about the Gdb
mailing list