[uClinux-dev] GDB enabled Make

Phil Wilshire philwil at earthlink.net
Thu Mar 6 10:51:01 EST 2003

Hi Santosh,
I am not sure how you are downloading to the target system but
The inclusion of the debug information in the output file does not mean that
the actual system you load to the target system is the same size.

The same goes for the user apps. The .gdb or .elf files may be larget but the 
flat files are the same size.

use arm-elf-objdump -h linux 
typical results shown

Idx Name          Size      VMA       LMA       File off  Algn
  0 .init         0000a000  01000000  01000000  00008000  2**5
                  CONTENTS, ALLOC, LOAD, CODE
  1 .text         0023a2c8  0100a000  0100a000  00012000  2**5
  2 .data         0000964c  01246000  01246000  0024e000  2**5
                  CONTENTS, ALLOC, LOAD, DATA
  3 .bss          00022350  0124f660  0124f660  00257660  2**5
  Phil Wilshire

Santosh Bhat wrote:
> Hi List ,
> I am trying to debug the ARM7 core . I have a 8 mb ram . when I compile the
> code with debug enabled (without any applications ) it is coming up to 13-14
> mb of which i will not be able to download in to my RAM . Is there any way ,
> selectively I can choose the files of which i want to debug , enable only
> those with -g so that I'll be able to debug from the source ???
> If yes which are the dependencies/Make files i will have to examine ??
> Any help/pointer on this is appreciated.
> Regards
> Santosh Bhat
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org

SDCS -- System Design & Consulting Services LLC, http://www.sysdcs.com
** Embedded Linux Training **  email me for details  
630 Springhouse Sq., Leesburg VA 20175 t: 703 669 9766 f: 703 669 9768

More information about the uClinux-dev mailing list