(toppers-users 1125) Re: SCI1でGDB動作しました。

ktakahashi @ vesta.ocn.ne.jp ktakahashi @ vesta.ocn.ne.jp
2003年 8月 30日 (土) 23:22:14 JST


谷本様
お世話になります。

ご返信ありがとうございます。

理由がよくわかっていませんが、
下記の場所で取得したh8-stubで
http://www.ertl.jp/TOPPERS/software.html#tool

SCI1で動作しました。

従来やっていたことに加えて、
gdbへ以下の設定をすればいいみたいでした。

---------------------------
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-cygwin --target=h8300-hms"...
(gdb) set machine h8300h
(gdb) set remotebaud 38400
(gdb) target remote /dev/com1
Remote debugging using /dev/com1
0x0000140a in ?? ()
(gdb) p/x *(unsigned char *)0xfffed0=0xfd
$1 = 0xff
(gdb) set archtecture h8300h
No symbol "archtecture" in current context.
(gdb) set remoteaddress 32
(gdb) p/x *(unsigned char *)0xfffed0=0xfd
$2 = 0xfd
(gdb)
-------------------------------------------

上記にありますように
(gdb) set remoteaddress 32
をした場合に、メモリに書き込みができています。
その結果動くようになりました。
#というより、ちゃんとロードできているか確認しとけ>私 ですね。


h8monitor次のようにbreakpointからcで進まない問題が
ないので、これで DDDなども使えそうですね。

> 
> make dependでのエラーですね。
> 私の環境では、make depend は無事通過しています。
> (その先 make で止まってますが・・・)
> コンフィグレータ1.3に変更してますか?
> 
コンフィグレータは、今度確認してみます。


いろいろありがとうございました。
助かりました。

---
アライブビジョンソフトウエア株式会社
高橋和浩
650-0045 神戸市中央区港島9-1
神戸インキュベーションオフィス117号室
Email:ktakahashi @ vesta.ocn.ne.jp
http://homepage3.nifty.com/ALVS/