← Back to team overview

touch-packages team mailing list archive

[Bug 736354] Re: gdbserver (arm, natty) <-> gdb (ia32, natty) fails

 

My comment #4 is not exactly, correct.

(gdb) target remote 192.168.1.14:1234
Remote debugging using 192.168.1.14:1234

This is expected to work correctly becuase gdbserver should pass target
arch information from server side to client side.

I have seen this happens correctly when gdbserver is from Ubuntu from
12.04 to 13.10 and gdb-multiarch being Ubuntu 12.04.

>From 14.04 onwards, I see the same problem reproducing again. So, a
regression in gdb. Re-opening bug. This is a bug for gdbserver (updated
package).

** Changed in: gdb (Ubuntu)
       Status: Invalid => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gdb in Ubuntu.
https://bugs.launchpad.net/bugs/736354

Title:
  gdbserver (arm,natty) <-> gdb (ia32,natty) fails

Status in “gdb” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: gdb

  Attempting a remote debug session.

  On the arm machine:

  
  tgall@halimede:~$ gdbserver 192.168.1.15:1234 /bin/ls
  Process /bin/ls created; pid = 15437
  Listening on port 1234

  Remote debugging from host 192.168.1.15
  readchar: Got EOF
  Remote side has terminated connection.  GDBserver will reopen the connection.
  Listening on port 1234

  
  On the intel machine using gdb-mutliarch

   gdb-multiarch /bin/ls
  GNU gdb (Ubuntu/Linaro 7.2-1ubuntu10) 7.2
  Copyright (C) 2010 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  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:
  <http://www.gnu.org/software/gdb/bugs/>...
  Reading symbols from /bin/ls...(no debugging symbols found)...done.
  (gdb)  target remote 192.168.1.14:1234
  Remote debugging using 192.168.1.14:1234
  warning: Architecture rejected target-supplied description
  Remote 'g' packet reply is too long: 000000002959b2be00000000000000000000000000000000000000000000000000000000000000000000000000000000000000002058b2be00000000e0070b40300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

  (gdb)

  Version info:
  ia32: gdb-multiarch     7.2-1ubuntu10
  armel: gdbserver       7.2-1ubuntu10

  Arm box
  root@halimede:~# lsb_release -rd
  Description:	Ubuntu Natty (development branch)
  Release:	11.04

  intel box
  tgall@proteus:~$ lsb_release -rd
  Description:	Ubuntu Natty (development branch)
  Release:	11.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/736354/+subscriptions