[ECOS] arm-eabi-gdb

grahamlab graham.labdon@cranems.co.uk
Mon Apr 6 15:26:00 GMT 2009



Gary Thomas wrote:
> 
> grahamlab wrote:
>> 
>> 
>> Chris Zimman wrote:
>>>> Hi
>>>> I have just installed Cygwin and ecos.
>>>> I have built the test cases for my ecos configuration.
>>>> When I try to invoke the arm-eabi-gdb command from a Cygwin command
>>>> window I
>>>> get retruned to the command prompt immediately.
>>>>
>>>> Does anyone know why this happens
>>> Graham,
>>>
>>> There are virtually unlimited reasons that things can be not working.
>>> There's no information in your post that would in any way enable anyone
>>> to
>>> help you any further.
>>>
>>> I suggest that:
>>>
>>> (1)  Please stop top posting -- if you don't understand what that is,
>>> it's
>>> when you reply to a message and put your reply above original message. 
>>> While
>>> I don't personally care either way, top posting is not looked upon well
>>> on
>>> this list.
>>>
>>> (2)  Make sure your Cygwin (or whatever you're using) environment is
>>> working
>>> OK first before you worry about getting GDB to talk to Redboot.  If you
>>> are
>>> having general Cygwin troubles, there are Cygwin specific mailing lists
>>> that
>>> assist with such things.  There is also commercial support (Gary and/or
>>> eCosCentric), which I have been pointing a lot of people to as of late,
>>> since
>>> some of the questions that have been coming up are more suited to that
>>> level
>>> of support.
>>>
>>> (3)  Don't repost the same question if you don't get an answer
>>> immediately.
>>>
>>> Thanks
>>>
>>> --Chris
>>>
>>> --
>>> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
>>> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>>>
>>>
>>>
>> 
>> Chris
>> 
>> I started a new thread as this is a different (although related) topic.
>> I have read the eCos documentation and followed the instructions for
>> downloading Cygwin and then installing Ecos.
>> I can run the Ecos configuration tool and build.
>> Cygwin appears to be installed correctly.
>> But when I type
>> arm-eabi-gdb -help
>> nothing happens and I get returned to the command prompt.
>> my path is set correctly and arm-eabi-gdb exists
>> I am getting very frustrated at this point and would be grateful of any
>> information anyone can supply in this regard
> 
> Actually, Chris did give you some valuable feedback.  You had
> the basic stuff going using VirtualBox, albeit with problems.
> Now that you've tried CygWin, you can't even get that far.
> Not surprising given all the troubles folks have had with
> CygWin over time.
> 
> Go back to VirtualBox and _really_ try to figure out what your
> trouble is.  This does work - has for many folks - so you must
> just have something setup wrong, most likely the actual serial
> connection to your board.
> 
> One question - when you originally reported that you could
> get the RedBoot prompt in your minicom window and then had
> trouble getting code to download via GDB, did you still have
> the minicom window open?
> 
> 
> 
> -- 
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> 
> -- 
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
> 
> 
> 
I did not have mincom running.
I type arm-eabi-gdb -nw DevBoard_install/tests/kernel/v3_0/tests/bin_sem0
at the gdb prompt 
set remotebaud 38400
target remote /dev/ttyS0

After this according to the ecos documentation I should see some information
about the current loaction and language.

What I get is
Remote Debugging using /dev/ttyS0
0x08003b3a in ?? ()

I dont get any extra information.

Is this a problem?

Thanks again

Graham


-- 
View this message in context: http://www.nabble.com/arm-eabi-gdb-tp22908205p22910997.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.


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



More information about the Ecos-discuss mailing list