public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: John Smith <juniorstuding@gmail.com>
To: gdb@sourceware.org
Subject: Program received signal SIGTRAP, Trace/breakpoint trap.
Date: Tue, 24 Jul 2012 03:13:00 -0000	[thread overview]
Message-ID: <CAEfwa--rRCQ_ycZEDweUK1PiONhynEgAWOy=u-dMsTyh2FQBMg@mail.gmail.com> (raw)

hi,
    when  I  use  'step '  command  to  trace  into  a  function call
, gdb will tell me :

Program received signal SIGTRAP, Trace/breakpoint trap.

The program being debugged was signaled while in a function called from GDB.
GDB has restored the context to what it was before the call.
To change this behavior use "set unwindonsignal off".
Evaluation of the expression containing the function


then I can not  use  'next' to step out  any function call,and
'finish' command  is no usefull .




what is this  problem to be?



thanks in advance!

             reply	other threads:[~2012-07-24  3:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-24  3:13 John Smith [this message]
2012-07-24 17:05 ` Pedro Alves
  -- strict thread matches above, loose matches on Subject: below --
2022-04-16 13:54 FengLingDu
2005-09-19 16:57 Ajay Patel
2005-09-20  5:08 ` divick kishore
2005-09-19  7:05 divick kishore
2005-09-19  7:56 ` Ramana Radhakrishnan
2005-09-19 10:09   ` divick kishore
2003-05-15 18:44 Smita
2003-05-15 19:21 ` Tim Combs

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='CAEfwa--rRCQ_ycZEDweUK1PiONhynEgAWOy=u-dMsTyh2FQBMg@mail.gmail.com' \
    --to=juniorstuding@gmail.com \
    --cc=gdb@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).