Bad RUN command on GDB

Giulix at
Fri Jul 13 18:54:03 UTC 2001

Hi to everyone,
sorry for my simple question, but I'm a new rtems-user.
I have compiled the hello.c example. When I try to run the program on the
target (hitachi 7045F EVB via serial cable) the GDB answer as:

" Don't know how to run.  Try "help target". "

This is the log file:

$ sh-rtems-gdb o-optimize/test.exe
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-cygwin32 --target=sh-rtems"...
(gdb) set remotebaud 38400
(gdb) target remote com2
Remote debugging using com2
0x0 in ?? ()
(gdb) load
Loading section .text, size 0xd600 lma 0x444000
Loading section .data, size 0xb10 lma 0x451600
Loading section .stack, size 0x10 lma 0xfffffec0
Start address 0x444000 , load size 57632
Transfer rate: 25614 bits/sec.
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program:
Don't know how to run.  Try "help target".

Thank you in advance

More information about the users mailing list