From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 79931 invoked by alias); 19 Mar 2015 18:52:20 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 79917 invoked by uid 89); 19 Mar 2015 18:52:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 19 Mar 2015 18:52:19 +0000 Received: from vapier (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id 193C2340A64; Thu, 19 Mar 2015 18:52:17 +0000 (UTC) Date: Thu, 19 Mar 2015 18:52:00 -0000 From: Mike Frysinger To: James Bowman Cc: "gdb-patches@sourceware.org" Subject: Re: [PATCH, FT32] gdb and sim support Message-ID: <20150319185217.GC4128@vapier> Mail-Followup-To: James Bowman , "gdb-patches@sourceware.org" References: <20150224045154.GE13523@vapier> <20150316082548.GC12926@vapier> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hOcCNbCCxyk/YU74" Content-Disposition: inline In-Reply-To: X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00601.txt.bz2 --hOcCNbCCxyk/YU74 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 801 On 19 Mar 2015 15:26, James Bowman wrote: > > > +SIM_RUN_OBJS =3D nrun.o > >=20 > > i flipped the default in the latest tree so you can delete this now >=20 > Deleting this line gives: >=20 > run.o: In function `main': > ... /ft32/../common/run.c:116: undefined reference to `sim_set_callbacks' > ... /ft32/../common/run.c:163: undefined reference to `sim_size' > ... /ft32/../common/run.c:271: undefined reference to `sim_trace' you probably need to: - make sure you're using the latest tree - make sure you've regenerated the autotool files - rebuild the sim dir from scratch > > > + sd->base.prog_argv =3D argv + 1; > >=20 > > why do you need to do this ? >=20 > Because if this is omitted, no command line arguments are processed. if you use nrun (see above) then you don't need this -mike --hOcCNbCCxyk/YU74 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVCxrhAAoJEEFjO5/oN/WB+8QP/1u+RuSxrQpdc6leIWGSGhqt Ci6Z3arf0/aoOwb4g/O2uBp1myYle8yxzB2Bz2Mf95cRyOKsNLevHsknE3EUag9l 7w3UMlKrgwQCZVFiRvgwGbG78k60E1wU5nvfbNdmSxs3tM+ZD37fMCTk+bTOWpT4 6NbQtMESUpwaKzHfx8yYv9PyuiU/EU5iL4e9kOTVEMPtm34TGpRR+kpHaiqPW7ER 9DooMirr1tUymQU1uSTqzKDfDM5jomPHqFdWx3zXVfdIfHKhPWklVmgAHymNbTcy ME0/bZ1RCKjpXTeUpf7riyymq7Y8s2fVC42QPd8NHbZaasTRkhzVm3jwN+/veKBn Rv74EfrG0+dazQqJDEh0HmRWMk6e3ZPUoEGVTrYaZ6WHwqeW/y1lT+0ni4xMW5cq oNb9qCrd6nT6Y74pFX4Hu+DaUmA2FiiUsBKiwDlq619ueIVKPE2Y7uN8ih8JKqKZ d31vcM2JYSVU1dgZ1ZcX0NFAECAdu8c2IlsJMEK1IZZmJdjVx550oF53IOw7XcQg HSD4JtADE60kSLWp4PSgHaMBeBcOqv+t1zexZA+GpiPScJeSSorZAwdHHS44XjCH 2XRlUulFeEs4PtZa1MOc4PfPLn/ij/TURFCUHw801n1AuJrJs0o4thiYg5ycHGSJ pEZyhMc7zczwSBkN+W79 =sEZh -----END PGP SIGNATURE----- --hOcCNbCCxyk/YU74--