From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28328 invoked by alias); 14 Aug 2002 09:34:16 -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 28320 invoked from network); 14 Aug 2002 09:34:12 -0000 Received: from unknown (HELO gauvain.enssat.fr) (192.54.188.6) by sources.redhat.com with SMTP; 14 Aug 2002 09:34:12 -0000 Received: from enssat.fr (yseult1.enssat.etu.univ-rennes1.fr [192.54.188.193]) by gauvain.enssat.fr (8.9.1a/jtpda-5.3.3) with ESMTP id LAA22684 for ; Wed, 14 Aug 2002 11:39:17 +0200 (MET DST) Message-ID: <3D5A2543.79DAA828@enssat.fr> Date: Wed, 14 Aug 2002 02:34:00 -0000 From: Squal MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: remote debugging with m68k-stub Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-08/txt/msg00138.txt.bz2 I'm trying to debug some program with the help of the m68k stub file. When I start the program in the remote target (motorola 68000) the connexion with gdb (in the host machine Sparc Sun Solaris) seems to be a succes: (gdb) target remote mark:5000 Remote debugging using mark:5000 0x00840007 in ?? () (gdb) bt #0 0x00381118 in ?? () #1 0x00010156 in ?? () (gdb) PS: 0x00840007 and 0x00381118 not corresponding to a correct memory acces. A lot of data packet is send throw the serial link. After that, I try to continue the program execution with the continue gdb command: (gdb) c Continuing. Can't send signals to this remote system. SIGEMT not sent. Program received signal SIGEMT, Emulation trap. 0x00381118 in ?? () In the main function beginning I call the set_debug_traps function to initialise exceptions address. After, I call the Breakpoint function (TRAP #1) to connect with gdb. During the execution the program never return of the TRAP #1 exception (it stay in the handle_exception function). I thing the problem can be a bad address reference. What can I do to resume the program execution ?? If somebody has any idea, thanks to thing to me :-) Thanks Pascal