From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17483 invoked by alias); 22 Feb 2004 12:01:29 -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 17458 invoked from network); 22 Feb 2004 12:01:28 -0000 Received: from unknown (HELO ngate.noida.hcltech.com) (202.54.110.230) by sources.redhat.com with SMTP; 22 Feb 2004 12:01:28 -0000 Received: from exch-01.noida.hcltech.com (exch-01 [204.160.254.29]) by ngate.noida.hcltech.com (8.12.8/8.12.8) with ESMTP id i1MCJ9SQ017165 for ; Sun, 22 Feb 2004 17:49:10 +0530 Received: by exch-01.noida.hcltech.com with Internet Mail Service (5.5.2653.19) id ; Sun, 22 Feb 2004 17:35:46 +0530 Message-ID: <1B3885BC15C7024C845AAC78314766C503852ADC@exch-01.noida.hcltech.com> From: "Vineet Sharma, Noida" To: gdb@sources.redhat.com Subject: gdb signals Date: Sun, 22 Feb 2004 12:01:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-SW-Source: 2004-02/txt/msg00313.txt.bz2 Hi All, I want to know what are the role of signals in gdb simulator with simulator( i mean in there interfaces gdb and simulator). And how do i configure the various configrable parts of gdb. Any documnet for that? I have integerated my new simulator with gdb but before exectuions starts in my simulator it carshes saying (gdb) load test.o Loading section .text, size 0x10 vma 0x0 Start address 0x0 Transfer rate: 128 bits in <1 sec. (gdb) run test.o Starting program: test.o Program received signal 0, Signal 0. 0x00000000 in _main () ANd i have debugged , it is not reaching the simulator. It crashes in the handle_inferior_event() in the following lines if (signal_print[stop_signal]) { printed = 1; target_terminal_ours_for_output (); print_stop_reason (SIGNAL_RECEIVED, stop_signal); } What is the dependency of these on signals? Any help or suggestion would be of great help. Regards Vineet