public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "markus at trippelsdorf dot de" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug c++/16874] Setting a breakpoint on function in anonymous namespace is unnecessarily awkward Date: Thu, 13 Aug 2015 06:54:00 -0000 [thread overview] Message-ID: <bug-16874-4717-yNV3jhw7Vp@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-16874-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=16874 Markus Trippelsdorf <markus at trippelsdorf dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #7974|0 |1 is obsolete| | --- Comment #10 from Markus Trippelsdorf <markus at trippelsdorf dot de> --- Created attachment 8515 --> https://sourceware.org/bugzilla/attachment.cgi?id=8515&action=edit updated patch I've updated Patrick's patch for gdb trunk. It works fine: Example from comment0: % gdb ./a.out Reading symbols from ./a.out...done. (gdb) b fo<tab> Breakpoint 1 at 0x40058a: file anon_namesp.cpp, line 1. (gdb) run Starting program: /home/markus/a.out Breakpoint 1, (anonymous namespace)::foo () at anon_namesp.cpp:1 Example from comment8: Reading symbols from ./a.out...done. (gdb) b fo<tab><tab> foo() foo2() (gdb) b foo2() Breakpoint 1 at 0x4005b3: file t2.cpp, line 1. (gdb) run Starting program: /home/markus/a.out Breakpoint 1, (anonymous namespace)::foo2 () at t2.cpp:1 1 namespace { int foo2 (void) { return 1; } } Any chance to move this issue forward? -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2015-08-13 6:54 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-04-25 8:06 [Bug c++/16874] New: Can't break on function in anonymous namespace rguenth at gcc dot gnu.org 2014-04-25 9:10 ` [Bug c++/16874] " rguenth at gcc dot gnu.org 2014-07-29 21:04 ` dmalcolm at redhat dot com 2014-08-06 14:12 ` [Bug c++/16874] Setting a breakpoint on function in anonymous namespace is unnecessarily awkward dmalcolm at redhat dot com 2014-09-13 8:10 ` markus at trippelsdorf dot de 2014-09-19 14:55 ` patrick at parcs dot ath.cx 2014-09-19 15:22 ` markus at trippelsdorf dot de 2014-09-19 15:26 ` patrick at parcs dot ath.cx 2014-09-22 7:51 ` rguenth at gcc dot gnu.org 2014-11-26 4:32 ` patrick at parcs dot ath.cx 2015-08-13 6:54 ` markus at trippelsdorf dot de [this message] 2015-08-26 1:19 ` patrick at parcs dot ath.cx 2020-07-22 14:38 ` palves at redhat dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-16874-4717-yNV3jhw7Vp@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).