From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26498 invoked by alias); 23 Jul 2004 13:36:11 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 26307 invoked from network); 23 Jul 2004 13:36:09 -0000 Received: from unknown (HELO inesc.inesc.pt) (146.193.0.1) by sourceware.org with SMTP; 23 Jul 2004 13:36:09 -0000 Received: from algos.inesc.pt (vinci.inesc-id.pt [146.193.38.101]) by inesc.inesc.pt (8.11.6/8.11.6) with ESMTP id i6NDa7F17515 for ; Fri, 23 Jul 2004 14:36:07 +0100 Received: from algos.inesc-id.pt by algos.inesc.pt (8.11.7+Sun/SMI-SVR4) id i6NDa1n00882; Fri, 23 Jul 2004 14:36:01 +0100 (WET DST) Date: Fri, 23 Jul 2004 15:05:00 -0000 Subject: gdb calls bypassbreakpoints Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v553) Cc: =?ISO-8859-1?Q?Lu=EDs_Russo?= To: gdb@sources.redhat.com From: =?ISO-8859-1?Q?Lu=EDs_Russo?= Content-Transfer-Encoding: quoted-printable Message-Id: X-SW-Source: 2004-07/txt/msg00299.txt.bz2 Hi, I am debugging a C file. I set some breakpoints inside my C functions=20 that print what's going on. The breakpoints have a list of commands=20 that do some prints and some continues. Sometimes I want to call the functions with different arguments from=20 those hardcoded in C, and I use the call function. But then I get this message: The program being debugged stopped while in a function called from GDB. When the function (minSphere) is done executing, GDB will silently stop (instead of continuing to evaluate the expression containing the function call) Is there a way to stop this behavior and make gdb act as if the call=20 had came from the C file? Thanks, Lu=EDs Russo INESC Rua Alves Redol n 9, 1049-001 LISBOA, PORTUGAL tel:+351 21 3100272 email:lsr@algos.inesc-id.pt