[Lldb-commits] [lldb] r183932 - Be sure to print out the full file path when dumping breakpoint resolvers for file and line when the full path was specified.

Greg Clayton gclayton at apple.com
Thu Jun 13 12:39:56 PDT 2013


Author: gclayton
Date: Thu Jun 13 14:39:56 2013
New Revision: 183932

URL: http://llvm.org/viewvc/llvm-project?rev=183932&view=rev
Log:
Be sure to print out the full file path when dumping breakpoint resolvers for file and line when the full path was specified.

Modified:
    lldb/trunk/source/Breakpoint/BreakpointResolverFileLine.cpp

Modified: lldb/trunk/source/Breakpoint/BreakpointResolverFileLine.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Breakpoint/BreakpointResolverFileLine.cpp?rev=183932&r1=183931&r2=183932&view=diff
==============================================================================
--- lldb/trunk/source/Breakpoint/BreakpointResolverFileLine.cpp (original)
+++ lldb/trunk/source/Breakpoint/BreakpointResolverFileLine.cpp Thu Jun 13 14:39:56 2013
@@ -235,7 +235,7 @@ BreakpointResolverFileLine::GetDepth()
 void
 BreakpointResolverFileLine::GetDescription (Stream *s)
 {
-    s->Printf ("file ='%s', line = %u", m_file_spec.GetFilename().AsCString(), m_line_number);
+    s->Printf ("file = '%s', line = %u", m_file_spec.GetPath().c_str(), m_line_number);
 }
 
 void





More information about the lldb-commits mailing list