Project

General

Profile

Actions

Bug #1000

closed

gdb is broken after last merge

Added by Dmitry M. over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
High
Assignee:
Alexander Z.
Category:
-
Target version:
Start date:
07/08/2015
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
Host OS:
Toolchain:
Android version:
CrystaX NDK Version:

Description

$ ~/work/ndk/ndk/platform/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gdb --version
Could not find platform independent libraries
Could not find platform dependent libraries
Consider setting $PYTHONHOME to [:]
ImportError: No module named site

$ /opt/android/crystax-ndk-10.2.0/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gdb --version
GNU gdb (GDB) 7.7
Copyright (C) 2014 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 "--host=x86_64-apple-darwin --target=arm-linux-android".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://source.android.com/source/report-bugs.html.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word".

As you can see, gdb from 10.2.0 release works, whereas gdb from latest build doesn't. Probably some error related to gdb's Python integration.


Related issues 1 (0 open1 closed)

Blocked by CrystaX NDK - Bug #1167: host python for windows incorrectly built without standard extensionsClosedAlexander Z.11/27/2015

Actions
Actions #1

Updated by Alexander Z. over 8 years ago

  • Status changed from Open to In Progress
Actions #2

Updated by Alexander Z. over 8 years ago

Linux and Darwin version fixed with commit [toolchain/gdb] 47167a5a2cd76f68f7ec969f77ccfbd206b0bf34

Actions #3

Updated by Alexander Z. over 8 years ago

  • Blocked by Bug #1167: host python for windows incorrectly built without standard extensions added
Actions #4

Updated by Alexander Z. over 8 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

Windows part fixed in commit [platform/ndk] b3138a8 Revert "Don't build gdb-stub in build-gcc.sh."

Actions

Also available in: Atom PDF