Re: [U-Boot] [PATCH] ARM: Add .data/.rodata/.bss section starts to gd_t

2012-03-01 Thread Peter Barada
On 03/01/2012 09:22 AM, Albert ARIBAUD wrote: > Hi Peter, > > Le 29/02/2012 17:42, Peter Barada a écrit : >> On 02/28/2012 05:04 PM, Albert ARIBAUD wrote: >>> Hi Peter, >>> >>> Le 27/02/2012 23:00, Peter Barada a écrit : When debugging u-boot, after relocation its tedious to calculate position

Re: [U-Boot] [PATCH] ARM: Add .data/.rodata/.bss section starts to gd_t

2012-03-01 Thread Albert ARIBAUD
Hi Peter, Le 29/02/2012 17:42, Peter Barada a écrit : On 02/28/2012 05:04 PM, Albert ARIBAUD wrote: Hi Peter, Le 27/02/2012 23:00, Peter Barada a écrit : When debugging u-boot, after relocation its tedious to calculate positions of the various sections (.data, .rodata, .bss). To make it easi

Re: [U-Boot] [PATCH] ARM: Add .data/.rodata/.bss section starts to gd_t

2012-02-29 Thread Peter Barada
On 02/28/2012 05:04 PM, Albert ARIBAUD wrote: > Hi Peter, > > Le 27/02/2012 23:00, Peter Barada a écrit : >> When debugging u-boot, after relocation its tedious to calculate positions >> of the various sections (.data, .rodata, .bss). To make it easier, add >> the structure "sections" to gd_t that

Re: [U-Boot] [PATCH] ARM: Add .data/.rodata/.bss section starts to gd_t

2012-02-28 Thread Albert ARIBAUD
Hi Peter, Le 27/02/2012 23:00, Peter Barada a écrit : When debugging u-boot, after relocation its tedious to calculate positions of the various sections (.data, .rodata, .bss). To make it easier, add the structure "sections" to gd_t that contains the relocated start of those sections. Then the

[U-Boot] [PATCH] ARM: Add .data/.rodata/.bss section starts to gd_t

2012-02-27 Thread Peter Barada
When debugging u-boot, after relocation its tedious to calculate positions of the various sections (.data, .rodata, .bss). To make it easier, add the structure "sections" to gd_t that contains the relocated start of those sections. Then the gdb command "add-symbol-file" can by used with "-s " th