From: Andrew Cagney <cagney@gnu.org>
To: Monika Chaddha <monika@acmet.com>
Cc: gdb@sources.redhat.com
Subject: Re: break instruction does not work for mips simulator
Date: Tue, 10 Aug 2004 15:27:00 -0000 [thread overview]
Message-ID: <4118E93F.3060902@gnu.org> (raw)
In-Reply-To: <000801c47ec2$cb6eadc0$5100a8c0@monika>
> Hi
>
> 'Break' instruction does not work for mips32 and mips16 targets in a
> user program (asm file). When I try to execute 'break'instruction, the
> control does not proceed, again and again the same instruction 'break'
> executes and also I don't get any break point exception.
>
> Is it any known bug in GDB?
This behavior is to be expected. Since GDB didn't insert the breakpoint
it has no reason to remove/skip it.
You can set:
handle SIGTRAP pass noprint nostop
and GDB will pass such traps back to the inferior, however, no guarantee
on what happens next.
Andrew
prev parent reply other threads:[~2004-08-10 15:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-10 10:16 Monika Chaddha
2004-08-10 15:27 ` Andrew Cagney [this message]
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=4118E93F.3060902@gnu.org \
--to=cagney@gnu.org \
--cc=gdb@sources.redhat.com \
--cc=monika@acmet.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