This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Breakpoint doesn't take in account full name in gdb 6.8
- From: SÃbastien Granjoux <seb dot sfo at free dot fr>
- To: Vladimir Prus <vladimir at codesourcery dot com>
- Cc: gdb at sourceware dot org
- Date: Fri, 25 Jul 2008 19:58:10 +0200
- Subject: Re: Breakpoint doesn't take in account full name in gdb 6.8
- References: <4888E89A.8090704@free.fr> <g6bplj$p3g$1@ger.gmane.org>
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 <MULTIPLE> 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 <MULTIPLE> 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