This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

H8300-elf Toolchain based on gcc-4.1 is not working on gdb-6.4.50.20060425.


Hi

We have built "h8300-elf" toolchain based on gcc-4.1 (released). This
toolchain is based on following sources,
Binutils-2.16.92 
Gcc-4.1-20060407
Newlib-1.14.0

Also we have built, GDB for "h8300-elf" using gdb-6.4.50.20060425

We have found following problems for all varients of h8 target,
1. "printf" is not working with this toolchain for simulator.
2. Local variables can not be watched using GDB.

Following is the test case used for testing,
----------------------------------------------------------------
int a  = 100;
int main ()
{
      printf ("\n H8300-ELF toolchain test. Var = %d\n",a);
	return 0;
}
----------------------------------------------------------------
Commands are as follow;
#h8300-elf-gcc -ms -g foo.c 
#h8300-elf-run a.out
--> This outputs nothing.

We have also tried following combination, 
Binutils-2.16.92 
Gcc-4.1.0 (released)
Newlib-1.14.0

However, results are same.

Any help on this will be highly appreciated.
	
Thanks and regards,
Pradeep Sanchana
KPIT Cummins InfoSystems Ltd.
Pune, India

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
Free download of GNU based tool-chains for Renesas' SH, H8 and M16C
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 1, 2006.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]