From: Bryan R. <br...@ix...> - 2001-01-07 00:14:00
|
Hello! kaz Kojima wrote: > About the native gdb, it works but I found some problem. Especially a Can you please provide me with the build commands you used to cross compile a native (sh4) gdb? I.E. What flags did you pass to configure? Did you have to modify Makefiles by hand? I am trying to build sh4 gdb on my x86 linux workstation, but the native x86 utilities keep getting used instead of the cross utilities, leading to incorrect object code. I am working with the latest GDB CVS sources, with your patch http://dodo.nurs.or.jp/~kkojima/gnu-on-sh/gdb-cvs-001102.diff.gz applied. One hunk was rejected due to some format changes, but I applied it by hand. Also, have you attempted to use gdbserver on the SH4? I am going to be debugging very large applications, which may not fit into the embedded target unless stripped of debugging symbols. gdbserver works with a stripped binary on the target and communicates with a master gdb, which has a non-stripped binary, on a workstation. Thank you! Regards, Bryan -- Bryan Rittmeyer mailto:br...@ix... Ixia Communications 26601 W. Agoura Rd. Calabasas, CA 91302 |