I'm trying to use remote debugging to debug 64-bit application. It seems
not working. I even tried to do it on the same machine - the same
result. 
Looks like 64-bit register value is not handled properly.
Here are the details:


GDB client console:

(gdb) target remote :1234
Remote debugging using :1234
Remote register badly formatted:
T0506:0000000000000000;07:501ab4ffff7f0000;10:90baaaaaaa2a0000;
here: 0000000;07:501ab4ffff7f0000;10:90baaaaaaa2a0000;


GDB server console:

gdbserver host:1234 ./myexample --console
Process ./myexample created; pid = 19429
Listening on port 1234
Remote debugging from host 127.0.0.1
readchar: Got EOF
Remote side has terminated connection.  GDBserver will reopen the
connection.


Linux information:

Linux 2.6.13-15-smp #1 SMP Tue Sep 13 14:56:15 UTC 2005 x86_64 x86_64
x86_64 GNU/Linux


GDB information:

GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "x86_64-unknown-linux-gnu".

Thanks
Benjamin

B D O L N I K   AT  G E T C O L L C DOT C O M 


This e-mail and its attachments are intended only for the individual or entity 
to whom it is addressed and may contain information that is confidential, 
privileged, inside information, or subject to other restrictions on use or 
disclosure. Any unauthorized use, dissemination or copying of this transmission 
or the information in it is prohibited and may be unlawful. If you have 
received this transmission in error, please notify the sender immediately by 
return e-mail, and permanently delete or destroy this e-mail, any attachments, 
and all copies (digital or paper). Unless expressly stated in this e-mail, 
nothing in this message should be construed as a digital or electronic 
signature.
_______________________________________________
bug-gdb mailing list
bug-gdb@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gdb

Reply via email to