GDB error messages
Fernando Nasser
fnasser@cygnus.com
Fri Aug 4 06:39:00 GMT 2000
Gerwyn Davies wrote:
>
> "You can't do that when your target is `exec' " in response to a load
> command.
>
This one is easy: the load command loads an executable file in the memory of
a remote target, connected via serial port or ethernet to the host where
you are running gdb.
To debug programs on boards and things of a sort one needs a cross debugger.
You need gdb built for your target and the target must have a gdb stub so it
can talk to gdb.
I don't remember when the other one is issued but, judging by the second one,
it seems that you are not using gdb properly. I would recommend a second pass
through the manual. If you still have problems after that let us know.
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@cygnus.com
2323 Yonge Street, Suite #300 Tel: 416-482-2661 ext. 311
Toronto, Ontario M4P 2C9 Fax: 416-482-6299
More information about the Gdb
mailing list