mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
d8067d4041
systemd is compiled with relative source file paths so we need to issue a directory command to make sure gdb can find systemd's source files. Let's put this in a .gdbinit file so it's executed automatically when we run gdb.
6 lines
81 B
Bash
Executable File
6 lines
81 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
mkdir -p /root/build
|
|
echo "directory /root/build" > ~/.gdbinit
|