From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21114 invoked by alias); 10 Feb 2012 19:06:18 -0000 Received: (qmail 21098 invoked by uid 22791); 10 Feb 2012 19:06:17 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,TW_NV,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 10 Feb 2012 19:06:03 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 89DAF1C681E; Fri, 10 Feb 2012 14:06:02 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DycHh9QQYDjY; Fri, 10 Feb 2012 14:06:02 -0500 (EST) Received: from [192.168.1.123] (dpc6682073249.direcpc.com [66.82.73.249]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by rock.gnat.com (Postfix) with ESMTPSA id 5F15E1C67F7; Fri, 10 Feb 2012 14:05:55 -0500 (EST) Message-ID: <4F356A8B.509@gnat.com> Date: Fri, 10 Feb 2012 19:06:00 -0000 From: Douglas Rupp User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: Tristan Gingold CC: "gdb-patches@sourceware.org ml" , Rupp Douglas Subject: Re: RFA: New port: ia64-hp-openvms - the stub References: <6AD2487F-8409-4F4E-93A6-9DB7FD195E71@adacore.com> <35B93121-2F70-4E7C-B415-E691138D6698@adacore.com> In-Reply-To: <35B93121-2F70-4E7C-B415-E691138D6698@adacore.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-02/txt/msg00217.txt.bz2 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