gdb/gdbinit
Richard Biener 787c307ec6 Accepting request 713298 from home:tomdevries:branches:devel:gcc
- Add BuildRequires valgrind for make check
- Copy %ada_arch from gcc9 and use it to fix 'unresolvable:
  nothing provides gcc-ada' for openSUSE_Leap_42.3_Ports/SLE-12
  ppc64le.
- Add BuildRequire fpc for make check
- Add comment explaining why guile support has been disabled for
  newer distro versions.
- Add BuildRequire gcc-go to get gccgo command for make check
- Copy gdbinit from fedora master @ 25caf28.  Add
  gdbinit.without-python, and use it for --without=python.

OBS-URL: https://build.opensuse.org/request/show/713298
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=215
2019-07-04 07:16:27 +00:00

9 lines
231 B
Plaintext

# System-wide GDB initialization file.
python
import glob
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