public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] gdb:stepi/continue problem
@ 2004-01-06  7:34 Ganeshan
  2004-01-07 13:48 ` Yoshinori Sato
  0 siblings, 1 reply; 6+ messages in thread
From: Ganeshan @ 2004-01-06  7:34 UTC (permalink / raw)
  To: ecos-discuss

[-- Attachment #1: Type: text/plain, Size: 777 bytes --]

I'm running ecos on a hitachi h8300h 3064 board.
I boot up to redboot and connect to the serial port via
Gdb and load my ecos application image.

I could not able to stepi or continue after loading the image.
$ h8300-elf-gdb -nw a.out
(gdb) set remotebaud 38400
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
0x000060f2 in ?? ()
(gdb) load
Loading section .text, size 0xfbaa lma 0x204000
Loading section .rodata, size 0x985 lma 0x213baa
Loading section .data, size 0x6e0 lma 0x214530
Loading section .int_hook_table, size 0x100 lma 0x214c10
Start address 0x204000, load size 68879
Transfer rate: 17219 bits/sec, 63 bytes/write.
(gdb) stepi


Nothing is displayed.  It is same for "continue" also.  What might be
the problem?

Thanks in advance

Ganeshan N




[-- Attachment #2: Card for Ganeshan --]
[-- Type: text/x-vcard, Size: 349 bytes --]

begin:vcard 
n:Ganeshan;N
tel;fax:2296502
tel;home:3592259
tel;work:2296484     Ext:25
x-mozilla-html:FALSE
url:www.ads-networks.com
org:Analog and Digital Systems;Networking
version:2.1
email;internet:ganeshan@ads-networks.com
adr;quoted-printable:;;Lavelle Mansion,=0D=0ALavelle Road=0D=0A;Bangalore;Karnataka;560 001;INDIA
fn:Ganeshan
end:vcard


[-- Attachment #3: Type: text/plain, Size: 146 bytes --]

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] gdb:stepi/continue problem
  2004-01-06  7:34 [ECOS] gdb:stepi/continue problem Ganeshan
@ 2004-01-07 13:48 ` Yoshinori Sato
  2004-01-14  6:04   ` Ganeshan
  0 siblings, 1 reply; 6+ messages in thread
From: Yoshinori Sato @ 2004-01-07 13:48 UTC (permalink / raw)
  To: ganeshan; +Cc: ecos-discuss

At Tue, 06 Jan 2004 13:06:45 +0530,
Ganeshan wrote:
> 
> I'm running ecos on a hitachi h8300h 3064 board.
> I boot up to redboot and connect to the serial port via
> Gdb and load my ecos application image.
> 
> I could not able to stepi or continue after loading the image.
> $ h8300-elf-gdb -nw a.out
> (gdb) set remotebaud 38400
> (gdb) target remote /dev/ttyS0
> Remote debugging using /dev/ttyS0
> 0x000060f2 in ?? ()
> (gdb) load
> Loading section .text, size 0xfbaa lma 0x204000
> Loading section .rodata, size 0x985 lma 0x213baa
> Loading section .data, size 0x6e0 lma 0x214530
> Loading section .int_hook_table, size 0x100 lma 0x214c10
> Start address 0x204000, load size 68879
> Transfer rate: 17219 bits/sec, 63 bytes/write.
> (gdb) stepi
> 
> 
> Nothing is displayed.  It is same for "continue" also.  What might be
> the problem?
> 
> Thanks in advance
> 
> Ganeshan N

There is the problem that some instruction cannot trace normally.
It is signed off, but cannot prepare a patch.

-- 
Yoshinori Sato
<ysato@users.sourceforge.jp>

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] gdb:stepi/continue problem
  2004-01-07 13:48 ` Yoshinori Sato
@ 2004-01-14  6:04   ` Ganeshan
  0 siblings, 0 replies; 6+ messages in thread
From: Ganeshan @ 2004-01-14  6:04 UTC (permalink / raw)
  To: Yoshinori Sato; +Cc: ecos-discuss

[-- Attachment #1: Type: text/plain, Size: 2547 bytes --]

Hi
I am herein enclosing the still a finer details of gdb

$ h8300-elf-gdb -nw a.out
GNU gdb 6.0
Copyright 2003 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-linux-gnu --target=h8300-elf"...

(gdb) set remotebaud 38400
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
0x000060f2 in ?? ()
(gdb) load
Loading section .text, size 0x1506e lma 0x204000
Loading section .rodata, size 0x7a4 lma 0x21906e
Loading section .data, size 0x64c lma 0x219814
Loading section .int_hook_table, size 0x100 lma 0x219e60
Start address 0x204000, load size 89950
Transfer rate: 17133 bits/sec, 63 bytes/write.
(gdb) set debug remote 1
(gdb) si
Sending packet: $Hc0#db...Ack
Packet received: OK
Sending packet: $s#73...Ack

*************************************************************
2. continue
(gdb) c
Continuing.
Sending packet: $Z0,204214,2#41...Ack
Packet received:
Packet Z0 (software-breakpoint) is NOT supported
Sending packet: $m204214,2#f8...Ack
Packet received: 7902
Sending packet: $X204214,2:W0#a4...Ack
Packet received: OK
Sending packet: $Hc0#db...Ack
Packet received: OK
Sending packet: $c#63...Ack





Yoshinori Sato wrote:

> At Tue, 06 Jan 2004 13:06:45 +0530,
> Ganeshan wrote:
> >
> > I'm running ecos on a hitachi h8300h 3064 board.
> > I boot up to redboot and connect to the serial port via
> > Gdb and load my ecos application image.
> >
> > I could not able to stepi or continue after loading the image.
> > $ h8300-elf-gdb -nw a.out
> > (gdb) set remotebaud 38400
> > (gdb) target remote /dev/ttyS0
> > Remote debugging using /dev/ttyS0
> > 0x000060f2 in ?? ()
> > (gdb) load
> > Loading section .text, size 0xfbaa lma 0x204000
> > Loading section .rodata, size 0x985 lma 0x213baa
> > Loading section .data, size 0x6e0 lma 0x214530
> > Loading section .int_hook_table, size 0x100 lma 0x214c10
> > Start address 0x204000, load size 68879
> > Transfer rate: 17219 bits/sec, 63 bytes/write.
> > (gdb) stepi
> >
> >
> > Nothing is displayed.  It is same for "continue" also.  What might be
> > the problem?
> >
> > Thanks in advance
> >
> > Ganeshan N
>
> There is the problem that some instruction cannot trace normally.
> It is signed off, but cannot prepare a patch.
>
> --
> Yoshinori Sato
> <ysato@users.sourceforge.jp>

[-- Attachment #2: Card for Ganeshan --]
[-- Type: text/x-vcard, Size: 349 bytes --]

begin:vcard 
n:Ganeshan;N
tel;fax:2296502
tel;home:3592259
tel;work:2296484     Ext:25
x-mozilla-html:FALSE
url:www.ads-networks.com
org:Analog and Digital Systems;Networking
version:2.1
email;internet:ganeshan@ads-networks.com
adr;quoted-printable:;;Lavelle Mansion,=0D=0ALavelle Road=0D=0A;Bangalore;Karnataka;560 001;INDIA
fn:Ganeshan
end:vcard


[-- Attachment #3: Type: text/plain, Size: 146 bytes --]

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] gdb:stepi/continue problem
  2004-01-11 13:03 ` Heiko Panther
@ 2004-01-15  8:59   ` Yoshinori Sato
  0 siblings, 0 replies; 6+ messages in thread
From: Yoshinori Sato @ 2004-01-15  8:59 UTC (permalink / raw)
  To: Heiko Panther; +Cc: ecos-discuss

At Sun, 11 Jan 2004 14:03:51 +0100,
Heiko Panther wrote:
> 
> Yoshinorisan,
> 
> >>$ h8300-elf-gdb -nw a.out
> >>(gdb) set remotebaud 38400
> >>(gdb) target remote /dev/ttyS0
> >>Remote debugging using /dev/ttyS0
> >>0x000060f2 in ?? ()
> >>(gdb) load
> >>Loading section .text, size 0xfbaa lma 0x204000
> >>Loading section .rodata, size 0x985 lma 0x213baa
> >>Loading section .data, size 0x6e0 lma 0x214530
> >>Loading section .int_hook_table, size 0x100 lma 0x214c10
> >>Start address 0x204000, load size 68879
> >>Transfer rate: 17219 bits/sec, 63 bytes/write.
> >>(gdb) stepi
> >>
> >>
> >>Nothing is displayed.  It is same for "continue" also.  What might be
> >>the problem?
> 
> > There is the problem that some instruction cannot trace normally.
> > It is signed off, but cannot prepare a patch.
> 
> sorry, i don't understand that. Could you explain the last sentece more, 
> and where I would have to look to fix the problem?
> 

Please test this patch.
http://ysato.dip.jp/~ysato/h8300hal.diff.gz

-- 
Yoshinori Sato
<ysato@users.sourceforge.jp>

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ECOS] gdb:stepi/continue problem
@ 2004-01-14  6:10 Ganeshan
  0 siblings, 0 replies; 6+ messages in thread
From: Ganeshan @ 2004-01-14  6:10 UTC (permalink / raw)
  To: Yoshinori Sato, ecos-discuss

[-- Attachment #1: Type: text/plain, Size: 2579 bytes --]

Hi
I am herein enclosing the still a finer details of gdb

$ h8300-elf-gdb -nw a.out
GNU gdb 6.0
Copyright 2003 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-linux-gnu
--target=h8300-elf"...

(gdb) set remotebaud 38400
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
0x000060f2 in ?? ()
(gdb) load
Loading section .text, size 0x1506e lma 0x204000
Loading section .rodata, size 0x7a4 lma 0x21906e
Loading section .data, size 0x64c lma 0x219814
Loading section .int_hook_table, size 0x100 lma 0x219e60
Start address 0x204000, load size 89950
Transfer rate: 17133 bits/sec, 63 bytes/write.
(gdb) set debug remote 1
(gdb) si
Sending packet: $Hc0#db...Ack
Packet received: OK
Sending packet: $s#73...Ack

*************************************************************
2. continue
(gdb) c
Continuing.
Sending packet: $Z0,204214,2#41...Ack
Packet received:
Packet Z0 (software-breakpoint) is NOT supported
Sending packet: $m204214,2#f8...Ack
Packet received: 7902
Sending packet: $X204214,2:W0#a4...Ack
Packet received: OK
Sending packet: $Hc0#db...Ack
Packet received: OK
Sending packet: $c#63...Ack


thank for you reply
Ganeshan N


Yoshinori Sato wrote:

> At Tue, 06 Jan 2004 13:06:45 +0530,
> Ganeshan wrote:
> >
> > I'm running ecos on a hitachi h8300h 3064 board.
> > I boot up to redboot and connect to the serial port via
> > Gdb and load my ecos application image.
> >
> > I could not able to stepi or continue after loading the image.
> > $ h8300-elf-gdb -nw a.out
> > (gdb) set remotebaud 38400
> > (gdb) target remote /dev/ttyS0
> > Remote debugging using /dev/ttyS0
> > 0x000060f2 in ?? ()
> > (gdb) load
> > Loading section .text, size 0xfbaa lma 0x204000
> > Loading section .rodata, size 0x985 lma 0x213baa
> > Loading section .data, size 0x6e0 lma 0x214530
> > Loading section .int_hook_table, size 0x100 lma 0x214c10
> > Start address 0x204000, load size 68879
> > Transfer rate: 17219 bits/sec, 63 bytes/write.
> > (gdb) stepi
> >
> >
> > Nothing is displayed.  It is same for "continue" also.  What might
be
> > the problem?
> >
> > Thanks in advance
> >
> > Ganeshan N
>
> There is the problem that some instruction cannot trace normally.
> It is signed off, but cannot prepare a patch.
>
> --
> Yoshinori Sato
> <ysato@users.sourceforge.jp>


[-- Attachment #2: Card for Ganeshan --]
[-- Type: text/x-vcard, Size: 349 bytes --]

begin:vcard 
n:Ganeshan;N
tel;fax:2296502
tel;home:3592259
tel;work:2296484     Ext:25
x-mozilla-html:FALSE
url:www.ads-networks.com
org:Analog and Digital Systems;Networking
version:2.1
email;internet:ganeshan@ads-networks.com
adr;quoted-printable:;;Lavelle Mansion,=0D=0ALavelle Road=0D=0A;Bangalore;Karnataka;560 001;INDIA
fn:Ganeshan
end:vcard


[-- Attachment #3: Type: text/plain, Size: 146 bytes --]

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] gdb:stepi/continue problem
       [not found] <1073527115.14448.ezmlm@sources.redhat.com>
@ 2004-01-11 13:03 ` Heiko Panther
  2004-01-15  8:59   ` Yoshinori Sato
  0 siblings, 1 reply; 6+ messages in thread
From: Heiko Panther @ 2004-01-11 13:03 UTC (permalink / raw)
  To: ecos-discuss, ysato

Yoshinorisan,

>>$ h8300-elf-gdb -nw a.out
>>(gdb) set remotebaud 38400
>>(gdb) target remote /dev/ttyS0
>>Remote debugging using /dev/ttyS0
>>0x000060f2 in ?? ()
>>(gdb) load
>>Loading section .text, size 0xfbaa lma 0x204000
>>Loading section .rodata, size 0x985 lma 0x213baa
>>Loading section .data, size 0x6e0 lma 0x214530
>>Loading section .int_hook_table, size 0x100 lma 0x214c10
>>Start address 0x204000, load size 68879
>>Transfer rate: 17219 bits/sec, 63 bytes/write.
>>(gdb) stepi
>>
>>
>>Nothing is displayed.  It is same for "continue" also.  What might be
>>the problem?

> There is the problem that some instruction cannot trace normally.
> It is signed off, but cannot prepare a patch.

sorry, i don't understand that. Could you explain the last sentece more, 
and where I would have to look to fix the problem?

Thanks
Heiko


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-01-15  8:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-06  7:34 [ECOS] gdb:stepi/continue problem Ganeshan
2004-01-07 13:48 ` Yoshinori Sato
2004-01-14  6:04   ` Ganeshan
     [not found] <1073527115.14448.ezmlm@sources.redhat.com>
2004-01-11 13:03 ` Heiko Panther
2004-01-15  8:59   ` Yoshinori Sato
2004-01-14  6:10 Ganeshan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).