From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13519 invoked by alias); 5 Nov 2003 19:30:15 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 13512 invoked from network); 5 Nov 2003 19:30:12 -0000 Received: from unknown (HELO cam-admin0.cambridge.arm.com) (193.131.176.58) by sources.redhat.com with SMTP; 5 Nov 2003 19:30:12 -0000 Received: from cam-mail2.cambridge.arm.com (cam-mail2.cambridge.arm.com [10.1.127.39]) by cam-admin0.cambridge.arm.com (8.12.10/8.12.10) with ESMTP id hA5JU9Us009348 for ; Wed, 5 Nov 2003 19:30:09 GMT Received: from notescammail2.cambridge.arm.com (notescammail2.cambridge.arm.com [10.1.255.56]) by cam-mail2.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id TAA24184 for ; Wed, 5 Nov 2003 19:30:06 GMT Subject: ARM Remote GDB 6.0 To: gdb@sources.redhat.com Message-ID: From: Chris.Pedley@arm.com Date: Wed, 05 Nov 2003 19:30:00 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-SW-Source: 2003-11/txt/msg00037.txt.bz2 I've just given remote debugging a go with GDB 6.0 in the hope that multi-threaded remote debugging might now work. I still can't get it to work. I've configured gdb with: configure --host=i686-linux --build=i686-linux --target=arm-linux gdbserver has been configured with: export CC=arm-linux-gcc configure arm-linux I get the following trying to run to a breakpoint on a thread called hello_world: GNU gdb 6.0 Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i686-linux --target=arm-linux"... Setting up the environment for debugging gdb. .gdbinit:5: Error in sourced command file: Function "internal_error" not defined. (gdb) target remote diana:2345 Remote debugging using diana:2345 0x40001780 in ?? () (gdb) break hello_world Breakpoint 1 at 0x85ec: file helloworld.c, line 7. (gdb) cont Continuing. Program received signal SIG32, Real-time event 32. 0x400a4bfc in ?? () Most annoyingly of all though, when I quit gdb, gdbserver on the target side logs me out! Any ideas what is going on? I'm a bit worried about: 'Function "internal_error" not defined' Thanks. -- Chris Pedley, Graduate Engineer Intellectual Property Products Division ARM Ltd, 110 Fulbourn Rd, Cambridge CB1 9NJ UK Tel : +44 1223 400847 Fax: +44 1223 400410 This e-mail message is intended for the addressee(s) only and may contain information that is the property of, and/or subject to a confidentiality agreement between the intended recipient(s), their organisation and/or the ARM Group of Companies. If you are not an intended recipient of this e-mail message, you should not read, copy, forward or otherwise distribute or further disclose the information in it; misuse of the contents of this e-mail message may violate various laws in your state, country or jurisdiction. If you have received this e-mail message in error, please contact the originator of this e-mail message via e-mail and delete all copies of this message from your computer or network, thank you.