No debugging symbols found in .gnu_debugdata

145 views
Skip to first unread message

Jason Flores

unread,
Sep 11, 2023, 2:49:09 PM9/11/23
to Chromium-dev
(No debugging symbols found in .gnu_debugdata for /tmp/adb-gdb-support-android/76de41dc-64/system/lib64/libcutils.so)\nReading symbols from /tmp/adb-gdb-support-android/76de41dc-64/system/lib64/libhidlbase.so...\nReading symbols from .gnu_debugdata for /tmp/adb-gdb-support-android/76de41dc-64/system/lib64/libhidlbase.so...\n(No debugging symbols found in .gnu_debugdata for /tmp/adb-gdb-support-android/76de41dc-64/system/lib64/libhidlbase.so)\nReading symbols from /tmp/adb-gdb-support-android/76de41dc-64/system/lib64/liblog.so...

How can i fix it. im tying to debug c++ code in android chromium

Thank you

Lei Zhang

unread,
Sep 11, 2023, 2:52:53 PM9/11/23
to jasonfl...@gmail.com, Chromium-dev
What GN config did you use to build Chromium?
> --
> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-dev
> ---
> You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/3434ef5c-763f-4c11-a740-ae7a88eed991n%40chromium.org.

Jason Flores

unread,
Sep 12, 2023, 3:44:23 PM9/12/23
to Chromium-dev, Lei Zhang, Chromium-dev, jasonfl...@gmail.com

# Set build arguments here. See `gn help buildargs`.
target_os = "android"
target_cpu = "arm64"
is_debug = true
is_clang = true
is_component_build = true
symbol_level = 2
enable_nacl = false
blink_symbol_level=1
v8_symbol_level=1
strip_debug_info = true

this one args gn

Christian Biesinger

unread,
Sep 13, 2023, 5:37:43 AM9/13/23
to jasonfl...@gmail.com, Chromium-dev, Lei Zhang
> strip_debug_info = true

I recommend not setting that if you want to keep debug data...
> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/10965bef-0945-4a17-bf21-426ac5600df7n%40chromium.org.
Reply all
Reply to author
Forward
0 new messages