smithln@honeydew.cs.rochester.edu (Neil Smithline) (10/19/89)
I have gdb working as a remote debugger for an experimental operating system. This involved writing a "debugging stub" on the remote machine and modifying the file remote.c to communicate properly with my debugging stub. This was working between a Sun 3 and our BBN Butterfly which contains MC68020 chips. Everything worked fine until we recently upgraded most of our machines from Sun 3's to Sun 4 Sparcstations. I would like to be able to run gdb on the Sun 4 Sparcstations and have it debug the code on the MC68020's. This means that it must use know about the Sun'3 object file format (the butterfly used an object file format compatible with that of the Sun 3's), the Sun 3 architecture and the such. I do NOT care if this version of gdb can debug local, Sun 4 programs as long as it works for the older, Sun 3 style programs. What I am looking for most of all is an existing version of gdb that already does this, but in the event that this does not exist, I would like 1) information from anyone who has had gdb cross-debugging - especially between a Sparcstation and a Sun 3 but any experience would be helpful. 2) any advice people have on doing this (eg: what include files I need from the Sun 3, what code to modify, etc...) 3) any other help that someone could offer (eg: "For just $23.95 you can buy a commercial product that does all this and more.") Any help would be appreciated - Thanks - Neil Neil Smithline ARPA: smithln@cs.rochester.edu UUCP: ..!rutgers!rochester!smithln Mail: CS Dept., University of Rochester, Rochester NY 14627 -- Neil Smithline ARPA: smithln@cs.rochester.edu UUCP: ..!rutgers!rochester!smithln Mail: CS Dept., University of Rochester, Rochester NY 14627