Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Vineet Sharma, Noida" <vineets@noida.hcltech.com>
To: gdb@sources.redhat.com
Subject: gdb signals
Date: Sun, 22 Feb 2004 12:01:00 -0000	[thread overview]
Message-ID: <1B3885BC15C7024C845AAC78314766C503852ADC@exch-01.noida.hcltech.com> (raw)

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


             reply	other threads:[~2004-02-22 12:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-22 12:01 Vineet Sharma, Noida [this message]
2004-02-23 19:21 ` Andrew Cagney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1B3885BC15C7024C845AAC78314766C503852ADC@exch-01.noida.hcltech.com \
    --to=vineets@noida.hcltech.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox