* [ECOS] RE: gdb/insight problem
@ 2004-06-16 14:30 Avi Vaknin
2004-06-16 14:37 ` [ECOS] " Jonathan Larmour
0 siblings, 1 reply; 7+ messages in thread
From: Avi Vaknin @ 2004-06-16 14:30 UTC (permalink / raw)
To: Jonathan Larmour; +Cc: ecos-discuss
Hi Jifl,
Yes. The program is definitely running and we are sure we connected in the firts
place (using File->Target Setup) and set up as a Remote/TCP target, with
the appropriate board's IP address/name.
Any idea?
Thanks,
Avi.
-----Original Message-----
From: Jonathan Larmour [mailto:jifl@eCosCentric.com]
Sent: Wednesday, June 16, 2004 4:10 PM
To: Avi Vaknin
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: gdb/insight problem
Avi Vaknin wrote:
>
>
> Hi All,
>
> We encountered a problem when trying to debug an eCos application.
>
> We use Rattler-MPC8248 target from Analogue & Micro company.
>
>
> In powerpc-eabi-insight when we connects to target we receives the
> warning "shared library handler failed to enable breakpoint"
>
> Indeed, we cannot set breakpoints in the code, or single-step. The
> program just keeps running.
The program is definitely running? Are you sure you connected in the firts
place (using File->Target Setup) and set up as a Remote/TCP target, with
the board's IP address/name?
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ECOS] Re: gdb/insight problem
2004-06-16 14:30 [ECOS] RE: gdb/insight problem Avi Vaknin
@ 2004-06-16 14:37 ` Jonathan Larmour
0 siblings, 0 replies; 7+ messages in thread
From: Jonathan Larmour @ 2004-06-16 14:37 UTC (permalink / raw)
To: Avi Vaknin; +Cc: ecos-discuss
Avi Vaknin wrote:
> Hi Jifl,
> Yes. The program is definitely running and we are sure we connected in the firts
> place (using File->Target Setup) and set up as a Remote/TCP target, with
> the appropriate board's IP address/name.
That shared library warning is something I've seen elsewhere, and it's not
been a problem before. Have you tried command line GDB?
Jifl
> -----Original Message-----
> From: Jonathan Larmour [mailto:jifl@eCosCentric.com]
> Sent: Wednesday, June 16, 2004 4:10 PM
> To: Avi Vaknin
> Cc: ecos-discuss@ecos.sourceware.org
> Subject: Re: gdb/insight problem
>
>
> Avi Vaknin wrote:
>
>>
>>Hi All,
>>
>>We encountered a problem when trying to debug an eCos application.
>>
>>We use Rattler-MPC8248 target from Analogue & Micro company.
>>
>>
>>In powerpc-eabi-insight when we connects to target we receives the
>>warning "shared library handler failed to enable breakpoint"
>>
>>Indeed, we cannot set breakpoints in the code, or single-step. The
>>program just keeps running.
>
>
> The program is definitely running? Are you sure you connected in the firts
> place (using File->Target Setup) and set up as a Remote/TCP target, with
> the board's IP address/name?
>
> Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ECOS] RE: gdb/insight problem
@ 2004-06-17 8:17 Avi Vaknin
0 siblings, 0 replies; 7+ messages in thread
From: Avi Vaknin @ 2004-06-17 8:17 UTC (permalink / raw)
To: Jonathan Larmour, frank.Robbins, gary; +Cc: eCos discussion, keiths
Hi,
Below is the output of the command line GDB when running hello application as you requested:
[kuku@temp]$ powerpc-eabi-gdb .../hello
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-linux-gnu --target=powerpc-eabi"...
(gdb) tar rem 192.168.1.83:9000
Remote debugging using 192.168.1.83:9000
0x00010284 in ?? ()
"shared library handler failed to enable breakpoint" is displayed here.
(gdb) lo
Loading section .text, size 0xXXX lma 0xXXXX
Loading section .rodata, size 0xXXX lma 0xXXX
Loading section .data, size 0xXXX lma 0xXXX
Start address 0xXXX, load size 0xXXX
Transfer rate: XXXXX bits in <1 sec, XXX bytes/write.
(gdb) b main
Breakpoint 1 at .....
(gdb) c
Continuing.
The shell hangs after the above step.
As you have seen, the shared library warning is still persisting.
Any idea?
Thanks,
Avi.
-----Original Message-----
From: Jonathan Larmour [mailto:jifl@eCosCentric.com]
Sent: Wednesday, June 16, 2004 5:39 PM
To: Avi Vaknin
Cc: eCos discussion
Subject: Re: gdb/insight problem
Avi Vaknin wrote:
> Hi,
> I don't understand how I can solve the problem through the set of GDB commands you sent me?
Shrug. Do nothing if you prefer.
Jifl
> -----Original Message-----
> From: Jonathan Larmour [mailto:jifl@eCosCentric.com]
> Sent: Wednesday, June 16, 2004 5:13 PM
> To: Avi Vaknin
> Cc: eCos Discuss
> Subject: Re: gdb/insight problem
>
>
> [ Keep things on list please - that's the condition of such help, so it
> benefits others ]
>
> Avi Vaknin wrote:
>
>>How?
>>How I can use command line GDB to find the problem in this case?
>>We run the following program:
>>
>>#include <stdio.h>
>>int main(int argc , char *argv())
>>{
>> printf("Hello . \n");
>>exit 0;
>>}
>>
>>Any idea?
>
>
> powerpc-eabi-gdb -nw hello.exe
> target remote TARGETNAME:9000
> load
> break main
> break exit
> continue
> step
> continue
>
>
> Where TARGETNAME is your target's DNS anme or IP addr.
>
> Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ECOS] Re: gdb/insight problem
[not found] <C5FD9E27E9093747A8162A2CCE80AA3A22120D@srv001.wavionnetworks.com>
@ 2004-06-16 15:38 ` Jonathan Larmour
0 siblings, 0 replies; 7+ messages in thread
From: Jonathan Larmour @ 2004-06-16 15:38 UTC (permalink / raw)
To: Avi Vaknin; +Cc: eCos discussion
Avi Vaknin wrote:
> Hi,
> I don't understand how I can solve the problem through the set of GDB commands you sent me?
Shrug. Do nothing if you prefer.
Jifl
> -----Original Message-----
> From: Jonathan Larmour [mailto:jifl@eCosCentric.com]
> Sent: Wednesday, June 16, 2004 5:13 PM
> To: Avi Vaknin
> Cc: eCos Discuss
> Subject: Re: gdb/insight problem
>
>
> [ Keep things on list please - that's the condition of such help, so it
> benefits others ]
>
> Avi Vaknin wrote:
>
>>How?
>>How I can use command line GDB to find the problem in this case?
>>We run the following program:
>>
>>#include <stdio.h>
>>int main(int argc , char *argv())
>>{
>> printf("Hello . \n");
>>exit 0;
>>}
>>
>>Any idea?
>
>
> powerpc-eabi-gdb -nw hello.exe
> target remote TARGETNAME:9000
> load
> break main
> break exit
> continue
> step
> continue
>
>
> Where TARGETNAME is your target's DNS anme or IP addr.
>
> Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ECOS] Re: gdb/insight problem
2004-06-16 14:45 [ECOS] " Avi Vaknin
@ 2004-06-16 14:46 ` Jonathan Larmour
0 siblings, 0 replies; 7+ messages in thread
From: Jonathan Larmour @ 2004-06-16 14:46 UTC (permalink / raw)
To: Avi Vaknin; +Cc: ecos-discuss
Avi Vaknin wrote:
> No.
> We tried to work with Insight and not through command line GDB.
> Assuming that we can run it in command line GDB, what could be problematic when using Insight?
I don't know, but it's a way to find out.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ECOS] RE: gdb/insight problem
@ 2004-06-16 14:45 Avi Vaknin
2004-06-16 14:46 ` [ECOS] " Jonathan Larmour
0 siblings, 1 reply; 7+ messages in thread
From: Avi Vaknin @ 2004-06-16 14:45 UTC (permalink / raw)
To: Jonathan Larmour; +Cc: ecos-discuss
No.
We tried to work with Insight and not through command line GDB.
Assuming that we can run it in command line GDB, what could be problematic when using Insight?
Avi.
-----Original Message-----
From: Jonathan Larmour [mailto:jifl@eCosCentric.com]
Sent: Wednesday, June 16, 2004 4:38 PM
To: Avi Vaknin
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: gdb/insight problem
Avi Vaknin wrote:
> Hi Jifl,
> Yes. The program is definitely running and we are sure we connected in the firts
> place (using File->Target Setup) and set up as a Remote/TCP target, with
> the appropriate board's IP address/name.
That shared library warning is something I've seen elsewhere, and it's not
been a problem before. Have you tried command line GDB?
Jifl
> -----Original Message-----
> From: Jonathan Larmour [mailto:jifl@eCosCentric.com]
> Sent: Wednesday, June 16, 2004 4:10 PM
> To: Avi Vaknin
> Cc: ecos-discuss@ecos.sourceware.org
> Subject: Re: gdb/insight problem
>
>
> Avi Vaknin wrote:
>
>>
>>Hi All,
>>
>>We encountered a problem when trying to debug an eCos application.
>>
>>We use Rattler-MPC8248 target from Analogue & Micro company.
>>
>>
>>In powerpc-eabi-insight when we connects to target we receives the
>>warning "shared library handler failed to enable breakpoint"
>>
>>Indeed, we cannot set breakpoints in the code, or single-step. The
>>program just keeps running.
>
>
> The program is definitely running? Are you sure you connected in the firts
> place (using File->Target Setup) and set up as a Remote/TCP target, with
> the board's IP address/name?
>
> Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ECOS] Re: gdb/insight problem
[not found] <C5FD9E27E9093747A8162A2CCE80AA3A2211F8@srv001.wavionnetworks.com>
@ 2004-06-16 14:10 ` Jonathan Larmour
0 siblings, 0 replies; 7+ messages in thread
From: Jonathan Larmour @ 2004-06-16 14:10 UTC (permalink / raw)
To: Avi Vaknin; +Cc: ecos-discuss
Avi Vaknin wrote:
>
>
> Hi All,
>
> We encountered a problem when trying to debug an eCos application.
>
> We use Rattler-MPC8248 target from Analogue & Micro company.
>
>
> In powerpc-eabi-insight when we connects to target we receives the
> warning "shared library handler failed to enable breakpoint"
>
> Indeed, we cannot set breakpoints in the code, or single-step. The
> program just keeps running.
The program is definitely running? Are you sure you connected in the firts
place (using File->Target Setup) and set up as a Remote/TCP target, with
the board's IP address/name?
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-06-17 8:17 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-16 14:30 [ECOS] RE: gdb/insight problem Avi Vaknin
2004-06-16 14:37 ` [ECOS] " Jonathan Larmour
-- strict thread matches above, loose matches on Subject: below --
2004-06-17 8:17 [ECOS] " Avi Vaknin
[not found] <C5FD9E27E9093747A8162A2CCE80AA3A22120D@srv001.wavionnetworks.com>
2004-06-16 15:38 ` [ECOS] " Jonathan Larmour
2004-06-16 14:45 [ECOS] " Avi Vaknin
2004-06-16 14:46 ` [ECOS] " Jonathan Larmour
[not found] <C5FD9E27E9093747A8162A2CCE80AA3A2211F8@srv001.wavionnetworks.com>
2004-06-16 14:10 ` Jonathan Larmour
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).