Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: mark.kettenis@xs4all.nl (Mark Kettenis)
Cc: drow@false.org, gdb-patches@sourceware.org
Subject: Re: [rfc] Eliminate write_register from solib-sunos.c
Date: Mon, 14 May 2007 20:53:00 -0000	[thread overview]
Message-ID: <200705142053.l4EKrhQD020798@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <200705141515.l4EFFOHF015937@brahms.sibelius.xs4all.nl> from "Mark Kettenis" at May 14, 2007 05:15:24 PM

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


  reply	other threads:[~2007-05-14 20:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-12  0:31 Ulrich Weigand
2007-05-13 23:55 ` Daniel Jacobowitz
2007-05-14 15:01   ` Ulrich Weigand
2007-05-14 15:15     ` Mark Kettenis
2007-05-14 20:53       ` Ulrich Weigand [this message]
2007-06-04 18:53       ` Ulrich Weigand
2007-06-15 16:46         ` Mark Kettenis
2007-06-15 16:58           ` Ulrich Weigand
2007-06-15 21:22             ` Mark Kettenis
2007-06-15 21:28             ` Daniel Jacobowitz
2007-06-15 22:13               ` Ulrich Weigand
2007-05-14 15:21     ` Daniel Jacobowitz
2007-05-14 20:28       ` Ulrich Weigand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200705142053.l4EKrhQD020798@d12av02.megacenter.de.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=mark.kettenis@xs4all.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox