From e0d752d2881e86d4360913364322e02d5c55c587 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 2 Aug 2024 07:07:44 +0000 Subject: automatic import of gdb --- gdbinit | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 gdbinit (limited to 'gdbinit') diff --git a/gdbinit b/gdbinit new file mode 100644 index 0000000..b59fb0d --- /dev/null +++ b/gdbinit @@ -0,0 +1,9 @@ +# System-wide GDB initialization file. +python +import glob +# glob.iglob is not available in python-2.4 (RHEL-5). +for f in glob.glob('%{_sysconfdir}/gdbinit.d/*.gdb'): + gdb.execute('source %s' % f) +for f in glob.glob('%{_sysconfdir}/gdbinit.d/*.py'): + gdb.execute('source %s' % f) +end -- cgit v1.2.3