Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdb signals
@ 2004-02-22 12:01 Vineet Sharma, Noida
  2004-02-23 19:21 ` Andrew Cagney
  0 siblings, 1 reply; 2+ messages in thread
From: Vineet Sharma, Noida @ 2004-02-22 12:01 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-23 19:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-22 12:01 gdb signals Vineet Sharma, Noida
2004-02-23 19:21 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox