gdb simulator problem
Vermeulen Jan
Jan.Vermeulen@siemens.atea.be
Mon Aug 5 23:02:00 GMT 2002
Hello,
You have to _load_ your application into the simulator too.
[prompt]$ gdb hello
GDB prompt
> target sim
> load
> break main
> run
This should get you a bit further.
More info about the simulator at
http://sources.redhat.com/psim/manual/
This is for the powerpc, but you can use it for arm as well, because the
commands are basically the same AFAIK.
Best regards,
Jan
-----Original Message-----
From: Vinayak P Risbud [mailto:vinayak@multitech.co.in]
Sent: dinsdag 6 augustus 2002 7:32
To: gdb
Subject: gdb simulator problem
Hi,
I have compiled gdb for arm-elf cross platform.
I have compiled a hello.c program with -g option
I have set the target as "target sim"
when I say run, I am getting an error message
'You can't do that without a process to debug"
What could be the reason ?
More information about the Gdb
mailing list