»
Quick Links
Page 1 of 1
DS-5: Remote gdbserver returned error code 0x01
#1
Posted 29 November 2011 - 09:12 AM
We occasionally see a problem where errors like this are seen in the DS-5 Debugger command window immediately after connection:
ERROR(LUX48-TAD10-NAL79):
! Failed to set up shared library support
! Failed to read 1 bytes from address 0xB000C260
! Remote gdbserver returned error code 0x01
After this, any debug operation fails with an error 'Remote gdbserver returned error code 0x01'. This can happen if the gdbserver process attaches too soon to the application under debug. To fix it, locate the file 'run.py' in your DS-5 installation. This will be in a directory named something like
'eclipse/plugins/com.arm.debug.configdatabase.data.community_5.8.0.NNNNNNNN_NNNNNN/Boards/Android/Generic'. Open it in a text editor and increase the value of the SLEEP variable (initially 0.0 seconds) by a second or two. Retry the connection, and repeat until connection becomes reliable.
ERROR(LUX48-TAD10-NAL79):
! Failed to set up shared library support
! Failed to read 1 bytes from address 0xB000C260
! Remote gdbserver returned error code 0x01
After this, any debug operation fails with an error 'Remote gdbserver returned error code 0x01'. This can happen if the gdbserver process attaches too soon to the application under debug. To fix it, locate the file 'run.py' in your DS-5 installation. This will be in a directory named something like
'eclipse/plugins/com.arm.debug.configdatabase.data.community_5.8.0.NNNNNNNN_NNNNNN/Boards/Android/Generic'. Open it in a text editor and increase the value of the SLEEP variable (initially 0.0 seconds) by a second or two. Retry the connection, and repeat until connection becomes reliable.
#2
Posted 20 December 2011 - 09:32 AM
thanks a lot!
it works when I change 0.0 to 1.0 while using a real Android device.
0.0 works well with emulator.
it works when I change 0.0 to 1.0 while using a real Android device.
0.0 works well with emulator.
Share this topic:
Page 1 of 1














