From: Wolfgang Denk Date: Wed, 28 Nov 2012 10:24:35 +0100 Subject: [U-Boot] [PATCH 0/2] [RFC] DEBUG: relocate to fixed address In-Reply-To: <1354059376.5475.6.camel@home.hno.se> References: <1354054951.2317.14@tyr> <1354059376.5475.6.camel@home.hno.se> Message-ID: <20121128092435.71FD320104E@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Henrik Nordstr?m, In message <1354059376.5475.6.camel@home.hno.se> you wrote: > > > How am I going to script gdb to figure out the relocation address when > > I'm just running it on the image to get symbols, not actually > > connecting to the target? > > It can be calculated from ram size and size of your u-boot binary > including bss (reported by size on the elf binary). This works only in very basic configurations of U-Boot. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de A UNIX saleslady, Lenore, Enjoys work, but she likes the beach more. She found a good way To combine work and play: She sells C shells by the seashore.