[Bug 736354] Re: gdbserver (arm,natty) <-> gdb (ia32,natty) fails
bhs
736354 at bugs.launchpad.net
Wed Jul 17 14:00:16 UTC 2013
Hi Matthew, Shivkumar,
I have seen this issue even when binary is copied and passed to gdb-multiarch.
error:
Remote 'g' packet reply is too long: 000000002959b2be00000000000000000000000000000000000000000000000000000000000000000000000000000000000000002
The root cause of the problem is we are not letting gdb-multiarch know
the architecture. To solve this, simply pass in gdbinit file or via gdb
shell.
'set architecture arm'
This fixes the problem mentioned in bug.
This is not a gdb-multiarch bug and this is to be expected since gdb-
multiarch is general to many architectures. It assumes the user pass the
architecture via commands or gdbinit file.
** Changed in: gdb (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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:
Invalid
Bug description:
Binary package hint: gdb
Attempting a remote debug session.
On the arm machine:
tgall at 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 at halimede:~# lsb_release -rd
Description: Ubuntu Natty (development branch)
Release: 11.04
intel box
tgall at 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
More information about the foundations-bugs
mailing list