yanqi27 / core_analyzer

A power tool to debug memory-related issues
376 stars 72 forks source link

How to compile gdb (properly) for Debian 9 (codename Stretch) #74

Closed amorozov closed 1 year ago

amorozov commented 1 year ago

For a number of reason my environment is bound to Debian 9 Stretch.

However I can't (properly) compile core_analyzer's patched gdb for Debian 9:

Is 7.xx really supported at the moment?

Please suggest

amorozov commented 1 year ago

8.1 can be compiled and it seems working, at least at first glance.

yanqi27 commented 1 year ago

@amorozov I would suggest to use gdb 12.1. The libthread_db issue doesn't seem the debugger issue. For 7.11.1, it is deprecated in recent core_analyzer release, it might be broken (as you ran into) for the latest commit. If you want to try, I would suggest to use previous release before the change to C++ support.