This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/12856] New: "b main.c:foo" should fail if main.cdoesn't have a foo
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 7 Jun 2011 18:33:01 +0000
- Subject: [Bug breakpoints/12856] New: "b main.c:foo" should fail if main.cdoesn't have a foo
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12856
Summary: "b main.c:foo" should fail if main.c doesn't have a
foo
Product: gdb
Version: archer
Status: NEW
Severity: normal
Priority: P2
Component: breakpoints
AssignedTo: unassigned@sourceware.org
ReportedBy: dje@google.com
This should fail and not find foo.c:foo.
$ cat main.c
int main() { foo (); return 0; }
$ cat foo.c
void foo () {}
$ gcc -g main.c foo.c
$ gdb a.out
(gdb) b main.c:foo
Breakpoint 1 at 0x4004d8: file foo.c, line 4.
--
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.