From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10458 invoked by alias); 7 Jan 2008 17:32:38 -0000 Received: (qmail 10450 invoked by uid 22791); 7 Jan 2008 17:32:37 -0000 X-Spam-Check-By: sourceware.org Received: from mail.net.t-labs.tu-berlin.de (HELO mail.net.t-labs.tu-berlin.de) (130.149.220.252) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 07 Jan 2008 17:32:06 +0000 Received: from [130.149.220.17] (crow.net.t-labs.tu-berlin.de [130.149.220.17]) by mail.net.t-labs.tu-berlin.de (Postfix) with ESMTP id 70209701D7AE; Mon, 7 Jan 2008 18:32:03 +0100 (CET) Message-ID: <47826212.8060207@net.t-labs.tu-berlin.de> Date: Mon, 07 Jan 2008 17:32:00 -0000 From: =?UTF-8?B?SGFyYWxkIFNjaGnDtmJlcmc=?= User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: =?UTF-8?B?SGFyYWxkIFNjaGnDtmJlcmc=?= , gdb@sourceware.org Subject: Re: SIGILL on gdbserver/ARM/uclibc References: <4781FF52.8080905@net.t-labs.tu-berlin.de> <20080107131504.GA31561@caradoc.them.org> <47822DE1.10904@net.t-labs.tu-berlin.de> <20080107151939.GA6032@caradoc.them.org> In-Reply-To: <20080107151939.GA6032@caradoc.them.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: 2008-01/txt/msg00039.txt.bz2 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Daniel Jacobowitz wrote: > On Mon, Jan 07, 2008 at 02:49:21PM +0100, Harald Schiöberg wrote: >> uhm, where do I find some info about reading the debug output. > > In the manual. But I can pick out the instruction for you, here... > >> Sending packet: $X844c,4:�237\000\001#84...Ack > > Of course your mailer seems to have garbled that a little so I can't > tell exactly what character it was. But it's something 0237 000 001. > That's arm_linux_arm_be_breakpoint. If you're using > arm-linux-gnueabi, it's wrong; if you're using old-ABI it should be > correct. > thank you, for everyone searching the archive: "set arm abi AAPCS" (instead of default APCS) fixed it. >> warning: no loadable sections found in added symbol-file >> /data/harald/root/lib/ld-uClibc >> .so.0 > > Is that really the right file? It looks corrupt. not yet sure what it is, but: root@OpenWrt:/nfs/tmp# ldd ./hello libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4000e000) libc.so.0 => /lib/libc.so.0 (0x40020000) libc.so.0 => /lib/libc.so.0 (0x40083000) ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000) he furthermore now claims: warning: no loadable sections found in added symbol-file /data/harald/root/lib/libgcc_s.so.1 warning: no loadable sections found in added symbol-file /data/harald/root/lib/libc.so.0 I have to dig a little bit deeper, most likely OpenWRT is guilty here, unless gdb does something really weird. Thanks a lot Harald - -- Harald Schiöberg Technische Universität Berlin | T-Laboratories | FG INET www: http://www.net.t-labs.tu-berlin.de Phone: +49-(0)30-8353-58476 | Fax: +49-(0)391 534 783 47 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHgmISJgyxs71kcx4RAsCmAKDSCXCrjgqgB6yqoGq298C/RKXbHwCg0X4m CyRJBawVugTYLck1dLmECwo= =aEIf -----END PGP SIGNATURE-----