[Info-vax] ada archives and debug
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Mon Jan 22 11:36:29 EST 2018
On 2018-01-19 19:35:46 +0000, John Reagan said:
> On Friday, January 19, 2018 at 11:06:17 AM UTC-5, Stephen Hoffman wrote:
>
>>
>> Itanium integration would be somewhat easier, as the more common ELF>
>> and DWARF formats are used on OpenVMS I64. There'd probably be some
>> need to update for any VMS-isms in that, and work in the debugger to
>> add support for Ada there.
>>
>
> Since most of the debugger is common code between Alpha and Itanium,
> there is already lots of "lang=ada" support in the debugger. The
> debugger converts either the Alpha DSTs or the Itanium DWARF into a
> common internal format. I haven't looked a the DWARF to RST conversion
> to see what it might do with anything specifically Ada'ish like
> PACKAGES and the like.
Hence the "somewhat easier". Color me skeptical on complete cross-tool
compatibility, though. I'd expect OpenVMS filename syntax to require
some work in gdb and/or lldb and some work in the OpenVMS debugger when
(if) that gets handed a Unix path, at the very least. And there are
almost certainly other differences latent here. In the absence of
commonly-accepted tools for syntax and constants and file format
verification and sometimes even with such, there are always wrinkles in
the interpretations and implementations. ELF is common too, but there
are some OpenVMS differences (extensions) in the OpenVMS I64
executables that are written in that scheme. Any Ada compiler
generating code either via gcc or via dragonegg or otherwise would
almost certainly need work.
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list