Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Nov 1999 11:18:32 -0800
From:      "Ronald F. Guilmette" <rfg@monkeys.com>
To:        Marc Tardif <intmktg@CAM.ORG>
Cc:        freebsd-hackers@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG
Subject:   Re: disassembling syscalls 
Message-ID:  <66701.943643912@monkeys.com>
In-Reply-To: Your message of Fri, 26 Nov 1999 13:51:50 -0500. <Pine.LNX.4.10.9911261346300.13332-100000@Gloria.CAM.ORG> 

next in thread | previous in thread | raw e-mail | index | archive | help

In message <Pine.LNX.4.10.9911261346300.13332-100000@Gloria.CAM.ORG>, 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?66701.943643912>