Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] GDB cross-debugging and symbol file mismatch

Hi all,

 

When using GDB as a cross-debugger, it can happen that the debug info on the host does not match the binaries on the target.

GDB, in this case, prints a warning on its console but for an Eclipse UI user, that warning is hard to notice.

 

Neglecting the warning may lead to incorrect variable values printed, wrong source lines displayed,

or even crashing the debuggee … very severe consequences! Or when the symbol info is just “slightly off”,

it may lead to very subtle problems that are hard to diagnose but can cause hours of  wasted time easily.

 

Has anyone else seen this problem, and what are you doing about it ?

We’ve filed an Enhancement request for discussing ways to improve this:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=494121

 

Thanks,

Martin

--

Martin Oberhuber, SMTS / Product Owner – Development Tools, Wind River

direct +43.662.457915.85  fax +43.662.457915.6

 


Back to the top