From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28926 invoked by alias); 7 Jan 2008 13:15:31 -0000 Received: (qmail 28917 invoked by uid 22791); 7 Jan 2008 13:15:30 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 07 Jan 2008 13:15:10 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 69440982E2; Mon, 7 Jan 2008 13:15:08 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 4E12B98020; Mon, 7 Jan 2008 13:15:08 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1JBrom-0008DZ-9Z; Mon, 07 Jan 2008 08:15:04 -0500 Date: Mon, 07 Jan 2008 13:15:00 -0000 From: Daniel Jacobowitz To: Harald =?iso-8859-1?Q?Schi=F6berg?= Cc: gdb@sourceware.org Subject: Re: SIGILL on gdbserver/ARM/uclibc Message-ID: <20080107131504.GA31561@caradoc.them.org> Mail-Followup-To: Harald =?iso-8859-1?Q?Schi=F6berg?= , gdb@sourceware.org References: <4781FF52.8080905@net.t-labs.tu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4781FF52.8080905@net.t-labs.tu-berlin.de> User-Agent: Mutt/1.5.17 (2007-12-11) 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/msg00033.txt.bz2 On Mon, Jan 07, 2008 at 11:30:42AM +0100, Harald Schiƶberg wrote: > I'm getting SIGILL after a breakpoint on the target. Figure out what instruction GDB is inserting, by using "set debug remote 1" and watching the memory writes. Try running that instruction using asm("") on your target. If it doesn't generate a SIGTRAP, then either GDB is confused and using the wrong instruction, or your kernel is confused and generating the wrong signal. > (gdb) target remote 172.17.2.190:4000 > Remote debugging using 172.17.2.190:4000 > warning: Unable to find dynamic linker breakpoint function. > GDB will be unable to debug shared library initializers > and track explicitly loaded dynamic code. See "set sysroot". -- Daniel Jacobowitz CodeSourcery