From owner-freebsd-hackers Fri Nov 26 11:18:51 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from monkeys.com (i180.value.net [206.14.136.180]) by hub.freebsd.org (Postfix) with ESMTP id D5947154AE; Fri, 26 Nov 1999 11:18:45 -0800 (PST) (envelope-from rfg@monkeys.com) Received: from monkeys.com (localhost [127.0.0.1]) by monkeys.com (8.9.3/8.9.3) with ESMTP id LAA66703; Fri, 26 Nov 1999 11:18:32 -0800 (PST) To: Marc Tardif Cc: freebsd-hackers@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: disassembling syscalls In-reply-to: Your message of Fri, 26 Nov 1999 13:51:50 -0500. Date: Fri, 26 Nov 1999 11:18:32 -0800 Message-ID: <66701.943643912@monkeys.com> From: "Ronald F. Guilmette" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message , you wrote : >How can syscalls be disassembled on BSD? > >So far, I tried using ktrace -tc on compiled code using the syscall I >wanted, but the output from kdump doesn't look like asm. I also tried >using gdb directly, compiling the source with the -g and -static flags, >but I couldn't use the disassemble command on the syscall which appeared >in the output of 'disassemble main'. GDB disassembles stuff. As far as I know, that functionality works. What do you mean when you say that you ``couldn't use the disassemble command''. Why couldn't you? (Carpal tunnel finally getting to you perhaps? :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message