This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/12334] New: multiple-symbols mechanisms does notseem to work for C functions
- From: "avi at checkpoint dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 19 Dec 2010 08:08:30 +0000
- Subject: [Bug breakpoints/12334] New: multiple-symbols mechanisms does notseem to work for C functions
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12334
Summary: multiple-symbols mechanisms does not seem to work for
C functions
Product: gdb
Version: 7.1
Status: NEW
Severity: normal
Priority: P2
Component: breakpoints
AssignedTo: unassigned@sourceware.org
ReportedBy: avi@checkpoint.com
For the following simple program GDB 7.1 defines the breakpoint in the first
symbol occurrence only, either in 'all' or 'ask' mode, rather then defining
multiple breapoints or proposing a menu with various implementations of a()
respectively.
(gdb) l
1 #include <stdio.h>
2
3 void a(int i)
4 {
5 printf("%i\n", i);
6 }
7
8 void a()
9 {
10 a(1);
11 }
12
13 main()
14 {
15 a();
16 }
17
(gdb) set multiple-symbols ask
(gdb) b a
Breakpoint 1 at 0x804835e: file try.cc, line 5.
(gdb) show version
GNU gdb (GDB) 7.1
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.