From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30592 invoked by alias); 9 May 2006 21:45:47 -0000 Received: (qmail 30583 invoked by uid 22791); 9 May 2006 21:45:45 -0000 X-Spam-Check-By: sourceware.org Received: from mail.s.netic.de (HELO mail.s.netic.de) (212.9.160.11) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 09 May 2006 21:45:42 +0000 Received: from host-213-178-187-11.dsl.netic.de ([213.178.187.11] helo=schleim.qwe.de) by mail.s.netic.de with esmtp (Exim 4.51) id 1Fda1U-000NE4-CW for gdb@sourceware.org; Tue, 09 May 2006 23:45:40 +0200 Received: from localhost (localhost [IPv6:::1]) by schleim.qwe.de (Postfix) with ESMTP id 45D013A7B9 for ; Tue, 9 May 2006 23:48:11 +0200 (CEST) From: Torsten Mohr To: gdb@sourceware.org Subject: simulator for v850-unknown-elf (V850E) Date: Tue, 09 May 2006 22:13:00 -0000 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605092348.10911.tmohr@s.netic.de> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00097.txt.bz2 Hi, i just tried to configure and compile a simulator for the target v850-unknown-elf (actually v850e-unknown-elf, but i already got the hint that i need to configure for v850-unknown-elf, v850e is also handled by this one). On host Linux (x86) i configured: ../../insight-6.4/configure \ --target=v850-unknown-elf \ --prefix=/opt/v850e \ --with-newlib \ --enable-sim \ --disable-nls When i type "make all-gdb" i get the message attached at the end of this mail. Is there a way to configure and compile insight/gdb as a simulator for V850E? Basically all i want to do is to single-step a program that was compiled for V850E. At the moment i have v850-unknown-elf-run which lets me get a trace of a program run. I'd like to also single-step, set breakpoints and see the registers. Thanks for any hints, Torsten. Error message at make "all-gdb": make[1]: Entering directory `/rest/tmp/build/gdb/gdb' rm -f gdb gcc -g -O2 \ -o gdb gdb.o libgdb.a \ ../sim/v850/libsim.a ../readline/libreadline.a ../opcodes/libopcodes.a ../bfd/libbfd.a ../libiberty/libiberty.a ../libgui/src/libgui.a -L/rest/tmp/build/gdb/itcl/itcl -litcl3.2 -L/rest/tmp/build/gdb/itcl/itk -litk3.2 -L/rest/tmp/build/gdb/tk/unix -ltk8.4 -Wl,-rpath,/opt/v850e/lib -L/rest/tmp/build/gdb/tcl/unix -ltcl8.4 -L/usr/X11R6/lib -lX11 -ldl -lieee -lm -lncurses -lm ../libiberty/libiberty.a libgdb.a(ada-lang.o)(.text+0xf9f): In function `parse': ../../../insight-6.4/gdb/ada-lang.c:8736: undefined reference to `ada_parse' libgdb.a(ada-lang.o)(.rodata+0x24): undefined reference to `ada_error' libgdb.a(c-lang.o)(.text+0x1ee): In function `c_preprocess_and_parse': ../../../insight-6.4/gdb/c-lang.c:472: undefined reference to `c_parse' libgdb.a(c-lang.o)(.rodata+0x24): undefined reference to `c_error' libgdb.a(c-lang.o)(.rodata+0xa4): undefined reference to `c_error' libgdb.a(c-lang.o)(.rodata+0x124): undefined reference to `c_error' libgdb.a(c-lang.o)(.rodata+0x204): undefined reference to `c_error' libgdb.a(f-lang.o)(.rodata+0x20): undefined reference to `f_parse' libgdb.a(f-lang.o)(.rodata+0x24): undefined reference to `f_error' libgdb.a(objc-lang.o)(.rodata+0x20): undefined reference to `objc_parse' libgdb.a(objc-lang.o)(.rodata+0x24): undefined reference to `objc_error' libgdb.a(jv-lang.o)(.rodata+0x20): undefined reference to `java_parse' libgdb.a(jv-lang.o)(.rodata+0x24): undefined reference to `java_error' libgdb.a(m2-lang.o)(.rodata+0x20): undefined reference to `m2_parse' libgdb.a(m2-lang.o)(.rodata+0x24): undefined reference to `m2_error' libgdb.a(p-lang.o)(.rodata+0x20): undefined reference to `pascal_parse' libgdb.a(p-lang.o)(.rodata+0x24): undefined reference to `pascal_error' libgdb.a(scm-lang.o)(.rodata+0x24): undefined reference to `c_error' libgdb.a(cp-support.o)(.text+0x1a7): In function `overload_list_add_symbol': ../../../insight-6.4/gdb/cp-support.c:360: undefined reference to `cp_demangled_name_to_comp' libgdb.a(cp-support.o)(.text+0x290):../../../insight-6.4/gdb/cp-support.c:384: undefined reference to `cp_comp_to_string' libgdb.a(cp-support.o)(.text+0x5e8): In function `cp_canonicalize_string': ../../../insight-6.4/gdb/cp-support.c:90: undefined reference to `cp_demangled_name_to_comp' libgdb.a(cp-support.o)(.text+0x5fa):../../../insight-6.4/gdb/cp-support.c:94: undefined reference to `cp_comp_to_string' libgdb.a(cp-support.o)(.text+0x6a1): In function `cp_func_name': ../../../insight-6.4/gdb/cp-support.c:331: undefined reference to `cp_demangled_name_to_comp' libgdb.a(cp-support.o)(.text+0x6bf):../../../insight-6.4/gdb/cp-support.c:339: undefined reference to `cp_comp_to_string' libgdb.a(cp-support.o)(.text+0x9a4): In function `mangled_name_to_comp': ../../../insight-6.4/gdb/cp-support.c:133: undefined reference to `cp_demangled_name_to_comp' libgdb.a(cp-support.o)(.text+0xa2c): In function `method_name_from_physname': ../../../insight-6.4/gdb/cp-support.c:309: undefined reference to `cp_comp_to_string' libgdb.a(cp-support.o)(.text+0xb0e): In function `cp_class_name_from_physname': ../../../insight-6.4/gdb/cp-support.c:223: undefined reference to `cp_comp_to_string' collect2: ld returned 1 exit status make[1]: *** [gdb] Fehler 1 make[1]: Leaving directory `/rest/tmp/build/gdb/gdb' make: *** [all-gdb] Fehler 2 schleim:/rest/tmp/build/gdb # Best regards, Torsten.