From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12484 invoked by alias); 15 Jan 2015 20:39:14 -0000 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 Received: (qmail 12467 invoked by uid 89); 15 Jan 2015 20:39:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: na01-bn1-obe.outbound.protection.outlook.com Received: from mail-bn1bon0064.outbound.protection.outlook.com (HELO na01-bn1-obe.outbound.protection.outlook.com) (157.56.111.64) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA256 encrypted) ESMTPS; Thu, 15 Jan 2015 20:39:10 +0000 Received: from [10.32.237.135] (132.170.212.11) by BLUPR07MB849.namprd07.prod.outlook.com (10.242.188.15) with Microsoft SMTP Server (TLS) id 15.1.59.20; Thu, 15 Jan 2015 20:39:06 +0000 Message-ID: <54B82616.1060706@knights.ucf.edu> Date: Thu, 15 Jan 2015 20:39:00 -0000 From: Orlando Arias User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Subject: Re: Issues debugging remote leon3 system References: <54B00064.2070401@knights.ucf.edu> In-Reply-To: <54B00064.2070401@knights.ucf.edu> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Gn1qO0RS0Wv0SsPkWJebMMa0q2rnqV7He" X-ClientProxiedBy: BLUPR05CA0045.namprd05.prod.outlook.com (10.141.20.15) To BLUPR07MB849.namprd07.prod.outlook.com (10.242.188.15) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=oarias@knights.ucf.edu; X-DmarcAction-Test: None X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(3005004);SRVR:BLUPR07MB849; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004);SRVR:BLUPR07MB849; X-Forefront-PRVS: 0457F11EAF X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6009001)(6049001)(51704005)(479174004)(377454003)(199003)(24454002)(189002)(65806001)(75432002)(46102003)(106356001)(64706001)(89122001)(65956001)(110136001)(107886001)(2351001)(66066001)(512874002)(15395725005)(92566002)(97736003)(84326002)(83506001)(88552001)(42186005)(86362001)(87976001)(76176999)(54356999)(87266999)(65816999)(19580395003)(33656002)(59896002)(101416001)(122386002)(15975445007)(50986999)(2950100001)(77156002)(62966003)(68736005)(568964001)(77096005)(450100001)(40100003);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR07MB849;H:[10.32.237.135];FPR:;SPF:None;MLV:sfv;PTR:InfoNoRecords;A:0;MX:1;LANG:en; Received-SPF: None (protection.outlook.com: knights.ucf.edu does not designate permitted sender hosts) X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:;SRVR:BLUPR07MB849; X-OriginatorOrg: knights.ucf.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jan 2015 20:39:06.4578 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR07MB849 X-IsSubscribed: yes X-SW-Source: 2015-01/txt/msg00032.txt.bz2 --Gn1qO0RS0Wv0SsPkWJebMMa0q2rnqV7He Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-length: 2949 Greetings, In hope anybody is seeing this, I have updated to GDB 7.8.2 and the issue is still persistent. I am configuring gdb in its own build directory with mkdir gdb-build && cd gdb-build ../configure --prefix=3D/usr \ --target=3Dsparc-leon3-linux \ --host=3Dx86_64-unknown-linux-gnu \ --build=3Dx86_64-unknonw-linux-gnu \ --with-sysroot=3D/usr/sparc-leon3-linux \ --without-guile \ --disable-nls \ --with-python=3D/usr/bin/python2 \ --with-system-readline and gdbserver as a separate package with ../configure --prefix=3D/usr \ --build=3Dx86_64-unknown-linux-gnu \ --host=3Dsparc-leon3-linux \ --program-prefix=3D"" \ --disable-nls Please let me know if I am missing something. Thank you. Cheers, Orlando. On 01/09/2015 11:23 AM, Orlando Arias wrote: > Greetings >=20 > I have a Spartan6 FPGA in a Xilinx SP605 board configured with a stock > Leon3 SPARC processor. Currently, I am running GNU/Linux on the device > (kernel version 3.14.26, uClibc version 0.9.33.2, BusyBox 1.23.0) and I > am attempting to run gdbserver on the device. >=20 > Whenever I try to connect remotely through TCP, I get the following > error on the GDB client: >=20 > $ sparc-leon3-linux-gdb hw > GNU gdb 7.8.1 > Copyright (C) 2014 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "--host=3Dx86_64-unknown-linux-gnu > --target=3Dsparc-leon3-linux". > Type "show configuration" for configuration details. > For bug reporting instructions, please see: > . > Find the GDB manual and other documentation resources online at: > . > For help, type "help". > Type "apropos word" to search for commands related to "word"... > Reading symbols from hw...done. > (gdb) target remote leon3:1234 > Remote debugging using leon3:1234 > Remote register badly formatted: > T050e:0000000000000000;1e:00000000efc4d6a0;50:0000000000000000;51:0000000= 000000000;0f:0000000000000000;thread:p37d.37d;core:0; > here: > 00000000;1e:00000000efc4d6a0;50:0000000000000000;51:0000000000000000;0f:0= 000000000000000;thread:p37d.37d;core:0; > (gdb) >=20 >=20 > Attached you can find the the output of gdbserver (debugging enabled, > not placed here). I have done a packet capture of the protocol for an > ARM target and compared it to a capture for the Leon3 target and noticed > that there a few XML files being transmitted on the ARM target which are > not present in the SPARC target. I am not sure if this is necessary. >=20 > I do not have any other SPARC units on which I can test this issue and > searching online and the mailing lists has yielded no results. Please > advice. Thank you. >=20 > Cheers, > Orlando. >=20 --Gn1qO0RS0Wv0SsPkWJebMMa0q2rnqV7He Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJUuCYWAAoJEKwbU4ENrwN15jMP/RVyPx1K1SfHoC72qTqARQdt VKZAo1TUoiQu4romzDZWJrjUqUJ/IZKZljI/73j0kVIA1h/DnW1EzdqpVVEwXAA9 hY4NWSBe8DESkuP170/8CVLazKk+9cGUu+Ol8XtM2avgV72R8+2wry18qSLhVBUg k+4xbmI/6wAQ6XhwBA633hy5wAsJgXhmzO+wGlnxfTc/JV+OO7zUcYTuGKfevoQZ PvQN6Kyq4UuRao79/L59TWblHiI4wDsaPVl3Rw4pMwO9o1bZob1JJtC8QoR0lhkc CoQ+K4GGMKoRcWAM6qPKbL4CnWrrrO8i/cpy050ttT++sZsa5P5aiv/huC2mI8hi w+z0KgvPNhofWnifQxxSRbbLXB4lXjnJwP719Vvk1DQ35jsItBfKJFU0wRKEcnHm hbddK6btnSbIdb9K73cGUk2ZTi+u8fu1wzRAiJgU4F/pZnqSNM1E5yrKinLHOfkb /w5Bnpt6B2nhtTM7fr4cQzZx/21OW8Bz4js/e35GtoiWr7UyrzG7r47Ftx8YCvfv IFOE5/V5da5TEPJEeop9VPRocONoSfggzdE759WfK+G40pZRo41Z/mXHTL+hkUUf 4aZFlwDabVr4Q+AktwoMswkjKkt1pS2T5JdhYBQ2uePuI7+qboNNCxEhGVEE0zQS OmOJNyUtZYUZB2l5CWGK =glH9 -----END PGP SIGNATURE----- --Gn1qO0RS0Wv0SsPkWJebMMa0q2rnqV7He--