[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gdb remote debugging with 64-bit
From: |
Sergio Durigan Junior |
Subject: |
Re: Gdb remote debugging with 64-bit |
Date: |
Mon, 02 Jun 2014 20:54:16 -0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) |
On Monday, June 02 2014, Ran Shalit wrote:
> I'm trying to debug target with gdb, but get rejection.
>
> (gdb) target remote 10.0.0.2:2345 Remote debugging using 10.0.0.2:2345
> warning: Architecture rejected target-supplied description Remote 'g'
> packet reply is too long:
> 00000000ba4eefbe0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c04defbe0000000090770940100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
>
> The PC is 64-bit architecture, ubuntu 64-bit
>
> $ uname -a Linux ubuntu-VirtualBox 3.13.0-24-generic #47-Ubuntu SMP Fri May
> 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>
> Trying to set different architecture doesn't help. (gdb) set architecture
> i386:x86-64:intel The target architecture is assumed to be
> i386:x86-64:intel (gdb) target remote 10.0.0.2:2345 Remote debugging using
> 10.0.0.2:2345 warning: Architecture rejected target-supplied description
> Reply contains invalid hex digit 59
I'm assuming the remote target is i386.
It would be nice to know more information about your setup. Which
version of GDB you're using? What about gdbserver? How are you
starting GDB and gdbserver?
BTW, the official mailing list for GDB is <address@hidden>.
Unfortunately, this mailing list is not used and almost nobody reads it.
Thanks,
--
Sergio
GPG key ID: 65FC5E36
Please send encrypted e-mail if possible
http://blog.sergiodj.net/