Unable to open core dump on Ubuntu.

20 views
Skip to first unread message

Vitaly Buka

unread,
Apr 3, 2012, 7:13:38 PM4/3/12
to Chromium OS dev, chromi...@chromium.org
Need help with debugging on Ubuntu.

I build Chrome with GYP_DEFINES='chromeos=1 branding=Chrome'
Machine is x86_64

Then I run chrome and it crashes with core dump. I try to use gdb to
debug:
gdb core

But it reports: Unable to debug 64-bit ELF file. To debug 64-bit
binaries you need to use 64-bit gdb.

gdb version:
show version
GNU gdb (GDB) 7.3.1-gg4
...
This GDB was configured as "x86_64-linux".

Any idea how to solve this?

Vitaly Buka

unread,
Apr 3, 2012, 7:26:14 PM4/3/12
to Chromium OS dev, chromi...@chromium.org
I got it. Error message is confuding.
I just missed binary, it should be:
gdb binary core
Reply all
Reply to author
Forward
0 new messages