From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5151 invoked by alias); 14 May 2007 20:53:50 -0000 Received: (qmail 5142 invoked by uid 22791); 14 May 2007 20:53:49 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate4.de.ibm.com (HELO mtagate4.de.ibm.com) (195.212.29.153) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 14 May 2007 20:53:47 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate4.de.ibm.com (8.13.8/8.13.8) with ESMTP id l4EKrio0176320 for ; Mon, 14 May 2007 20:53:44 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.3) with ESMTP id l4EKrhiw3215440 for ; Mon, 14 May 2007 22:53:43 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l4EKrhQ1020801 for ; Mon, 14 May 2007 22:53:43 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id l4EKrhQD020798; Mon, 14 May 2007 22:53:43 +0200 Message-Id: <200705142053.l4EKrhQD020798@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Mon, 14 May 2007 22:53:43 +0200 Subject: Re: [rfc] Eliminate write_register from solib-sunos.c To: mark.kettenis@xs4all.nl (Mark Kettenis) Date: Mon, 14 May 2007 20:53:00 -0000 From: "Ulrich Weigand" Cc: drow@false.org, gdb-patches@sourceware.org In-Reply-To: <200705141515.l4EFFOHF015937@brahms.sibelius.xs4all.nl> from "Mark Kettenis" at May 14, 2007 05:15:24 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 2007-05/txt/msg00256.txt.bz2 Mark Kettenis wrote: > > In fact, this is very weird as those same bsd targets have solib-svr4.o > > in their .mt files. Which one is getting used in that case? I'll try > > to find out what's going on here ... > > There are some a.out BSD targets that use solib-sunos.o. In > particular OpenBSD/m68k still uses it. Interestingly enough, that > target sets DECR_PC_AFTER_BREAK to 2. I'll fire up my Quadra 800 and > investigate somewhere later this week. Thanks! It looks like the following native targets use solib-sunos.o (this works due to init-order for native targets only; a cross-target would attempt to use solib-svr4.o): arm*-*-netbsd* (except arm*-*-netbsdelf*) sparc*-*-netbsd* (except sparc*-*-netbsdelf*) vax*-*-netbsd* (except vax*-*-netbsdelf*) None of those define DECR_PC_AFTER_BREAK. i[34567]86-*-netbsd* (except i[34567]86-*-netbsdelf*) i[34567]86-*-openbsd[0-2].* | i[34567]86-*-openbsd3.[0-3] These define DECR_PC_AFTER_BREAK to 1. m68*-*-netbsd* (except m68*-*-netbsdelf*) m68*-*-openbsd* These define DECR_PC_AFTER_BREAK to 2, as you point out. Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com