This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/12856] New: "b main.c:foo" should fail if main.cdoesn't have a foo


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]