Hi Sergio, Thanks, The remote target is ARM processor (TI's DM8148 ). The versions are: GNU gdb version 7.7 GNU gdbserver 7.7
Do you have any idea why it does not work ? should I give architecture arm, instead of architecture i386 ? Thanks, Ran On Tue, Jun 3, 2014 at 2:54 AM, Sergio Durigan Junior <sergi...@sergiodj.net > wrote: > 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 <g...@sourceware.org>. > 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/ >