public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug macros/13205] New: Add support for __FILE__, __LINE__.
@ 2011-09-20 21:31 dje at google dot com
  2012-05-16 19:52 ` [Bug macros/13205] " tromey at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dje at google dot com @ 2011-09-20 21:31 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13205

             Bug #: 13205
           Summary: Add support for __FILE__, __LINE__.
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: macros
        AssignedTo: unassigned@sourceware.org
        ReportedBy: dje@google.com
    Classification: Unclassified


This is related to 9748, but concerns the specific cases of __FILE__, __LINE__.
[And maybe __FUNCTION__, __func__, __PRETTY_FUNCTION__ (though for reference
sake these aren't preprocessor macros).]

IWBN if the expression parser recognized these symbols and did the right thing.
As for producing the same value as GCC would in the presence of optimized code,
one has to weigh having cut-n-pasted expressions break versus producing some
answer.

-- 
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] 5+ messages in thread

end of thread, other threads:[~2012-05-16 20:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-20 21:31 [Bug macros/13205] New: Add support for __FILE__, __LINE__ dje at google dot com
2012-05-16 19:52 ` [Bug macros/13205] " tromey at redhat dot com
2012-05-16 20:06 ` tromey at redhat dot com
2012-05-16 20:32 ` tromey at redhat dot com
2012-05-16 20:32 ` cvs-commit at gcc dot gnu.org

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).