Hi,
I couldn't execute example (e.g: chap04/cpuid) underfreebsd .
The environment and tool I used were (in IBM X31 box):
1.
bash-2.05b# uname -a
FreeBSD sexbear.localhost 5.3-STABLE FreeBSD 5.3-STABLE #3: Sun Feb 20 21:55:06 UTC 2005
[email protected]:/usr/obj/usr/src/sys/SEXBEAR??i386
2.
bash-2.05b# as -v
GNU assembler version 2.15 [FreeBSD] 2004-05-23 (i386-obrien-freebsd) using BFD version 2.15 [FreeBSD] 2004-05-23
bash-2.05b# ld -v
GNU ld version 2.15 [FreeBSD] 2004-05-23
3.
bash-2.05b# gdb cpuid
(gdb) run
Starting program: /usr/local/src/code/chap04/cpuid
Program exited with code 0340.
I also executed the other example in the same chapter.
But I got the same result.
Could someone give me a hint where I could find the more information?
Thanks~
Regards,
?