Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: bjgnu@sunnorth.com.cn
To: gdb-patches@sourceware.org
Cc: qinwei@sunnorth.com.cn
Subject: [patch] add target Score to GDB
Date: Tue, 05 Dec 2006 02:16:00 -0000	[thread overview]
Message-ID: <OF0054AB08.CFC82EFD-ON4825723B.000A45EF-4825723B.000C9360@sunnorth.com.cn> (raw)

[-- Attachment #1: Type: text/plain, Size: 2494 bytes --]

Hello Maintainers,

I'v ported GDB-6.5.90 to Score target and SunNorth has assigned the forms 
to the FSF.
The following is a patch adding Score target to GDB and i hope i could be 
the Score maintainer.
I'v posted the patch to gdb@sourceware.org on 2006.12.4, but get no reply, 
maybe it's a wrong place. 
Could anyone help me checking my patch? I really appreciate your help. 
I've checkout the current-cvs and all testpatterns run pass in DejaGNU.
Some FAILs are target dependent. I've checked these FAILs and they are not 
gdb bug. 
I hope Score target can be added to GDB-6.6 if possible.

1, Modify gdb-6.5/gdb/configure.tgt:
diff -pu -r gdb-6.5/gdb/configure.tgt gdb-6.5-score/gdb/configure.tgt
--- gdb-6.5/gdb/configure.tgt   2006-11-22 17:31:03.000000000 +0800
+++ gdb-6.5-score/gdb/configure.tgt 2006-11-22 17:48:36.000000000 +0800
@@ -21,6 +21,7 @@ m68*)         gdb_target_cpu=m68k ;;
 m88*)          gdb_target_cpu=m88k ;;
 mips*)         gdb_target_cpu=mips ;;
 powerpc*)      gdb_target_cpu=powerpc ;;
+score*)            gdb_target_cpu=score ;;
 sparc*)            gdb_target_cpu=sparc ;;
 thumb*)            gdb_target_cpu=arm ;;
 s390*)         gdb_target_cpu=s390 ;;
@@ -174,6 +175,7 @@ rs6000-*-lynxos*)   gdb_target=rs6000lynx 
 rs6000-*-aix4*)        gdb_target=aix4 ;;
 rs6000-*-*)        gdb_target=rs6000 ;;
 
+score-*-*)         gdb_target=embed ;;
 s390*-*-*)     gdb_target=s390
            build_gdbserver=yes
            ;;

2, Modify gdb-6.5/sim/configure:
diff -pu -r gdb-6.5/sim/configure gdb-6.5-score/sim/configure
--- gdb-6.5/sim/configure   2006-11-22 17:31:05.000000000 +0800
+++ gdb-6.5-score/sim/configure 2006-11-22 17:48:36.000000000 +0800
@@ -284,6 +284,7 @@ ac_subdirs_all="$ac_subdirs_all m68hc11"
 ac_subdirs_all="$ac_subdirs_all mcore"
 ac_subdirs_all="$ac_subdirs_all mips"
 ac_subdirs_all="$ac_subdirs_all mn10300"
+ac_subdirs_all="$ac_subdirs_all score"
 ac_subdirs_all="$ac_subdirs_all sh64"
 ac_subdirs_all="$ac_subdirs_all sh"
 ac_subdirs_all="$ac_subdirs_all erc32"
@@ -3510,6 +3511,14 @@ subdirs="$subdirs mn10300"
       common=yes
       igen=yes
       ;;
+       score*-*-*)
+
+
+subdirs="$subdirs score"
+
+      testsuite=yes
+      common=yes
+      ;;
        sh64-*-*)

3, Add the following directories and files:
1) gdb-6.5/gdb/config/score;
2) gdb-6.5/gdb/score-tdep.c;
3) gdb-6.5/gdb/score-tdep.h;
4) gdb-6.5/sim/score;


Best regards,
Qinwei
Mail  qinwei@sunnorth.com.cn
Phone +86-010-62981668-2708
Fax   +86-010-62985972





[-- Attachment #2: Score_GDB_patch.tar.gz --]
[-- Type: application/octet-stream, Size: 47374 bytes --]

             reply	other threads:[~2006-12-05  2:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-05  2:16 bjgnu [this message]
2006-12-05 20:00 ` Jim Blandy
2006-12-06  5:33   ` qinwei
2006-12-06 19:41     ` Jim Blandy
     [not found] <OFB3E2512A.A6A8BF17-ON4825723D.0041E603-4825723D.004B00D2@sunnorth.com.cn>
2006-12-07 20:18 ` Jim Blandy
2006-12-09  6:23   ` 秦巍
2007-01-03  0:08     ` Jim Blandy
2007-01-03 22:28       ` Jim Blandy
2007-01-04  9:22         ` qinwei

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=OF0054AB08.CFC82EFD-ON4825723B.000A45EF-4825723B.000C9360@sunnorth.com.cn \
    --to=bjgnu@sunnorth.com.cn \
    --cc=gdb-patches@sourceware.org \
    --cc=qinwei@sunnorth.com.cn \
    /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