gdb dies:
(gdb) x/10i args_done
../../gdb-mips/gdb/findvar.c:282: gdb-internal-error:
store_typed_address: type is not a pointer or reference
An internal GDB error was detected. This may make further
debugging unreliable. Continue this debugging session? (y or n) n
The chain of events:
The
Are enums known to be broken with dwarf2 on the amd64 target?
google didn't help me, so thought I'd ask here.
Testcase:
[scm8]$ cat en.c
enum enumtype { ENUM_VALUE_ONE = 0x0001 };
main ()
{
printf ("%d\n", ENUM_VALUE_ONE );
}
Problem:
[scm8]$ gcc -gdwarf-2 en.c# same result