* Regarding new frame code for h8300 target
@ 2005-02-28 19:39 Sherry Samuel
2005-03-01 15:12 ` Yoshinori Sato
0 siblings, 1 reply; 3+ messages in thread
From: Sherry Samuel @ 2005-02-28 19:39 UTC (permalink / raw)
To: ysato; +Cc: cagney, gdb-patches
Hi,
Reference: http://sourceware.org/ml/gdb-patches/2005-02/msg00178.html
Reference: http://sourceware.org/ml/gdb-patches/2005-02/msg00137.html
From the above link it follows that, there is a little more work to be done for the
"h8300 new frame code" patch to be accepted by FSF.
Please revert to us if you want any assistance regarding this. We are willing to take
any work in this regard to see h8300 live in GDB.
Regards
Sherry Samuel,
KPIT Cummins InfoSystems Ltd.
Pune, India
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas' SH and H8 Series.
The following site also offers free technical support to its users.
Visit http://www.kpitgnutools.com for details.
Latest versions of KPIT GNU tools were released on February, 2005.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Regarding new frame code for h8300 target
2005-02-28 19:39 Regarding new frame code for h8300 target Sherry Samuel
@ 2005-03-01 15:12 ` Yoshinori Sato
0 siblings, 0 replies; 3+ messages in thread
From: Yoshinori Sato @ 2005-03-01 15:12 UTC (permalink / raw)
To: Sherry Samuel; +Cc: cagney, gdb-patches
At Mon, 28 Feb 2005 17:54:16 +0530,
Sherry Samuel wrote:
>
> Hi,
>
> Reference: http://sourceware.org/ml/gdb-patches/2005-02/msg00178.html
> Reference: http://sourceware.org/ml/gdb-patches/2005-02/msg00137.html
>
> From the above link it follows that, there is a little more work to be done for the
> "h8300 new frame code" patch to be accepted by FSF.
> Please revert to us if you want any assistance regarding this. We are willing to take
> any work in this regard to see h8300 live in GDB.
>
> Regards
> Sherry Samuel,
> KPIT Cummins InfoSystems Ltd.
> Pune, India
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Free download of GNU based tool-chains for Renesas' SH and H8 Series.
> The following site also offers free technical support to its users.
> Visit http://www.kpitgnutools.com for details.
> Latest versions of KPIT GNU tools were released on February, 2005.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
I'm sorry. I seem to have failed in sending.
Index: remote-hms.c
===================================================================
RCS file: /cvs/src/src/gdb/remote-hms.c,v
retrieving revision 1.9
diff -u -r1.9
--- remote-hms.c 22 Jul 2004 01:31:49 -0000 1.9
+++ remote-hms.c 16 Feb 2005 03:21:03 -0000
@@ -28,6 +28,8 @@
#include "serial.h"
#include "regcache.h"
+#define CCR_REGNUM 8
+
static void hms_open (char *args, int from_tty);
static void
hms_supply_register (char *regname, int regnamelen, char *val, int vallen)
Index: remote-e7000.c
===================================================================
RCS file: /cvs/src/src/gdb/remote-e7000.c,v
retrieving revision 1.50
diff -u -r1.50
--- remote-e7000.c 11 Feb 2005 18:13:52 -0000 1.50
+++ remote-e7000.c 16 Feb 2005 03:21:03 -0000
@@ -893,12 +893,14 @@
{
int regno;
char *wanted = NULL;
+ int realregs = 0;
puts_e7000debug ("R\r");
if (TARGET_ARCHITECTURE->arch == bfd_arch_sh)
{
wanted = want_sh;
+ realregs = 59;
switch (TARGET_ARCHITECTURE->mach)
{
case bfd_mach_sh3:
@@ -910,6 +912,7 @@
if (TARGET_ARCHITECTURE->arch == bfd_arch_h8300)
{
wanted = want_h8300h;
+ realregs = 10;
switch (TARGET_ARCHITECTURE->mach)
{
case bfd_mach_h8300s:
@@ -917,13 +920,14 @@
case bfd_mach_h8300sx:
case bfd_mach_h8300sxn:
wanted = want_h8300s;
+ realregs = 11;
}
}
fetch_regs_from_dump (gch, wanted);
/* And supply the extra ones the simulator uses */
- for (regno = NUM_REALREGS; regno < NUM_REGS; regno++)
+ for (regno = realregs; regno < NUM_REGS; regno++)
{
int buf = 0;
@@ -946,8 +950,18 @@
e7000_store_registers (void)
{
int regno;
+ int realregs = 0;
- for (regno = 0; regno < NUM_REALREGS; regno++)
+ if (TARGET_ARCHITECTURE->arch == bfd_arch_sh)
+ realregs = 59;
+ if (TARGET_ARCHITECTURE->arch == bfd_arch_h8300) {
+ realregs = ((TARGET_ARCHITECTURE->mach == bfd_mach_h8300s ||
+ TARGET_ARCHITECTURE->mach == bfd_mach_h8300sn ||
+ TARGET_ARCHITECTURE->mach == bfd_mach_h8300sx ||
+ TARGET_ARCHITECTURE->mach == bfd_mach_h8300sxn) ? 11 : 10);
+ }
+
+ for (regno = 0; regno < realregs; regno++)
e7000_store_register (regno);
registers_changed ();
@@ -1998,6 +2012,7 @@
int had_sleep = 0;
int loop = 1;
char *wanted_nopc = NULL;
+ int realregs = 0;
/* Then echo chars until PC= string seen */
gch (); /* Drop cr */
@@ -2039,6 +2054,7 @@
if (TARGET_ARCHITECTURE->arch == bfd_arch_sh)
{
wanted_nopc = want_nopc_sh;
+ realregs = 59;
switch (TARGET_ARCHITECTURE->mach)
{
case bfd_mach_sh3:
@@ -2050,6 +2066,7 @@
if (TARGET_ARCHITECTURE->arch == bfd_arch_h8300)
{
wanted_nopc = want_nopc_h8300h;
+ realregs = 10;
switch (TARGET_ARCHITECTURE->mach)
{
case bfd_mach_h8300s:
--
Yoshinori Sato
<ysato@users.sourceforge.jp>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Regarding new frame code for h8300 target
@ 2005-03-14 11:30 Anil Paranjape
0 siblings, 0 replies; 3+ messages in thread
From: Anil Paranjape @ 2005-03-14 11:30 UTC (permalink / raw)
To: cagney; +Cc: ysato, gdb-patches
Hi,
Please refer to following link,
http://sources.redhat.com/ml/gdb-patches/2005-03/msg00001.html
We hope work related to H8/300 frame code is complete.
Kindly let us know when H8/300 target will be included in GDB-6.4.
Regards
Anil Paranjpe,
KPIT Cummins InfoSystems Ltd.
Pune, India
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas' SH and H8 Series.
The following site also offers free technical support to its users.
Visit http://www.kpitgnutools.com for details.
Latest versions of KPIT GNU tools were released on February, 2005.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-03-14 11:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-28 19:39 Regarding new frame code for h8300 target Sherry Samuel
2005-03-01 15:12 ` Yoshinori Sato
2005-03-14 11:30 Anil Paranjape
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox