From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22317 invoked by alias); 24 Jul 2012 03:13:12 -0000 Received: (qmail 22307 invoked by uid 22791); 24 Jul 2012 03:13:11 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-vc0-f169.google.com (HELO mail-vc0-f169.google.com) (209.85.220.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 24 Jul 2012 03:12:58 +0000 Received: by vcbfl10 with SMTP id fl10so6478104vcb.0 for ; Mon, 23 Jul 2012 20:12:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.16.8 with SMTP id m8mr14439779vca.10.1343099577879; Mon, 23 Jul 2012 20:12:57 -0700 (PDT) Received: by 10.58.68.194 with HTTP; Mon, 23 Jul 2012 20:12:57 -0700 (PDT) Date: Tue, 24 Jul 2012 03:13:00 -0000 Message-ID: Subject: Program received signal SIGTRAP, Trace/breakpoint trap. From: John Smith To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-07/txt/msg00072.txt.bz2 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!