This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: gdb simulator problem
- From: Vermeulen Jan <Jan dot Vermeulen at siemens dot atea dot be>
- To: 'Vinayak P Risbud' <vinayak at multitech dot co dot in>, gdb <gdb at sources dot redhat dot com>
- Date: Tue, 6 Aug 2002 07:59:54 +0200
- Subject: RE: gdb simulator problem
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 ?