From 606bc59d0f8f67815c6a717843835477d44db6b3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 1 May 2022 21:21:05 +0000 Subject: added ungoogled chromium --- extra/chromium/gdbinit.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 extra/chromium/gdbinit.patch (limited to 'extra/chromium/gdbinit.patch') diff --git a/extra/chromium/gdbinit.patch b/extra/chromium/gdbinit.patch new file mode 100644 index 0000000..39d3464 --- /dev/null +++ b/extra/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