From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30719 invoked by alias); 15 Oct 2012 20:19:42 -0000 Received: (qmail 30709 invoked by uid 22791); 15 Oct 2012 20:19:41 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_VT X-Spam-Check-By: sourceware.org Received: from mail-vc0-f169.google.com (HELO mail-vc0-f169.google.com) (209.85.220.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 15 Oct 2012 20:19:36 +0000 Received: by mail-vc0-f169.google.com with SMTP id fl17so7325843vcb.0 for ; Mon, 15 Oct 2012 13:19:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.154.68 with SMTP id n4mr7426966vcw.22.1350332375931; Mon, 15 Oct 2012 13:19:35 -0700 (PDT) Received: by 10.58.227.195 with HTTP; Mon, 15 Oct 2012 13:19:35 -0700 (PDT) Date: Mon, 15 Oct 2012 20:19:00 -0000 Message-ID: Subject: Malformed response to offset query, qOffsets From: Shamir Rabinovitch To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-10/txt/msg00072.txt.bz2 My setup is as follow: Host Setup --------------- * Distribution = Ubuntu 12.04 LTS * Kernel = 3.2.0-31-generic-pae #50-Ubuntu SMP Fri Sep 7 16:39:45 UTC 2012 i686 i686 i386 GNU/Linux * GDB = GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04 Virtual Box ---------------- * Oracle VM VirtualBox Manager 4.1.12_Ubuntu * Guest Serial = COM1 IRQ4 PORT 0x3F8 * Host Serial = named pipe * Command to pipe the serial to PTS on host = socat -d -d /tmp/vbox_serial pty * Serial PTY on host = /dev/pts/3 Guest Setup ----------------- * Distribution = Ubuntu 12.04 LTS * Kernel = 3.6.0-rc3+ #2 SMP Tue Aug 2822:58:29IDT 2012 i686 i686 i386 GNU/Linux * Serial = ttyS0,9600n8 * Kernel Options: ** CONFIG_HAVE_ARCH_KGDB=y ** CONFIG_KGDB=y ** CONFIG_KGDB_SERIAL_CONSOLE=y When I attach the debugger I see the GDB is able to communicate with the guest but after some short exchange between the host GDB and the guest I get the error. Any idea why the GDB report this error & how to work this issue? Many thanks, Shamir ********************************************************************************** eden@eden-desktop:/tftpboot$ gdb ./vmlinux GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /tftpboot/vmlinux...done. (gdb) set debug remote 1 (gdb) set remotebaud 9600 (gdb) target remote /dev/pts/3 Remote debugging using /dev/pts/3 Sending packet: $qSupported:multiprocess+;xmlRegisters=i386;qRelocInsn+#b5...putpkt: Junk: IRQ sharing enabled [ 0.848401] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.877932] 00:05: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.878888] Non Nak Sending packet: $qSupported:multiprocess+;xmlRegisters=i386;qRelocInsn+#b5...putpkt: Junk: volatile memory driver v1.3 [ 0.879409] Linux agpgart interface v0.103 [ 0.880089] [drm] Initialized drm 1.1.0 20060810 [ 0.882360] brd: module loaded [ 0.883790] loop: module lneed, doesn't support DPO or FUA [ 68.238073] scsi 1:0:0:0: CD Nak Sending packet: $qSupported:multiprocess+;xmlRegisters=i386;qRelocInsn+#b5...putpkt: Junk: ROM VBOX CD Nak Sending packet: $qSupported:multiprocess+;xmlRegisters=i386;qRelocInsn+#b5...putpkt: Junk: ROM 1.0 PQ: 0 ANSI: 5 [ 68.285574] sda: sda1 sda2 < sda5 > [ 68.288798] e1000 0000:00:03.0: eth0: (PCI:33MHz:32 Nak Packet received: qSupported:multiprocess+;xmlRegisters=i386;qRelocInsn+ Packet qSupported (supported-packets) is supported Sending packet: $Hg0#df...Packet instead of Ack, ignoring it Packet instead of Ack, ignoring it Packet instead of Ack, ignoring it putpkt: Junk: Loading, please wait... mount: mounting udev on /dev failed: No such device W: devtmpfs not available, falling back to tmpfs for /dev Ack Packet received: Hg0 Sending packet: $?#3f...Ack Packet received: ? Sending packet: $Hc-1#09...Ack Packet received: Hc-1 Sending packet: $qC#b4...Ack Packet received: qC Sending packet: $qAttached#8f...Ack Packet received: qAttached Packet qAttached (query-attached) is supported Sending packet: $qOffsets#4b...Ack Packet received: qOffsets Malformed response to offset query, qOffsets