[ECOS] arm-eabi-gdb

grahamlab graham.labdon@cranems.co.uk
Tue Apr 7 10:52:00 GMT 2009




grahamlab wrote:
> 
> 
> Sergei Gavrikov-4 wrote:
>> 
>> grahamlab wrote:
>> 
>> [cut the wars with minicom]
>> 
>>> Hi Sergei
>>> 
>>> I have tried downloading various random images as suggested and all
>>> download successfully Typing the $ seems to lock the display - is this
>>> what you expected?
>>> 
>>> Graham
>> 
>> Yep. It seems for me, your RedBoot supports GDB.
>> 
>> Now (you work with some built elf binary), fulfil
>> 
>> i) invoke
>> 
>> $ file DevBoard_install/tests/kernel/v3_0/tests/bin_sem0
>> 
>> <copy and paste an output just the below for us>
>> DevBoard_install/tests/kernel/v3_0/tests/bin_sem0: ELF 32-bit LSB
>> executable, ARM, version 1 (SYSV), statically linked, not stripped
>> 
>> 
>> 
>> ii) invoke
>> 
>> $ arm-eabi-size -Ax DevBoard_install/tests/kernel/v3_0/tests/bin_sem0
>> 
>> <copy and paste an output the below for us>
>> 
>> section              size         addr
>> .debug_aranges     0x1440          0x0
>> .debug_pubnames    0x377d          0x0
>> .debug_info       0x4de43          0x0
>> .debug_abbrev      0xab3f          0x0
>> .debug_line        0xad87          0x0
>> .debug_frame       0x31f8          0x0
>> .debug_str         0x8482          0x0
>> .debug_loc         0xd8c1          0x0
>> .rom_vectors          0x8   0x68008000
>> .ARM.exidx           0x10   0x68008008
>> .text              0x4330   0x68008018
>> .rodata             0x38c   0x6800c348
>> .eh_frame             0x8   0x6800c6d8
>> .data               0x180   0x6800c6e0
>> .bss               0x32f8   0x6800c860
>> .ARM.attributes      0x2f          0x0
>> .debug_ranges      0x44c0          0x0
>> .comment            0x8f7          0x0
>> Total             0x8db3b
>> 
>> 
>> iii)
>> 
>> We need to look on a startup screen your RedBoot
>> 
>> <copy and paste a starup-screen the below>
>> 
>> RedBoot(tm) bootstrap and debug environment [ROM]           
>> Non-certified release, version v3_0 - built 09:17:39, Apr  7 2009
>>                                                             
>> Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
>> Free Software Foundation, Inc.                              
>> RedBoot is free software, covered by the eCos license, derived from the
>> GNU General Public License. You are welcome to change it and/or
>> distribute
>> copies of it under certain conditions. Under the license terms, RedBoot's
>> source code and full license terms must have been made available to you.
>> Redboot comes with ABSOLUTELY NO WARRANTY.                  
>> 
>> Platform: ST STM3210E EVAL (Cortex-M3) 
>> RAM: 0x68000000-0x68100000 [0x68003188-0x68100000 available]
>>      0x20000000-0x2000f000 [0x20000000-0x2000f000 available]                    
>> RedBoot> 
>> 
>> Note: I want to know a bit more about your RAM location and its size.
>> RedBoot talks about.
>> 
>> 
>> Sergei
>> 
>> -- 
>> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
>> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>> 
>> 
>> 
> 
> 

Hello again
I downloaded the bin_sem0 program via minicom and ran it successfully - I
just cant use gdb from the command line which I will need. Any more clues?
Graham
-- 
View this message in context: http://www.nabble.com/arm-eabi-gdb-tp22908205p22926372.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