Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 1997 18:02:28 -0800 (PST)
From:      Archie Cobbs <archie@whistle.com>
To:        erakupa@kk.etx.ericsson.se (ETX-B-SL Martti Kuparinen)
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: profiling inside kernel
Message-ID:  <199712170202.SAA03536@bubba.whistle.com>
In-Reply-To: <199712160849.JAA02895@kk662.kk.etx.ericsson.se> from ETX-B-SL Martti Kuparinen at "Dec 16, 97 09:49:45 am"

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

ETX-B-SL Martti Kuparinen writes:
> - How can one get assembler listing from a function within gdb?
>   (I need to count the real machine instructions in a function)

I think "x/16i" will do the trick... that's "examine, decode as
instruction, 16 times".

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com



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