From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22028 invoked by alias); 25 Jul 2008 17:57:47 -0000 Received: (qmail 22019 invoked by uid 22791); 25 Jul 2008 17:57:47 -0000 X-Spam-Check-By: sourceware.org Received: from smtp8-g19.free.fr (HELO smtp8-g19.free.fr) (212.27.42.65) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 25 Jul 2008 17:57:27 +0000 Received: from smtp8-g19.free.fr (localhost [127.0.0.1]) by smtp8-g19.free.fr (Postfix) with ESMTP id CF24C32A97B; Fri, 25 Jul 2008 19:57:24 +0200 (CEST) Received: from [192.168.0.11] (cvl92-3-82-247-217-100.fbx.proxad.net [82.247.217.100]) by smtp8-g19.free.fr (Postfix) with ESMTP id 91E0532A9E3; Fri, 25 Jul 2008 19:57:24 +0200 (CEST) Message-ID: <488A1432.3030305@free.fr> Date: Fri, 25 Jul 2008 18:22:00 -0000 From: =?UTF-8?B?U8OpYmFzdGllbiBHcmFuam91eA==?= User-Agent: Thunderbird 2.0.0.12 (X11/20080305) MIME-Version: 1.0 To: Vladimir Prus CC: gdb@sourceware.org Subject: Re: Breakpoint doesn't take in account full name in gdb 6.8 References: <4888E89A.8090704@free.fr> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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: 2008-07/txt/msg00270.txt.bz2 Hi, Vladimir Prus a écrit : > What functions are at the location where you've set breakpoint, and at the location > where GDB has stopped. I have set the breakpoint at /home/seb/Programmation/Anjuta/anjuta/plugins/debug-manager/plugin.c:232 in a function named value_added_project_root_uri. Gdb stops at /home/seb/Programmation/Anjuta/anjuta/plugins/tools/plugin.c in a function named atp_plugin_class_init > What is the output of "info break"? Num Type Disp Enb Address What 1 breakpoint keep y 0xb57c27dd breakpoint already hit 1 time 1.1 y 0xb57c27dd in file_manager_activate at plugin.c:232 1.2 y 0xb57a0350 in on_refresh_idle at plugin.c:232 1.3 y 0xb5563c72 in atp_plugin_class_init at plugin.c:232 It seems that gdb has put a breakpoint in every file named plugin.c. In Anjuta most plugin have a the main file named plugin.c and are loaded dynamically. When gdb stops all plugins have not been loaded. I have run "info break" when all plugins have been loaded I get: Num Type Disp Enb Address What 1 breakpoint keep y 0xb57c17dd breakpoint already hit 1 time 1.1 y 0xb57c17dd in file_manager_activate at plugin.c:232 1.2 y 0xb579f350 in on_refresh_idle at plugin.c:232 1.3 y 0xb5562c72 in atp_plugin_class_init at plugin.c:232 1.4 y 0xb429bcfd in value_added_fm_current_file at plugin.c:232 1.5 y 0xb1e0a733 in ipreferences_merge at plugin.c:232 1.6 y 0xb34462c8 in ilanguage_get_from_mime_type at plugin.c:232 1.7 y 0xb1d6fc73 in skip_iter_to_previous_line at plugin.c:232 I would expect even more breakpoints, as I have 20 plugins loaded and most of them have a plugin.c file. Sébastien