Displaying 1 result from an estimated 1 matches for "fc7rh".
Did you mean:
fc7
2009 Apr 14
3
[LLVMdev] problems with dwarf/gdb
...nction call.
Here's an example.
Source program gdb1.c:
int x;
void foo(){
x++;
}
void bar(){
x--;
}
int main(){
foo();
bar();
return 0;
}
commands:
$ llvm-gcc -g -emit-llvm -c gdb1.c -o gdb1.bc
$ llc gdb1.bc
$ gcc -m32 gdb1.s -o gdb1
$ gdb ./gdb1
GNU gdb Red Hat Linux (6.6-16.fc7rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB....