Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: drow@false.org (Daniel Jacobowitz)
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA] Remove REALTIME_HI/LO macros from target headers
Date: Tue, 28 Nov 2006 19:50:00 -0000	[thread overview]
Message-ID: <200611281949.kASJneQ0012021@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <20061128194136.GA28707@nevyn.them.org> from "Daniel Jacobowitz" at Nov 28, 2006 02:41:36 PM

Daniel Jacobowitz wrote:
> On Tue, Nov 28, 2006 at 08:39:44PM +0100, Ulrich Weigand wrote:
> > Here's the follow-on patch to remove the definition from nm-linux.h
> > as well; tested on s390-ibm-linux and s390x-ibm-linux.  OK?
> 
> OK.  I suspect a lot of the rest of nm-linux.h is obsolete too...

Committed, thanks.

Actually, it looks like just those two lines are obsolete:

struct target_ops;
#undef USE_PROC_FS

To get rid of this:

extern void lin_lwp_attach_lwp (ptid_t ptid, int verbose);
#define ATTACH_LWP(ptid, verbose) lin_lwp_attach_lwp ((ptid), (verbose))

extern void lin_thread_get_thread_signals (sigset_t *mask);
#define GET_THREAD_SIGNALS(mask) lin_thread_get_thread_signals (mask)

would require to find some better way for linux-thread-db.c
and linux-nat.c to talk to each other, and to get rid of this:

/* Use elf_gregset_t and elf_fpregset_t, rather than
   gregset_t and fpregset_t.  */

#define GDB_GREGSET_T  elf_gregset_t
#define GDB_FPREGSET_T elf_fpregset_t

would probably require some autoconf magic.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


      reply	other threads:[~2006-11-28 19:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-24 21:13 Ulrich Weigand
2006-11-28 15:29 ` Daniel Jacobowitz
2006-11-28 18:51   ` Ulrich Weigand
2006-11-28 18:56     ` Daniel Jacobowitz
2006-11-28 19:40       ` Ulrich Weigand
2006-11-28 19:41         ` Daniel Jacobowitz
2006-11-28 19:50           ` Ulrich Weigand [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=200611281949.kASJneQ0012021@d12av02.megacenter.de.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    /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