On Wed, 28 Sep 2005, Bernhard Fischer wrote:
Sven,
what does 'bt' say for the segfault below?
Here it is.
Program received signal SIGSEGV, Segmentation fault.
0x0804bc2f in sym_push (v=42, type=0x80804ac, r=498, c=12) at tcc.c:1766
1766 s->prev_tok = *ps;
(gdb) bt
#0 0x0804bc2f in sym_push (v=42, type=0x80804ac, r=498, c=12) at tcc.c:1766
#1 0x08049929 in gfunc_prolog (func_type=0x808044c) at i386-gen.c:458
#2 0x08058871 in gen_function (sym=0x8080440) at tcc.c:8880
#3 0x08058d53 in decl (l=240) at tcc.c:9075
#4 0x080590d9 in tcc_compile (s1=0x8074008) at tcc.c:9213
#5 0x08061eb8 in tcc_add_file_internal (s1=0x8074008,
filename=0xbff03e1e "foo.c", flags=1) at tcc.c:9875
#6 0x080620bc in tcc_add_file (s=0x8074008, filename=0xbff03e1e "foo.c")
at tcc.c:9961
#7 0x08062dfd in main (argc=2, argv=0xbff030b4) at tcc.c:10642
Winke: o/~
SvOlli
--
| _______ |
| ( /\ | Weiber! Du kannst nicht mit ihnen leben.
|__)v\/lli a.k.a.| ENDE!
|Sven Oliver Moll| -- Al Bundy
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel