diff options
author | Kieran Bingham <kieran@bingham.xyz> | 2016-01-15 10:39:23 +0000 |
---|---|---|
committer | Kieran Bingham <kieran@bingham.xyz> | 2016-01-15 16:44:14 +0000 |
commit | 5df96600860c23c5f08ddde4860d5f3c61997cca (patch) | |
tree | 62769bae6a67cfe63f2ab8952f8fb2e1768c6bb8 /build-common/packages/qemu | |
parent | 695902c6665201a26cc166c12da1357978675a4d (diff) |
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
Diffstat (limited to 'build-common/packages/qemu')
-rw-r--r-- | build-common/packages/qemu | 2 |
1 files changed, 1 insertions, 1 deletions
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: |