(toppers-users 1090) Re: tinet h8 3068f_lan の AKI_MONITOR

Katsuhiro Amano amano @ toyotamacs.co.jp
2003年 8月 26日 (火) 15:56:44 JST


アライブビジョンソフトウエア 高橋さん、こんにちは

トヨタマックス 天野です。
早速の回答ありがとうございます。

| 上記の (gdb)target hms /dev/com1 を
|
| (gdb)target remote /dev/com1
|
| に変えたら、とりあえず、つながるのでは、と思います。

そうですよね。hmsは日立のモニタ用でした。
やっとloadまで行きました。

GDB-5.3はloadまで行きますが
runすると実行されているみたいなメッセージがでるのですが
どうも実行されている様子はありません。
詳しい人いましたらご教授ください。


$ /usr/local/h8/bin/h8300-hms-gdb jsp.exe
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
0x000080ac in ?? ()
(gdb) load
Loading section .vectors, size 0x100 lma 0x4fff00
Loading section .text, size 0x1e58c lma 0x400000
Loading section .rodata, size 0x546e lma 0x41e58c
Loading section .data, size 0x142c lma 0x4239fc
Start address 0x400000, load size 151334
Transfer rate: 20177 bits/sec, 52 bytes/write.
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /usr/local/jsp/nserv/jsp.exe
Don't know how to run.  Try "help target".
(gdb)

-------------------------
gdb-5.2.1は下記の様に接続ができません。

$ /usr/local/h8/bin/h8300-hms-gdb jsp.exe
GNU gdb 5.2.1
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 macine h8300h
No symbol "macine" in current context.
(gdb) set machine h8300h
(gdb) set remotebaud 38400
(gdb) target remote /dev/com1
Remote debugging using /dev/com1
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Couldn't establish connection to remote target
Malformed response to offset query, timeout
(gdb)