I tried to compile and debug .c program with gcc/insight under Fedora 14 x86-64 bit.
program:
#include <stdio.h>
main() {
int a=100;
int b=200;
char *c = "Hello";
printf("Hello\n");
}
I compile it with
gcc -g x.c
then I run debuger:
insight a.out
When I try to see local variables, i see that:
a = (int) Could not read variable object value after assigment
...
in terminal screen I have:
BFD: /lib64/libc.so.6: invalid relocation type 37
BFD: BFD (GNU Binutils) 2.18.50.20080226 assertion fail elf64-x86-64.c:278
BFD: /lib64/libc.so.6: invalid relocation type 37
BFD: BFD (GNU Binutils) 2.18.50.20080226 assertion fail elf64-x86-64.c:278
I tried the same scenario under Fedora 14 686 - everything went OK.
What gives?


Reply With Quote
).
