Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <kettenis@gnu.org>
To: kevinb@redhat.com
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH/RFA] Don't relocate SunOS-style a.out dynamic executables
Date: Wed, 08 Sep 2004 14:32:00 -0000	[thread overview]
Message-ID: <200409081431.i88EVKPc023175@juw15.nfra.nl> (raw)
In-Reply-To: <20040824163945.35ee121a@saguaro> (message from Kevin Buettner on Tue, 24 Aug 2004 16:39:45 -0700)

   Date: Tue, 24 Aug 2004 16:39:45 -0700
   From: Kevin Buettner <kevinb@redhat.com>

   On Sun, 22 Aug 2004 20:56:34 +0200 (CEST)
   Mark Kettenis <kettenis@chello.nl> wrote:

   > Since I was curious whether our SunOS-style a.out shared library
   > support still worked, I fired up my virtual VAX[1] and installed
   > NetBSD 1.5.2 on it.  Alas, GDB didn't quite work, and indeed the
   > solib-sunos.c code is to blame.  Some debugging revealed that the code
   > was relocating the main executable over two bytes.  If you know a bit
   > about the VAX and look at the code it is pretty easy to see why.  VAX
   > functions start at an offset of two bytes from the function's address.

   Those two bytes are a register save mask?  (Not that it matters; just
   trying to remember something that I knew a very long time ago.)

Yup.

   > If so, I'd like to apply the attached patch.

   Sure.  It's okay with me.

Committed now, thanks (and sorry for the delay),

Mark


      reply	other threads:[~2004-09-08 14:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-22 18:56 Mark Kettenis
2004-08-24 23:39 ` Kevin Buettner
2004-09-08 14:32   ` Mark Kettenis [this message]

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=200409081431.i88EVKPc023175@juw15.nfra.nl \
    --to=kettenis@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kevinb@redhat.com \
    /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