impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars Volker>
Subject Trick to fix gdb <incomplete type>
Date Fri, 07 Oct 2016 22:56:15 GMT
I tried to print some variables in a core dump earlier and gdb failed with
<incomplete type>. This trick from [1]

What I've found is that if you disassemble a function that uses the
> incomplete struct type gdb 'discovers' the struct members and can
> subsequently display them.

After disassmbling the function I could print a local variable (pointer on
the stack). Hope it will help someone else down the road.

Cheers, Lars


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message