From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20301 invoked by alias); 5 Apr 2004 20:02:05 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 20272 invoked from network); 5 Apr 2004 20:02:00 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 5 Apr 2004 20:02:00 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i35K205F026752 for ; Mon, 5 Apr 2004 16:02:00 -0400 Received: from localhost.redhat.com (to-dhcp51.toronto.redhat.com [172.16.14.151]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i35K20j30747; Mon, 5 Apr 2004 16:02:00 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 41FF72B92; Mon, 5 Apr 2004 16:02:03 -0400 (EDT) Message-ID: <4071BB3B.3080304@gnu.org> Date: Mon, 05 Apr 2004 20:02:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Randolph Chung Cc: gdb-patches@sources.redhat.com Subject: Re: [patch 2/2] Add hppa-linux target to gdb References: <20040404174532.GR750@tausq.org> In-Reply-To: <20040404174532.GR750@tausq.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-04/txt/msg00123.txt.bz2 > * config/pa/nm-linux.h: New file. With regard to the nm- additions, many of these: > +#define CANNOT_FETCH_REGISTER(regno) pa_cannot_fetch_register(regno) > +extern int pa_cannot_fetch_register (int regno); > + > +#define CANNOT_STORE_REGISTER(regno) pa_cannot_store_register(regno) > +extern int pa_cannot_store_register (int regno); > + > +#define HAVE_STEPPABLE_WATCHPOINT 1 > +#define STOPPED_BY_WATCHPOINT(W) \ > + pa_linux_stopped_by_watchpoint (PIDGET(inferior_ptid)) > +extern CORE_ADDR pa_linux_stopped_by_watchpoint (int); > + > +#define target_insert_watchpoint(addr, len, type) \ > + pa_linux_insert_watchpoint (PIDGET(inferior_ptid), addr, len, type) > +extern int pa_linux_insert_watchpoint (int pid, CORE_ADDR addr, > + int len, int rw); > + > +#define target_remove_watchpoint(addr, len, type) \ > + pa_linux_remove_watchpoint (PIDGET(inferior_ptid), addr, len) > +extern int pa_linux_remove_watchpoint (int pid, CORE_ADDR addr, int len); > + > +/* Hardware watchpoints */ > + > +#define TARGET_HAS_HARDWARE_WATCHPOINTS > + > +#define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) \ > + (type == bp_hardware_watchpoint) > + now live in the target vector. Can I suggest removing them for the moment, we can come back to it later. For the tm- file, it, other than for shlibs, shouldn't be necessary. We're all going to need to finish multi-arching this beastie. Andrew