From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19101 invoked by alias); 30 Nov 2004 17:41:46 -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 18633 invoked from network); 30 Nov 2004 17:41:35 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 30 Nov 2004 17:41:35 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iAUHfZmB026589 for ; Tue, 30 Nov 2004 12:41:35 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iAUHfZr24218; Tue, 30 Nov 2004 12:41:35 -0500 Received: from [127.0.0.1] (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id iAUHfYWN001519; Tue, 30 Nov 2004 12:41:34 -0500 Subject: Re: set debug remote 1 From: Keith Seitz To: Ilko Iliev Cc: "insight@sources.redhat.com" In-Reply-To: <41AC6EC4.7020608@caretec.at> References: <41AC6EC4.7020608@caretec.at> Content-Type: text/plain Message-Id: <1101836493.2777.37.camel@lindt.uglyboxes.com> Mime-Version: 1.0 Date: Tue, 30 Nov 2004 17:41:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2004-q4/txt/msg00098.txt.bz2 On Tue, 2004-11-30 at 04:59, Ilko Iliev wrote: > Hi, > I have try to debug remote connection with: > set debug remote 1 > from the insight console window and it dosn't work. > It doesn't print debug info neither in insight console window nor in > xterm console. I hate to say stuff like this, but... It works for me. From the insight console (snapshot of cvs today): (gdb) tar sim Connected to the simulator. (gdb) load Loading section .text, size 0x9210 vma 0x8000 Loading section .rodata, size 0x314 vma 0x11210 Loading section .data, size 0x864 vma 0x11624 Loading section .ctors, size 0x8 vma 0x11e88 Loading section .dtors, size 0x8 vma 0x11e90 Start address 0x8000 Transfer rate: 322752 bits in <1 sec. (gdb) b main Breakpoint 3 at 0x80fc: file pi.c, line 25. (gdb) set debug remote 1 (gdb) r Starting program: /home/keiths/pi/pi-print.arm-elf gdbsim_create_inferior: exec_file "/home/keiths/pi/pi-print.arm-elf", args "" gdbsim_kill gdbsim_fetch_register: 13 0x800 gdbsim_xfer_inferior_memory: myaddr 0x0x9a90e50, memaddr 0x8d54, len 4, write 0 0xe59f2064 gdbsim_xfer_inferior_memory: myaddr 0x0x83534d0, memaddr 0x8d54, len 4, write 1 0xe7ffdefe gdbsim_xfer_inferior_memory: myaddr 0x0x9a28b98, memaddr 0x80fc, len 4, write 0 0xe3a03000 gdbsim_xfer_inferior_memory: myaddr 0x0x83534d0, memaddr 0x80fc, len 4, write 1 0xe7ffdefe gdbsim_fetch_register: 15 0x8000 gdbsim_resume: step 0, signal 0 gdbsim_wait gdbsim_fetch_register: 15 0x80fc gdbsim_fetch_register: 13 0x1fffd8 gdbsim_xfer_inferior_memory: myaddr 0x0x9a90e50, memaddr 0x8d54, len 4, write 1 0xe59f2064 gdbsim_xfer_inferior_memory: myaddr 0x0x9a28b98, memaddr 0x80fc, len 4, write 1 0xe3a03000 Breakpoint 3, main (argc=gdbsim_fetch_register: 11 0x1ffff8 gdbsim_xfer_inferior_memory: myaddr 0x0x9ab5b30, memaddr 0x1fffe4, len 4, write 0 0x1 1, argv=gdbsim_xfer_inferior_memory: myaddr 0x0x9a98ba0, memaddr 0x1fffe0, len 4, write 0 0x1ffffc 0x1ffffc) at pi.c:25 Are you using "set debug remote" or "set remotedebug"/"set remote debug" which are deprecated? Keith