From: Wolfgang Denk Date: Thu, 04 Sep 2003 16:10:12 +0200 Subject: [U-Boot-Users] u-boot debugging boot with gdb and bdi2000 in lubbock(PXA255) board In-Reply-To: Your message of "Thu, 04 Sep 2003 08:32:20 EDT." Message-ID: <20030904141017.359B5C59E4@atlas.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 In message you wrote: > > I usually set TEXT_BASE=0 in board/lubbock/config.mk for debugging before > start_armboot. No need to reflash. You should be able to reload symbols in > gdb at offset 0, but for some reason I've never been able to get this to > work correctly. So linking at 0 sets symbols for gdb correctly. Then you can > use gdb in a normal manner. No need to recompile / relink. GDB will do the same when you use "symbol-file" to delte the current ymbol table and "add-symbol-file" to load the symbol file to the wanted target address (0x0). Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Emotions are alien to me. I'm a scientist. -- Spock, "This Side of Paradise", stardate 3417.3