From 5df96600860c23c5f08ddde4860d5f3c61997cca Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Fri, 15 Jan 2016 10:39:23 +0000 Subject: packages/qemu: Fix target connection On x86_64, the target remote call was run too early (using -iex) preventing GDB from determining the target ARCH in time. By using -ex instead, GDB knows what to expect. Connecting too early resulted in gdb packet 'g' too long errors --- build-common/packages/qemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build-common') diff --git a/build-common/packages/qemu b/build-common/packages/qemu index 9b139c6..ac752f5 100644 --- a/build-common/packages/qemu +++ b/build-common/packages/qemu @@ -53,7 +53,7 @@ qemu-gdb: $(ARMGDB) \ $(LINUX_BUILD)/vmlinux \ -iex 'add-auto-load-safe-path $(LINUX_BUILD)' \ - -iex 'target remote localhost:$(QEMU_GDBSERVER_PORT_ID)' \ + -ex 'target remote localhost:$(QEMU_GDBSERVER_PORT_ID)' \ # -iex 'lx-symbols' debug-core: -- cgit v1.2.3