public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/12856] New: "b main.c:foo" should fail if main.c doesn't have a foo
@ 2011-06-07 18:33 dje at google dot com
  2011-08-03 20:27 ` [Bug breakpoints/12856] " tromey at redhat dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dje at google dot com @ 2011-06-07 18:33 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-12-06 19:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-07 18:33 [Bug breakpoints/12856] New: "b main.c:foo" should fail if main.c doesn't have a foo dje at google dot com
2011-08-03 20:27 ` [Bug breakpoints/12856] " tromey at redhat dot com
2011-08-17 15:55 ` tromey at redhat dot com
2011-08-17 16:20 ` tromey at redhat dot com
2011-08-17 16:21 ` tromey at redhat dot com
2011-12-06 19:11 ` cvs-commit at gcc dot gnu.org
2011-12-06 19:22 ` tromey at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).