Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: msnyder@sonic.net
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA] New target am33-linux (mn10300)
Date: Sat, 30 Apr 2005 11:03:00 -0000	[thread overview]
Message-ID: <200504301103.j3UB3GRh016441@elgar.sibelius.xs4all.nl> (raw)
In-Reply-To: <4272D60B.5050709@sonic.net> (message from Michael Snyder on Fri, 29 Apr 2005 17:49:15 -0700)

   Date: Fri, 29 Apr 2005 17:49:15 -0700
   From: Michael Snyder <msnyder@sonic.net>

   This is an embedded linux target for am33 (mn10300).  The rest of
   the toolchain (gcc, binutils) has already been contributed.  This
   bit has been languishing untended for a while.

And is well past its "best before" date by now :-(.

It uses DEPRECATED_TM_FILE, and we're not allowd to check in anything
new that uses it.  Unfortunately, this means you can only check this
in without working shared library stuff.  Personally I think we should
allow "DEPRECATED_TM_FILE= solib.h" until the shared libarry stuff is
properly fixed.  Anyway, you seem to have left out the tm-linux.h that
you reference.

But what's worse is that this uses deprecated_add_core_fns, for which
we have an alternative.  Please implement
xxx_regset_from_core_section() and the associated register sets.
While you're at it, I think it is a good idea to get rid of the
ELF_XXX and elf_xxx defines and typedefs you copied from
<asm-mn10300/elf.h>.  These tend to leak into the namespace on Linux
systems and might cause problems.  If you define a sensible register
set, you'll only need these constants once, so you don't really need
these types.

By the time you've done this, I might have eliminated the need fro
DEPRECATED_TM_FILE.

Mark

   2005-04-29  Michael Snyder  <msnyder@redhat.com>

	   * mn10300-linux-tdep.c: New file.
	   * Makefile.in: Add rule for mn10300-linux-tdep.o.
	   * configure.tgt: Add rule for am33 / mn10300-linux.
	   * mn10300-tdep.h: Add E_FPCR_REGNUM, E_FS0_REGNUM.


  parent reply	other threads:[~2005-04-30 11:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-30  0:50 Michael Snyder
2005-04-30  1:45 ` Daniel Jacobowitz
2005-04-30 11:03 ` Mark Kettenis [this message]
2005-04-30 13:58   ` Daniel Jacobowitz
2005-04-30 15:02     ` Mark Kettenis
2005-04-30 15:07       ` Daniel Jacobowitz
2005-05-01 18:33 ` Eli Zaretskii

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=200504301103.j3UB3GRh016441@elgar.sibelius.xs4all.nl \
    --to=mark.kettenis@xs4all.nl \
    --cc=gdb-patches@sources.redhat.com \
    --cc=msnyder@sonic.net \
    /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