Index: uspace/app/taskdump/elf_core.c
===================================================================
--- uspace/app/taskdump/elf_core.c	(revision 8fd04ba9de8b0b695c51d4153b3aa9b219370399)
+++ uspace/app/taskdump/elf_core.c	(revision a8bb38ceab1997348c644ee294eac3e8badf5d0b)
@@ -106,5 +106,10 @@
 #endif
 #ifdef __64_BITS__
-	word_size = 8;
+	/*
+	 * This should be 8 per the 64-bit ELF spec, but the Linux kernel
+	 * screws up and uses 4 anyway (and screws up elf_note_t as well)
+	 * and we are trying to be compatible with Linux GDB target. Sigh.
+	 */
+	word_size = 4;
 #endif
 	memset(&pr_status, 0, sizeof(pr_status));
