[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb-patches
Subject:    [RFA] Remove REALTIME_HI/LO macros from target headers
From:       uweigand () de ! ibm ! com (Ulrich Weigand)
Date:       2006-11-28 19:50:00
Message-ID: 200611281949.kASJneQ0012021 () d12av02 ! megacenter ! de ! ibm ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic