From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25874 invoked by alias); 17 May 2004 14:01:14 -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 25850 invoked from network); 17 May 2004 14:01:11 -0000 Received: from unknown (HELO mailgw2.univr.it) (157.27.6.133) by sourceware.org with SMTP; 17 May 2004 14:01:11 -0000 Received: (qmail 32378 invoked from network); 17 May 2004 14:01:10 -0000 Received: from unknown (HELO profs.sci.univr.it) (157.27.252.10) by mailgw2.univr.it with SMTP; 17 May 2004 14:01:10 -0000 Received: from toti (toti.sci.univr.it [157.27.242.42]) by profs.sci.univr.it (8.9.3/8.9.3) with ESMTP id QAA23357 for ; Mon, 17 May 2004 16:01:09 +0200 (MET DST) Message-ID: <010a01c43c17$65053150$2af21b9d@toti> From: "Stefano Martini" To: "GDB" Subject: Threads and debug Date: Mon, 17 May 2004 14:01:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-SW-Source: 2004-05/txt/msg00098.txt.bz2 Hi all, I am working on the MIPS ISS to create a simulator for my MIPS based board. I have defined the memory layout and now it works fine. Now I can debug an application with the GDB program by doing something like this: mipsel-elf-gdb file program target sim --board=myboard load ..... If I debug a simple no-threads application I have no problem, but, if the application uses threads, the threads cannot be debugged. Do you know where is the problem? Have I to define a timer inside the ISS? How can I define it? thanks in advance