gdb support for ppcbug
"Robert J. Brown" (rj@eli.elilabs.com)
Fri, 30 Apr 1999 13:21:30 -0500
>>>>> "Stan" == Stan Shebs <shebs@cygnus.com> writes:
Stan> rj@eli.elilabs.com (Robert J. Brown) writes:
>> I am working on a project using a MCP750 Compact PCI board.
>> This board has a JTAG/BDM capability, but only to the extent
>> that there are pads on the artwork; there are no pins soldered
>> into the pads. This is apparently because they would stick up
>> and interefere with the memory card that sits piggyback on the
>> board. We were planning to use the SDS Single Step BDM
>> debugger, but I do not think that will work now, due to the
>> mechanical fit problem.
Stan> D*mn physics... :-)
It has actually been reported by a hardware guy that if I crimp pins
on wires but do not push them into the plastic connector body, that it
can be made to work. :-)
Nonetheless, I still would like a gdb solution that does not rely on
having a cross-debug kernel pre-loaded in order to work. The ppcbug
solutions seem like a very good one to me, being an old hand at emacs
and gdb.
>> I heard somewhere that there is an extension to gdb that allows
>> gdb to gain control of the board by sending and receiving
>> PPCbug commands instead of using the remote gdb support code in
>> the target. This would be great. Does anyone know abything
>> about this?
Stan> Yes, it's been in the GDB sources for a long time actually.
Stan> From "help target":
Stan> target ppcbug -- Debug via the PowerPC PPCBug monitor using
Stan> port 0 target ppcbug1 -- Debug via the PowerPC PPCBug
Stan> monitor using port 1
Stan> PPCBug's prompt is different depending on which port it's
Stan> talking to, thus the two slightly different target commands.
So do I have to recompile the cross gdb to get this working? I
suspect so. That would not be such a pain, except for the fact that
we are doing development from NT. :-<
I could always build a set of tools under Linux ala Canadian cross, so
things would compile. Can I also do this under cygwin on NT?
--
-------- "And there came a writing to him from Elijah" [2Ch 21:12] --------
R. J. Brown III rj@elilabs.com http://www.elilabs.com/~rj voice 847 543-4060
Elijah Laboratories Inc. 457 Signal Lane, Grayslake IL 60030 fax 847 543-4061
----- M o d e l i n g t h e M e t h o d s o f t h e M i n d ------
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.