From 739c65c54cb0e957df5e9b76f93fb02554e5cac3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 4 May 2022 23:52:30 +0100 Subject: moved everything to new file formatting --- repo/apps/chromium/gdbinit.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 repo/apps/chromium/gdbinit.patch (limited to 'repo/apps/chromium/gdbinit.patch') diff --git a/repo/apps/chromium/gdbinit.patch b/repo/apps/chromium/gdbinit.patch new file mode 100644 index 0000000..39d3464 --- /dev/null +++ b/repo/apps/chromium/gdbinit.patch @@ -0,0 +1,21 @@ +--- ./tools/gdb/gdbinit.orig ++++ ./tools/gdb/gdbinit +@@ -50,17 +50,7 @@ + + def set_src_dir(compile_dir): + global src_dir +- git = subprocess.Popen( +- ['git', '-C', compile_dir, 'rev-parse', '--show-toplevel'], +- stdout=subprocess.PIPE, +- stderr=subprocess.PIPE) +- src_dir, _ = git.communicate() +- if git.returncode: +- return +- if isinstance(src_dir, str): +- src_dir = src_dir.rstrip() +- else: +- src_dir = src_dir.decode('utf-8').rstrip() ++ src_dir = os.path.abspath(os.getcwd()) + + load_libcxx_pretty_printers(src_dir) + -- cgit v1.2.1