From: "David S. Miller" <davem@redhat.com>
To: msnyder@redhat.com
Cc: gdb@sources.redhat.com, gdb-patches@sources.redhat.com
Subject: Re: [RFC] Time for a shared linux-nat.c module?
Date: Tue, 23 Apr 2002 22:03:00 -0000 [thread overview]
Message-ID: <20020423.215351.41174202.davem@redhat.com> (raw)
In-Reply-To: <3CC5C242.D975892F@redhat.com>
From: Michael Snyder <msnyder@redhat.com>
Date: Tue, 23 Apr 2002 13:21:22 -0700
I notice that there are now a bunch of <arch>-linux-tdep.c
modules, and that some of them share a bunch of duplicate code.
I'm wondering if it isn't time to create a linux-nat.c module,
shared by all host architectures, into which we can move
some of this code instead of maintaining separate, duplicate
versions.
The code won't be even Linux specific, I think.
For example the dynamic linker checks are glibc specific.
The commentary refers to it as the "Hurd" resolver, but
in fact it is more of a glibc thing than anything else.
${cpu}_linux_skip_solib_resolver is what I'm specifically talking
about and we can put that as glibc_skip_solib_resolver in glibc-tdep.c
or something like that.
The rest doesn't look all that sharable, as they deal with signal
frame specifics which are quite CPU dependent.
next prev parent reply other threads:[~2002-04-24 5:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-23 13:33 Michael Snyder
2002-04-23 14:29 ` Kevin Buettner
2002-04-23 22:03 ` David S. Miller [this message]
2002-04-24 8:27 ` [RFA] Add glibc-tdep (was Re: [RFC] Time for a shared linux-nat.c module?) David S. Miller
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=20020423.215351.41174202.davem@redhat.com \
--to=davem@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=gdb@sources.redhat.com \
--cc=msnyder@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