From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19817 invoked by alias); 24 Aug 2012 22:10:51 -0000 Received: (qmail 19807 invoked by uid 22791); 24 Aug 2012 22:10:50 -0000 X-SWARE-Spam-Status: No, hits=-8.7 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 24 Aug 2012 22:10:37 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id C049133D783; Fri, 24 Aug 2012 22:10:36 +0000 (UTC) From: Mike Frysinger To: DJ Delorie Subject: Re: is sim/common documented anywhere? Date: Fri, 24 Aug 2012 22:10:00 -0000 User-Agent: KMail/1.13.7 (Linux/3.5.0; KDE/4.6.5; x86_64; ; ) Cc: gdb@sourceware.org References: <201208222258.q7MMw5Gw016471@greed.delorie.com> <201208222111.38601.vapier@gentoo.org> <201208242003.q7OK3pEP010608@greed.delorie.com> In-Reply-To: <201208242003.q7OK3pEP010608@greed.delorie.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1801621.bn3WanLdAJ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201208241810.45936.vapier@gentoo.org> 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: 2012-08/txt/msg00083.txt.bz2 --nextPart1801621.bn3WanLdAJ Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-length: 911 On Friday 24 August 2012 16:03:51 DJ Delorie wrote: > Ok, how do I get past this one... >=20 > sim-events.c:1076: assertion failed - events->nr_ticks_to_process !=3D 0 >=20 > This happens after sim_create_inferior is called, but before > sim_engine_run is called. ah, sometimes i think that error is the bane of my [sim] existence.=20=20 annoyingly, it can arise for a few different reasons. first, you don't want the common/sim-run.c [1]. although i'll probably jus= t=20 gut that already and make it usable since no one ever got back to me and ma= ke=20 it so it is usable by default ... second, you're using nrun.c right ? make sure SIM_RUN_OBJS=3Dnrun.o in you= r=20 Makefile.in. third, how are you launching ? `gdb` or `run` ? fourth, i vaguely recall not fulling initializing the state in the arch=20 sim_open() can cause this to trip. -mike 1: http://sourceware.org/ml/gdb/2010-02/msg00046.html --nextPart1801621.bn3WanLdAJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJQN/vlAAoJEEFjO5/oN/WBeJEQAMJZXBmTaBzScemF8UazP+Qo JOjeh0XUDAjIEDInaNpw5lIFtI42ETBmIVDhsQuMnswoVAW/PW8n9pk282Sv5Whv sgKlHPV5na7b36BDPTkTuXGjmGnQOCraNDvObKMD6BB5nuQXQipdgTHeyMB4EJd7 YkjBK49wJQ0Oa6qyNU449g8oeI/V0P53DtLKVVmoRotge00AmHPaGZU3TfyELZ0f qr/WuV+5i01LWq6Gz3RcFnDdUMBF+/zbhptbOluWsyaxL5T7dnQ/EombDLLVt3rA mUFOC8v4skJ4cD4EJySg3bO5fz7rSXicMByVuKtJGUHpYjvQ2K7jQOxmhMiDLLK2 0wlud0JzUjIpuXewriujKmxtXgSlVnMbJagReaEEA2q6iw3bylhKvxAohSPWkSso DEnF0FQDloNn88xNkWko1YeHJK0h5JsNI2tUGLUGxSUcQehRAyx32d/M39v10NVn xf6BojxuaH7PZDZ1zr3nQg/Ka5ral8NhI0S3bPjKxFl5raYZIXLSKid0rUfWfrW8 pmPN7kX1GQvIaxpv6zv3vOEbYCB7i/B9AH0tHL5LBPVvxxn98XmA4OFnLyPAhA2G WZrY04B05+pLqbmVgRIJZbz2z1CAwvX3ZjID/ZbiX2ywIXZA6+Z5QdPt4Eyv3+sm sWYpVTtwe/ixqvxX8z8v =Iwxd -----END PGP SIGNATURE----- --nextPart1801621.bn3WanLdAJ--