[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [f-cpu] snapshot QDCPOC+YGASM



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

> i think that i had left some compiler errors in the code, AFAIK nothing really harmful,
> unless you get something really annoying such as SIGSEGV or or something like that.

In qdcpoc/control.c are some errors:

line 342: `loadcons_shift' undeclared (first use in this function)
line 367: there is a constant missing between "~" and ")"

Your programm "ygasm" generates segfault without paramters:

Program received signal SIGSEGV, Segmentation fault.
0x4006f3de in vfprintf () from /lib/libc.so.6
(gdb) bt
#0  0x4006f3de in vfprintf () from /lib/libc.so.6
#1  0x4007229b in vfprintf () from /lib/libc.so.6
#2  0x4006da9f in vfprintf () from /lib/libc.so.6
#3  0x400767d5 in fprintf () from /lib/libc.so.6
#4  0x8048940 in ygasm_warning (
    msg=0x804f0e0 "sending binary stream to the console", ptr=0x0)
    at ygasm_errors.c:24
#5  0x804b083 in init_flex (argc=0, argv=0xbffffce8) at ygasm.l:452
#6  0x804bffb in main (argc=1, argv=0xbffffce4) at ygasm.c:65
#7  0x4003d38b in __libc_start_main () from /lib/libc.so.6


The reason can be found at line 435 in file ygasm.l (if you have none
args, your pointers are wild and crazy, is not it?)

Bye Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD4DBQE7aavpClxplZklbgERAj+/AJYxDHBe4iyt/XTybFG1RhKjuDNyAJ9ygD6G
bOlZpwBvMI1XOuXgMBJoYQ==
=z0YB
-----END PGP SIGNATURE-----

*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/