From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15741 invoked by alias); 25 Jan 2009 18:14:20 -0000 Received: (qmail 15716 invoked by uid 48); 25 Jan 2009 18:14:19 -0000 Date: Sun, 25 Jan 2009 18:14:00 -0000 Message-ID: <20090125181419.15715.qmail@sourceware.org> From: "seb dot sfo at free dot fr" To: gdb-prs@sourceware.org In-Reply-To: <20080720111801.9583.seb.sfo@free.fr> References: <20080720111801.9583.seb.sfo@free.fr> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug mi/9583] -break-insert failed when several source files have the same name 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-q1/txt/msg00204.txt.bz2 ------- Additional Comments From seb dot sfo at free dot fr 2009-01-25 18:14 ------- I have get the latest gdb snapshot 6.8.50.20090125 and try something simpler. I start gdb directly without using Anjuta nor the mi2 interface and use it to debug Anjuta itself which load several plugins. So I do the following: $ gdb /usr/local/bin/anjuta GNU gdb (GDB) 6.8.50.20090125 Copyright (C) 2009 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". For bug reporting instructions, please see: ... (gdb) run -c ... Wait about 30s, Anjuta is loading several plugins here Ctrl+C Program received signal SIGINT, Interrupt. 0xffffe410 in __kernel_vsyscall () (gdb) b /home/seb2008.1/Programmation/Anjuta/anjuta/plugins/debug-manager/plugin.c:232 Breakpoint 1 at 0xb51d62c8: file plugin.c, line 232. (3 locations) (gdb) info break Num Type Disp Enb Address What 1 breakpoint keep y 1.1 y 0xb51d62c8 in ilanguage_get_from_mime_type at plugin.c:232 1.2 y 0xb4784347 in value_added_fm_current_file at plugin.c:232 1.3 y 0xb4332d53 in skip_iter_to_previous_line at plugin.c:232 So, the breakpoint has been put in 3 files /home/seb2008.1/Programmation/Anjuta/anjuta/plugins/language-manager/plugin.c:232 /home/seb2008.1/Programmation/Anjuta/anjuta/plugins/subversion/plugin.c:232 /home/seb2008.1/Programmation/Anjuta/anjuta/plugins/language-support-cpp-java/plugin.c:232 but not in the right one. If I do the same things with gdb 6.6 (from my distribution) I get GNU gdb 6.6-5mdv2008.1 (Mandriva Linux release 2008.1) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as ""... Using host libthread_db library "/lib/i686/libthread_db.so.1". (gdb) run -c Ctrl+C Program received signal SIGINT, Interrupt. [Switching to Thread -1228109248 (LWP 16501)] 0xffffe410 in __kernel_vsyscall () (gdb) b /home/seb2008.1/Programmation/Anjuta/anjuta/plugins/debug-manager/plugin.c:232 Breakpoint 1 at 0xb470b993: file plugin.c, line 232. (gdb) info break Num Type Disp Enb Address What 1 breakpoint keep y 0xb470b993 in value_added_project_root_uri at plugin.c:232 It is correct. -- http://sourceware.org/bugzilla/show_bug.cgi?id=9583 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.