From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23581 invoked by alias); 24 Apr 2009 16:05:24 -0000 Received: (qmail 23566 invoked by uid 22791); 24 Apr 2009 16:05:22 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-qy0-f123.google.com (HELO mail-qy0-f123.google.com) (209.85.221.123) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 24 Apr 2009 16:05:17 +0000 Received: by qyk29 with SMTP id 29so2584237qyk.12 for ; Fri, 24 Apr 2009 09:05:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.86.145 with SMTP id s17mr1484549qcl.10.1240589114850; Fri, 24 Apr 2009 09:05:14 -0700 (PDT) Date: Fri, 24 Apr 2009 20:03:00 -0000 Message-ID: <528f13590904240905l18ca611ape5fd242b0bf428f6@mail.gmail.com> Subject: Remote GDB to JTAG From: alfred steele To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-04/txt/msg00190.txt.bz2 Hi I am using arm-elf-gdb version GNU gdb 5.3 . I am trying to debug u-boot using arm-elf-gdb. I have been succesfully using this gdb to a great extent. However, when i try my vanilla u-boot image with debug, i get a "segfault". $ arm-elf-gdb u-boot GNU gdb 5.3 (eCosCentric) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf"... (gdb) symbol-file u-boot Load new symbol table from "u-boot"? (y or n) y Reading symbols from u-boot...done. (gdb) target remote 206.44.17.238:2001 Remote debugging using 206.44.17.238:2001 Segmentation fault Could it be something wrong with the binary itslef. If so, any hints as to what could be wrong? Thanks, Alfred.