aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-02-21 22:35:38 -0500
committerMike Frysinger <vapier@gentoo.org>2022-03-28 23:10:34 -0400
commit7cd7b0641b6e3a328231880b8f47ea100e2c36aa (patch)
tree80d13c70f05e21747838c438212361288a7a7e7d /sim/common
parent1fc6fa2f1be66d99007bc2dba90f2c57f941bf58 (diff)
downloadgdb-7cd7b0641b6e3a328231880b8f47ea100e2c36aa.zip
gdb-7cd7b0641b6e3a328231880b8f47ea100e2c36aa.tar.gz
gdb-7cd7b0641b6e3a328231880b8f47ea100e2c36aa.tar.bz2
sim: add arch/.gdbinit stub scripts
Make it easy to load the common gdbinit script even when running in the arch/ subdir instead of the top-level sim dir.
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/gdbinit.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/common/gdbinit.in b/sim/common/gdbinit.in
new file mode 100644
index 0000000..79e7d29
--- /dev/null
+++ b/sim/common/gdbinit.in
@@ -0,0 +1,2 @@
+# Stub gdbinit for sim/$arch/ subdirs to load the common sim/.gdbinit.
+source ../.gdbinit