This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 ?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]