[Info-vax] ada archives and debug

Craig A. Berry craigberry at nospam.mac.com
Fri Jan 19 10:50:43 EST 2018


On 1/19/18 8:07 AM, Simon Clubley wrote:
> On 2018-01-18, gérard Calliet <gerard.calliet at pia-sofer.fr> wrote:
>> Le 18/01/2018 à 19:44, Simon Clubley a écrit :
>>> On 2018-01-18, gérard Calliet <gerard.calliet at pia-sofer.fr> wrote:
>>>>
>>>> Now customers demand debug. I'm in the beginning of evalution of this
>>>> facility.
>>>>
>>>> For what I know, Adacore didn't give debug (in VMS style), and they say
>>>> HP didn't "cooperate" on that. I'm wondering if there are been effort
>>>> for that anywhere.
>>>>
>>>
>>> What's wrong with simply using gdb or are you saying that it wasn't
>>> possible for you to build gdb for a VMS target ?
>> I don't know about gdb. The need is being able to use VMS standard debug
>> in a context of multi-langage images (pascal calling Ada calling C ...)
>> where VMS calling standard and VMS debug are just fine.
> 
> gdb _is_ multi-language.
> 
> Have you tried using the Adacore supplied version to see if it can
> debug programs written using a mixture of languages ?

So you're saying the DWARF information produced by a GCC compiler and
the DWARF information produced by a native VMS compiler are compatible
and interchangeable? I'm skeptical. If that were true, then people could
just use the VMS debugger with the GNAT-produced images.

As far as I know (and I'm no expert) the information he needs is not
publicly available and would require the cooperation of VSI, access to
source code, or a lot of trial and error with analyzing object code.

Here's an interesting article on the general (not VMS-specific) topic
with further references:

<https://www.ibm.com/developerworks/library/os-debugging/>



More information about the Info-vax mailing list