From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27617 invoked by alias); 29 Nov 2002 16:30:21 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 27610 invoked from network); 29 Nov 2002 16:30:20 -0000 Received: from unknown (HELO mailhost.ffei.co.uk) (194.130.42.2) by sources.redhat.com with SMTP; 29 Nov 2002 16:30:20 -0000 Received: from hhmail1.hh.ffei.co.uk (hhmail1.hh.ffei.co.uk [143.136.16.241]) by mailhost.ffei.co.uk (8.9.1/8.9.1) with ESMTP id QAA10437 for ; Fri, 29 Nov 2002 16:30:19 GMT Received: by hhmail1.hh.ffei.co.uk with Internet Mail Service (5.5.2650.21) id ; Fri, 29 Nov 2002 16:30:17 -0000 Message-ID: <334D05460466D311A5E8009027AC788603880952@hhmail1.hh.ffei.co.uk> From: Ian Gilmour To: "'insight@sources.redhat.com'" Subject: insight & ddd Date: Fri, 29 Nov 2002 08:30:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2002-q4/txt/msg00133.txt.bz2 I've used ddd for a while and am just starting off using insight. I've got a gdb user macro in ~/.gdbinit that runs fine using powerpc-eabi-gdb (insight version) but when I run the same=20 macro using ddd as the front-end (and insight as the gdb backend) I get... ----------------------------- GNU DDD 3.3 (i586-mandrake-linux-gnu), by Dorothea L=FCtkehaus and Andreas Zeller. Copyright =A9 1995-1999 Technische Universit=E4t Braunschweig, Germany. Copyright =A9 1999-2001 Universit=E4t Passau, Germany. setting up printing options... (gdb) psimddd Connected to the simulator. Breakpoint 1 at 0x36d8: file twothreads.c, line 25. void cyg_user_start(void); Breakpoint 2 at 0x788c: file /usr/local/tools/src/ecosCVS/ecos/packages/infra/current/src/tcdiag.cxx, line 261. void cyg_test_exit(void); Breakpoint 3 at 0x600c: file /usr/local/tools/src/ecosCVS/ecos/packages/infra/current/src/buffer.cxx, line 727. void cyg_assert_fail(char *, char *, cyg_uint32, char *); Segmentation fault ------------------------------ psimddd contains... ------------------------------ define psimddd target sim -o '/iobus/pal@0xf0001000/reg 0xf0001000 32' load rbreak cyg_user_start rbreak cyg_test_exit rbreak cyg_assert_fail end ------------------------------ Any clues as to whether this is a ddd problem, an insight problem or my config? Do I need a raw version of gdb to overcome it? Any ideas? N.B. Host is linux. cheers, Ian