No GDB file

Binkowski, Cassio cassioiks at gmail.com
Sun Apr 28 20:22:44 UTC 2013


That did it. The path /opt/rtems-4.11 was not added to the PATH in that
Terminal session. When I did it, it started working.
Thanks!


On Sun, Apr 28, 2013 at 1:43 PM, Joel Sherrill <joel.sherrill at oarcorp.com>wrote:

>  On 4/28/2013 9:43 AM, Binkowski, Cassio wrote:
>
> Ok. I cloned the repo and was able to make it./
>
>  Trying to run sim-scripts/psim gives me the following: "Unable to find a
> way to run powerpc/psim"
>
>  Trying to run sim-scripts/psim-gdb gives me the following: "Unable to
> find a GDB for powerpc along your PATH"
>
>   Is powerpc-rtems4.11-gdb in your PATH?
>
> This is just a script that wraps gdb. It writes a device file and invokes
> powerpc-rtemsXXX-gdb
> with the appropriate arguments.
>
>  I have added /rtems-testing/bin to the PATH.
>
>   That is how you found psim and psim-gdb. Where is powerpc-rtems4.11-gdb
>
>   Do you have any ideas?
>
>  Thanks.
>
>
> On Sun, Apr 28, 2013 at 10:27 AM, Joel Sherrill <Joel.Sherrill at oarcorp.com
> > wrote:
>
>>  Invoking the PowerPC simulator to run the psim bsp requires a complicated invocation with a device tree file.  Trying to remember all the nuances of invoking each simulator is why rtems-testing/sim-scripts exists.
>>
>>  Clone the repo. Type make and you will get psim and psim-gsb scripts which should work
>>
>> Gedare Bloom <gedare at rtems.org> wrote:
>>
>>
>>   Try powerpc-rtems4.11-run filename.exe
>>
>> Or check out rtems-testing.git and use the sim-scripts/psim
>> path/to/filename.exe
>> On Apr 27, 2013 10:12 PM, "Binkowski, Cassio" <cassioiks at gmail.com>
>> wrote:
>>
>>> Ok. Installed it.
>>>
>>>  When I try to run my .exe (and an example one) it returns the
>>> following:
>>>
>>>  *rtems-4.10.99.0(PowerPC/Generic (classic FPU)/psim) PANIC cannot
>>> initialize exceptions*
>>> *core_find_mapping() - access to unmaped address, attach a default map
>>> to handle this - addr=0xc131000 nr_bytes=0x4 processor=0x7bfe000 cia=0x16dc
>>> *
>>> *
>>> *
>>> If I type "bt" in the command line, it returns "Target is executing.".
>>>
>>>  Does anybody know what can be done?
>>>
>>>  Thanks.
>>>
>>>
>>> On Sat, Apr 27, 2013 at 9:22 PM, Joel Sherrill <
>>> Joel.Sherrill at oarcorp.com> wrote:
>>>
>>>>  You would have had to explicitly install or build gdb. PowerPC gdb is supported and uses the psim bsp.
>>>>
>>>> "Binkowski, Cassio" <cassioiks at gmail.com> wrote:
>>>>
>>>>
>>>>   Hi all,
>>>>
>>>>  I have built RTEMS from source for PowerPC a while ago, but I have
>>>> just realized there is no powerpc-rtems4.11-gdb file, thus not allowing me
>>>> to test my .exe.
>>>>
>>>>  Is that correct? Have I built it wrongly? Is there another way to
>>>> test it?
>>>>
>>>>  Thanks.
>>>> Cassio
>>>>
>>>
>>>
>>> _______________________________________________
>>> rtems-users mailing list
>>> rtems-users at rtems.org
>>> http://www.rtems.org/mailman/listinfo/rtems-users
>>>
>>>
>
>
> --
> Joel Sherrill, Ph.D.             Director of Research & Development joel.sherrill at OARcorp.com        On-Line Applications Research
> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
> Support Available                (256) 722-9985
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20130428/2d57da30/attachment.html>


More information about the users mailing list