From 5404d449f4463c18be7f818f7dc061897816fd4d Mon Sep 17 00:00:00 2001 From: Rahix <rahix@rahix.de> Date: Fri, 7 Jun 2019 23:06:55 +0200 Subject: [PATCH] build: Add .gdbinit files Signed-off-by: Rahix <rahix@rahix.de> --- .gdbinit | 5 +++++ hw-tests/bmatest/.gdbinit | 2 ++ hw-tests/bmetest/.gdbinit | 2 ++ hw-tests/ecgtest/.gdbinit | 2 ++ hw-tests/hello-world/.gdbinit | 2 ++ hw-tests/imutest/.gdbinit | 2 ++ hw-tests/ips/.gdbinit | 2 ++ 7 files changed, 17 insertions(+) create mode 100644 .gdbinit create mode 100644 hw-tests/bmatest/.gdbinit create mode 100644 hw-tests/bmetest/.gdbinit create mode 100644 hw-tests/ecgtest/.gdbinit create mode 100644 hw-tests/hello-world/.gdbinit create mode 100644 hw-tests/imutest/.gdbinit create mode 100644 hw-tests/ips/.gdbinit diff --git a/.gdbinit b/.gdbinit new file mode 100644 index 00000000..607cb82b --- /dev/null +++ b/.gdbinit @@ -0,0 +1,5 @@ +target remote localhost:3333 + +define reset + mon mww 0x40000004 0x80000000 +end diff --git a/hw-tests/bmatest/.gdbinit b/hw-tests/bmatest/.gdbinit new file mode 100644 index 00000000..19a76570 --- /dev/null +++ b/hw-tests/bmatest/.gdbinit @@ -0,0 +1,2 @@ +file ../../build/hw-tests/bmatest/bmatest.elf +source ../../.gdbinit diff --git a/hw-tests/bmetest/.gdbinit b/hw-tests/bmetest/.gdbinit new file mode 100644 index 00000000..e58a91e9 --- /dev/null +++ b/hw-tests/bmetest/.gdbinit @@ -0,0 +1,2 @@ +file ../../build/hw-tests/bmetest/bmetest.elf +source ../../.gdbinit diff --git a/hw-tests/ecgtest/.gdbinit b/hw-tests/ecgtest/.gdbinit new file mode 100644 index 00000000..501e14c4 --- /dev/null +++ b/hw-tests/ecgtest/.gdbinit @@ -0,0 +1,2 @@ +file ../../build/hw-tests/ecgtest/ecgtest.elf +source ../../.gdbinit diff --git a/hw-tests/hello-world/.gdbinit b/hw-tests/hello-world/.gdbinit new file mode 100644 index 00000000..d6af8488 --- /dev/null +++ b/hw-tests/hello-world/.gdbinit @@ -0,0 +1,2 @@ +file ../../build/hw-tests/hello-world/hello-world.elf +source ../../.gdbinit diff --git a/hw-tests/imutest/.gdbinit b/hw-tests/imutest/.gdbinit new file mode 100644 index 00000000..73f4d145 --- /dev/null +++ b/hw-tests/imutest/.gdbinit @@ -0,0 +1,2 @@ +file ../../build/hw-tests/imutest/imutest.elf +source ../../.gdbinit diff --git a/hw-tests/ips/.gdbinit b/hw-tests/ips/.gdbinit new file mode 100644 index 00000000..1199e494 --- /dev/null +++ b/hw-tests/ips/.gdbinit @@ -0,0 +1,2 @@ +file ../../build/hw-tests/ips/ips.elf +source ../../.gdbinit -- GitLab