set architecture for MPC8xx
Andrew Cagney
cagney@gnu.org
Fri Nov 12 15:30:00 GMT 2004
Steven Johnson wrote:
> Fabian Cenedese wrote:
>
>> Is there a way to tell the stub the architecture gdb was set to? (Other
>> than with the monitor command.)
>>
>>
> That would be nice, but unfortunaltey not to my knowledge. The stub I
> wrote for MPC860, only worked with that architecture, and didnt work
> with the generic powerpc architecture. It saved me switching, when I
> never used anything but the MPC8XX Architecture with the stub.
>
> The counter would be nice, for the stub to tell GDB what architecture/s
> it actually supports, so GDB takes on the appropriate view.
Yes.
Perhaphs a T packet extension?
http://sources.redhat.com/gdb/papers/multi-arch/real-multi-arch/index.html#SEC43
Andrew
> But also,
> stubs cant do this either.
>
> Hope this answers the question.
>
> Steven
>
More information about the Gdb
mailing list