This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: cannot able to debug
- From: Yoshinori Sato <ysato at users dot sourceforge dot jp>
- To: ganeshan at ads-networks dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 24 Feb 2004 17:47:27 +0900
- Subject: [ECOS] Re: cannot able to debug
- References: <40399C71.BBD975AE@ads-networks.com>
At Mon, 23 Feb 2004 11:53:45 +0530,
Ganeshan wrote:
> Hi
> I am using h8/300H - 3064, gcc-3.2.1, insight-5.3
> I could not able to debug the a small application and applied the patch,
> http://ysato.dip.jp/~ysato/h8300hal.diff.gz
>
> 1. If break is given at a specified location, in this case 0x204000, the
> gdb is not sending the proper packet
> (instread of sending/reading $m,204000, it is sending/reading as
> $m,4000). The gdb command
> 'set remoteaddresssize 24' is used to send a proper packet. Even
> though doing this, could not able to set
> the breakpoint (disassembled the code and saw the instruction.).
Please execute "set machine h8300h" in the first place.
> 2. If set the breakpoint ("trapa") manually, then also the program is
> not stopping at this location.
Because manage the address which set break point inside,
it is ignored even if bury it in it directly.
--
Yoshinori Sato
<ysato@users.sourceforge.jp>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss