public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Avi Vaknin" <avi@WavionNetworks.com>
To: "Jonathan Larmour" <jifl@eCosCentric.com>,
	<frank.Robbins@analogue-micro.com>, <gary@mlbassoc.com>
Cc: "eCos discussion" <ecos-discuss@ecos.sourceware.org>,
	<keiths@redhat.com>
Subject: [ECOS] RE: gdb/insight problem
Date: Thu, 17 Jun 2004 08:17:00 -0000	[thread overview]
Message-ID: <C5FD9E27E9093747A8162A2CCE80AA3A221214@srv001.wavionnetworks.com> (raw)

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

             reply	other threads:[~2004-06-17  8:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-17  8:17 Avi Vaknin [this message]
     [not found] <C5FD9E27E9093747A8162A2CCE80AA3A22120D@srv001.wavionnetworks.com>
2004-06-16 15:38 ` [ECOS] " Jonathan Larmour
  -- strict thread matches above, loose matches on Subject: below --
2004-06-16 14:45 [ECOS] " Avi Vaknin
2004-06-16 14:46 ` [ECOS] " Jonathan Larmour
2004-06-16 14:30 [ECOS] " Avi Vaknin
2004-06-16 14:37 ` [ECOS] " Jonathan Larmour
     [not found] <C5FD9E27E9093747A8162A2CCE80AA3A2211F8@srv001.wavionnetworks.com>
2004-06-16 14:10 ` Jonathan Larmour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C5FD9E27E9093747A8162A2CCE80AA3A221214@srv001.wavionnetworks.com \
    --to=avi@wavionnetworks.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=frank.Robbins@analogue-micro.com \
    --cc=gary@mlbassoc.com \
    --cc=jifl@eCosCentric.com \
    --cc=keiths@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).