OpenCores
no use no use 1/1 no use no use
Don't know how to run. Try
by tyagi007 on Sep 8, 2011
tyagi007
Posts: 6
Joined: Jul 29, 2011
Last seen: Feb 3, 2012
Hi,

When i am running my new gdb( after porting to a new target) i am getting the following error:

> run
Starting program: /home/tyagi/debugger/gdb_dev/gdb-7.3_5_sep/gdb-7.3/gdb-7.3/target_executable
.Don't know how to run. Try "help target"


Also in some mailing list i found the solution to this problem as "connect to the target where process is running",
Could anyone tell me how to connect to the target if i do not have any exertenal (like JTAG) target?


regards,
Tyagi
RE: Don't know how to run. Try
by jeremybennett on Sep 8, 2011
jeremybennett
Posts: 815
Joined: May 29, 2008
Last seen: Jun 13, 2019
Hi,

When i am running my new gdb( after porting to a new target) i am getting the following error:

> run
Starting program: /home/tyagi/debugger/gdb_dev/gdb-7.3_5_sep/gdb-7.3/gdb-7.3/target_executable
.Don't know how to run. Try "help target"


Also in some mailing list i found the solution to this problem as "connect to the target where process is running",
Could anyone tell me how to connect to the target if i do not have any exertenal (like JTAG) target?


regards,
Tyagi

Hi Tyagi

This is the command to run native. Have you ported GDB to run on the machine it is actually debugging.

Otherwise you'll need to specify a remote target, for example target sim (to target the simulator) or target remote 192.168.0.37:51000 to target a machine using Remote Serial Protocol over TCP/IP at IP address 192.168.0.27 using port 51000. You'll need to either implement a simulator, or implement a Remote Serial Protocol server (or gdbserver) on your target.

HTH

Jeremy

--
Tel: +44 (1590) 610184
Cell: +44 (7970) 676050
SkypeID: jeremybennett
Email: jeremy.bennett@embecosm.com
Web: www.embecosm.com

no use no use 1/1 no use no use
© copyright 1999-2026 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.