This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: New port: ia64-hp-openvms - the stub
On Feb 10, 2012, at 8:05 PM, Douglas Rupp wrote:
> 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 vas?
Well, this is too early. There are higher priorities (such as thread support)
Tristan.