This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: gdb/insight problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]