[Info-vax] ada archives and debug
Tristan Gingold
tgingold+news at free.fr
Sat Jan 20 02:13:14 EST 2018
Johnny Billquist <bqt at softjar.se> writes:
> On 2018-01-18 19:44, Simon Clubley wrote:
>> 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 seriously doubt that gdb will work on VMS, unless someone have
> ported gdb. And this requires a more complex form of porting than just
> getting the compiler to accept the source, and the libraries to be
> available with the right functions.
>
> gdb, but its very nature, requires to understand more of the internal
> plumbing of VMS. Or else how do you expect it to know how to force a
> program to stop at some breakpoint, examine different threads, resume
> execution, install trap vectors for different issues, catch those
> traps and do something, possibly attach to other processes, single
> step code... The list goes on. This is a way different level of
> porting than most other things.
Have a look at:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/stubs/ia64vms-stub.c;hb=HEAD
More information about the Info-vax
mailing list