"No symbol table info available" using GDB

1,050 views
Skip to first unread message

Daniel Murphy

unread,
Feb 7, 2019, 6:36:36 PM2/7/19
to Chromium-dev
Hey all,

I'm trying out a new debugging tool and I'm having trouble with getting gdb's 'info locals' and 'info args' to work when I'm debugging unittests.

I have is_debug = true and symbol_level = 2 in my gn args. Is there anything else I should do to get the symbols to be there? I haven't done debugger-based workflows in a while and I'm extremely rusty here.

Daniel

Ryan Sleevi

unread,
Feb 7, 2019, 6:53:15 PM2/7/19
to Daniel Murphy, Chromium-dev
There's a parallel thread at https://groups.google.com/a/chromium.org/d/msg/chromium-dev/uH9qBmpiqXs/sPO_6k8JFQAJ that has some additional details. It may make sense to continue on that thread, if it sounds similar.

--
--
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 view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CA%2B4qT311mrvByB5dWNj_7s78qJBDrABQtJToYuzig%2B%3Dc2qZzDA%40mail.gmail.com.

Daniel Murphy

unread,
Feb 7, 2019, 6:59:25 PM2/7/19
to Ryan Sleevi, Chromium-dev
Turns out I needed to source the "tools/gdb/gdbinit" file in my .gdbinit. That fixed it
Reply all
Reply to author
Forward
0 new messages