Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: cgd@broadcom.com
To: ac131313@redhat.com
Cc: gdb-patches@sources.redhat.com
Subject: Re: Re-RFA re: [almost-obvious patch, and 6.0 RFA] treat mipsisa64 as 64-bit MIPS.
Date: Mon, 25 Aug 2003 22:59:00 -0000	[thread overview]
Message-ID: <yov53cfp73a6.fsf@ldt-sj3-010.sj.broadcom.com> (raw)
In-Reply-To: <mailpost.1061825447.14133@news-sj1-1>

At Mon, 25 Aug 2003 15:30:47 +0000 (UTC), "Andrew Cagney" wrote:
> - put the patterns at the start, vis:
> 	mipsisa64*-*-linux* ) gdb_target=linux64 ;;
> 	mipsisa64*-*-* ) gdb_target=embed64 ;;
> I think this is all that is needed.  It seems that my recent MIPS
> target purge missed a few cases.

ahh, yes.

Looks like:

        tx39.mt == tx39l.mt
        embed64.mt == embedl64.mt
        mips.mt == embedl.mt (!!! except for comments; this one is puzzling!)

so probably more could be collapsed later.


> It can probably be simplified further (mips*64*-*-*?) but, as you
> note, harm minimization is in order.

Yeah, for some reason i don't like using "mips*64".  dunno why it bugs
me, though.


Patch as re-tested with mipsisa64-elf gdb and checked in (trunk &
branch) is below.


thanks,

chris
--
2003-08-25  Chris Demetriou  <cgd@broadcom.com>

	* configure.tgt: Document need for special "mipsisa64" handling.
	(mipsisa64*-*-linux64): Handle as target linux64.
	(mipsisa64*-*-*): Handle as target embed64.

Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.111
diff -u -p -r1.111 configure.tgt
--- configure.tgt	1 Aug 2003 21:14:33 -0000	1.111
+++ configure.tgt	25 Aug 2003 22:55:39 -0000
@@ -143,6 +143,12 @@ m68*-*-sysv4*)		gdb_target=m68kv4 ;;
 m68*-*-vxworks*)	gdb_target=vxworks68 ;;
 
 mcore*-*-*)		gdb_target=mcore ;;
+
+# "mipsisa64" targets are 64-bit MIPS, MIPS64 ISA.  They need these
+# special cases because otherwise they (obviously) are not matched by
+# the "mips64" target cases, and would therefore be treated as 32-bit.
+mipsisa64*-*-linux*)	gdb_target=linux64 ;;
+mipsisa64*-*-*)		gdb_target=embed64 ;;
 mips64*-big-*)		gdb_target=mips64 ;;
 mips*-big-*)		gdb_target=mips ;;
 mips*-dec-*)		gdb_target=mips ;;


      parent reply	other threads:[~2003-08-25 22:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-22 17:23 cgd
2003-08-25 15:30 ` Andrew Cagney
     [not found]   ` <mailpost.1061825447.14133@news-sj1-1>
2003-08-25 22:59     ` cgd [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=yov53cfp73a6.fsf@ldt-sj3-010.sj.broadcom.com \
    --to=cgd@broadcom.com \
    --cc=ac131313@redhat.com \
    --cc=gdb-patches@sources.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