public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARM: Add .data/.rodata/.bss section starts to gd_t
Date: Tue, 28 Feb 2012 23:04:39 +0100	[thread overview]
Message-ID: <4F4D4F77.4040609@aribaud.net> (raw)
In-Reply-To: <1330380044-8305-1-git-send-email-peter.barada@logicpd.com>

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 gdb command "add-symbol-file" can by used with
> "-s<section>  <address>" that corresponds to the values in gd_t->sections.

NAK until I get an explanation and usage scenario for this, because I've 
never had to do calculations on sections so far, so I want to understand 
why it would be needed.

Amicalement,
-- 
Albert.

  reply	other threads:[~2012-02-28 22:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-27 22:00 [U-Boot] [PATCH] ARM: Add .data/.rodata/.bss section starts to gd_t Peter Barada
2012-02-28 22:04 ` Albert ARIBAUD [this message]
2012-02-29 16:42   ` Peter Barada
2012-03-01 14:22     ` Albert ARIBAUD
2012-03-01 15:57       ` Peter Barada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F4D4F77.4040609@aribaud.net \
    --to=albert.u.boot@aribaud.net \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox