[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GDB Stubs for PowerPC BSP with old-exceptions



Robert S. Grimes wrote:
> Hi Till,
>
> I want to use your gdb stubs and (eventually) cexp, but I'm using a new
> BSP for the Virtex-4 PowerPC.  This BSP is based on the gen405, which
> (still) uses the "old exceptions" model.  Sure enough, your agent won't
> compile for my BSP.  So, what would be involved in making it work with
> "old exceptions"?  Or should I instead change the BSP to "new exceptions"?
>
>   
 From my perspective, I would like to see the PowerPC 4xx BSPs converted to
"new exception" processing and the "old exception" processing code 
eliminated.
If we had at least one 4xx BSP that was known to work with new exceptions,
I would be pleased if the others were "best effort" converted so they 
compile.

--joel
> Thanks,
> -Bob
>
> Joel Sherrill wrote:
>   
>> Nickolay Kolchin wrote:
>>   
>>     
>>> Hello,
>>>
>>> Where I can get GDB with librdbg support? All gdb versions on
>>> ftp.rtems.com (4.18, 5.2) are build for powerpc-rtems, not
>>> powerpc-RTEMS. So, commands from librdbg manual (setrpcmode,
>>> setdaemontype, target rtems) don't work.
>>>
>>> Building GDB from sources (5.2.1 with all Patches applied), fails on
>>> configure stage:
>>>
>>> ....
>>> Invalid configuration `powerpc-RTEMS': system `RTEMS' not recognized
>>> Unrecognized target system name powerpc-RTEMS.
>>> ....
>>>
>>> Afaik, no rgbd patches for GDB 6.x exist.
>>>
>>> So, how librdbg can be used?
>>>   
>>>     
>>>       
>> AFAIK librdbg can't be used with a modern gdb.  The internal structure of
>> gdb changed and no one has updated the code.  IMO this means that rdbg
>> is becoming obsolete and you are better off using the standard gdb remote
>> protocol and stubs.
>>
>> Till Straumann has some nice support for gdb with dynamically loaded modules
>> at his site. Google for "Till cexp" and it will turn up.  Maybe Till 
>> will add some
>> comments here. :)
>>
>> --joel
>>   
>>     
>>> ---
>>> Nickolay
>>> _______________________________________________
>>> rtems-users mailing list
>>> rtems-users at rtems.com
>>> http://rtems.rtems.org/mailman/listinfo/rtems-users
>>>   
>>>     
>>>       
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users at rtems.com
>> http://rtems.rtems.org/mailman/listinfo/rtems-users
>>
>>
>>   
>>     
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>