tag | 66e2990761ffa0c8245ff5d6ae49f1e90471419c | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Mar 13 15:37:34 2019 -0700 |
object | bc08e7b94c9fe1f70aa207fb0216998abd0889eb |
Android NDK r20 Beta 1 (build 5344622)
commit | bc08e7b94c9fe1f70aa207fb0216998abd0889eb | [log] [tgz] |
---|---|---|
author | Zhizhou Yang <zhizhouy@google.com> | Tue Feb 05 13:46:07 2019 -0800 |
committer | Zhizhou Yang <zhizhouy@google.com> | Tue Feb 05 13:46:07 2019 -0800 |
tree | ebf7088fe7dfd3a59c1eaf1998714fa3cad47d1d | |
parent | 2a615abee9fb7c56458ce2ee58390c39ba9ccec4 [diff] |
Make libthread-db.h file only be compiled with C GDB 8.2 will use C++ to compile in Android, and it will cause the problem that extern variables from libthread_db will be compiled into C++ symbols and cause a linker error. Fixed this by adding a macro to check whether we are using C++. Bug: 123031421 Test: GDB 8.2 linked correctly. Change-Id: I660147a4199e88f394ad0fbe365960f4691678d8