This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Re: A Build and a debug question
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Geoff <geoff dot westwood at blueyonder dot co dot uk>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 25 Mar 2003 00:06:39 +0000
- Subject: Re: [ECOS] Re: A Build and a debug question
- References: <000601c2f252$83e26e90$9ad91f3e@homepc>
Geoff wrote:
Q1)
Re: the build warnings. They were mainly associated with the network stack
files. I was just trying to ascertain if some warnings were to be expected.
I thought it might be indicative that I had done something wrong in the OS
build and hence might be related to my gdb problem
Nah, don't worry. A lot of the warnings from both the networking stack and
the SNMP stack are because they are sources imported from elsewhere. While
100% warning cleanliness is a good goal in general, it's also inadvisable
to perturb imported sources too much for the sake of future merges.
Q2)
Sorry for my unfamiliarity with this but I had not even spotted a section in
the config tool for specifyng start up options. I think the gdb error
appeared when I switched from the default package (no network stack) to the
new_net package. Hopefully I am using a Ram Only start-up type on the Viper
board. I have had a quick search through the docs but cant find much on
start-up options.
This may be a silly suggestion, but given what the warning actually said,
are you sure you are running "powerpc-eabi-gdb" and not just "gdb"?
Otherwise, it certainly implies some problem with the remote protocol
(which is based on hex strings). Is it repeatable? As Gary suggests,
trying the eCos tests would be a good idea as it reduces the possibility
of problems with building the executables.
If you still have no joy you should let us know a) how you built your
application (compile and link line etc.) and b) how you are running GDB
(command line and commands).
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss