From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3184 invoked by alias); 29 Apr 2009 11:38:49 -0000 Received: (qmail 3145 invoked by uid 48); 29 Apr 2009 11:38:48 -0000 Date: Wed, 29 Apr 2009 11:38:00 -0000 From: "dushistov at mail dot ru" To: gdb-prs@sourceware.org Message-ID: <20090429113846.10112.dushistov@mail.ru> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug breakpoints/10112] New: do not stop on function X-Bugzilla-Reason: CC Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2009-q2/txt/msg00069.txt.bz2 here simple example: #include void f(int gwk, double gsec) { while (gsec < 0.0) { gwk--; gsec += 604800.0; } while (gsec >= 604800.0) { gwk++; gsec -= 604800.0; } printf("done\n"); } int main() { f(1322, 555198.9375); return 0; } ------------------------------------- gcc -ggdb -Wall test.c -o test_gdb && gdb test_gdb GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... (gdb) br f Breakpoint 1 at 0x80483f8: file test.c, line 6. (gdb) r Starting program: /var/tmp/test_gdb f was called Program exited normally. (gdb) As you can see function "f" was called, but gdb do not stop on it, -- Summary: do not stop on function Product: gdb Version: 6.8 Status: UNCONFIRMED Severity: normal Priority: P2 Component: breakpoints AssignedTo: unassigned at sourceware dot org ReportedBy: dushistov at mail dot ru CC: gdb-prs at sourceware dot org http://sourceware.org/bugzilla/show_bug.cgi?id=10112 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.