RFA: New port: ia64-hp-openvms - the stub

Douglas Rupp rupp@gnat.com
Fri Feb 10 19:06:00 GMT 2012


On 2/10/2012 5:43 AM, Tristan Gingold wrote:
> Hi,
>
> this is the debugger stub for ia64 VMS.
> Because it is independent of gdb (not unlike gdbserver) and because it isn't a one file stub, I think it is worth creating a subdirectory.
> I think we should also move the existing stubs there.
>
> The interesting part is that on OpenVMS, the debugger is a shared library that is loaded with the application when debugging is needed (either from the start or during the run - like attach).  Just think about catching SIGTRAP, SIGSEGV, SIGBUS,Â… from a LD_PRELOAD binary.
>
> The stub was written from scratch because it is highly OpenVMS dependent and in particular the standard C library shouldn't be used.
>
> The stub is not complete: some registers are partially or not handled, and inferior procedure call is not yet implemented (will be the funny part).  But it has already be extremely useful to debug some applications.
>
> Tristan.
>

Would it make sense to factor out the ia64 specific bits, so as to 
facilitate porting to alpha vms?
--Doug



More information about the Gdb-patches mailing list