Skip to content
This repository has been archived by the owner on Jul 3, 2018. It is now read-only.

Commit

Permalink
Bug 1254128 - Make the Mozilla .lldbinit use the full path for topsrc…
Browse files Browse the repository at this point in the history
…dir. r=sparky

MozReview-Commit-ID: wBrUd7qFy1
  • Loading branch information
jwatt committed Mar 1, 2016
1 parent f9be187 commit a52cf53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .lldbinit
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# you are either running lldb from the top level source directory, the objdir,
# or the dist/bin directory. (.lldbinit files in the objdir and dist/bin set
# topsrcdir appropriately.)
script topsrcdir = topsrcdir if locals().has_key("topsrcdir") else "."; sys.path.append(os.path.join(topsrcdir, "python/lldbutils")); import lldbutils; lldbutils.init()
script topsrcdir = topsrcdir if locals().has_key("topsrcdir") else os.getcwd(); sys.path.append(os.path.join(topsrcdir, "python/lldbutils")); import lldbutils; lldbutils.init()

# Mozilla's use of UNIFIED_SOURCES to include multiple source files into a
# single compiled file breaks lldb breakpoint setting. This works around that.
Expand Down

0 comments on commit a52cf53

Please sign in to comment.