This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Hitachi djprobe mechanism
- From: Mathieu Lacage <Mathieu dot Lacage at sophia dot inria dot fr>
- To: Roland McGrath <roland at redhat dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Mon, 24 Oct 2005 08:33:05 +0200
- Subject: Re: Hitachi djprobe mechanism
- References: <20051022220910.904601809AD@magilla.sf.frob.com>
hi roland,
On Sat, 2005-10-22 at 15:09 -0700, Roland McGrath wrote:
> The work is still in progress. The assembler work is already in binutils
> development CVS. I don't think there has been any release including it yet.
> As far as I know, the gcc work has not been committed anywhere and I don't
> really know how complete it is. Richard and I have it as a back-burner
Out of curiosity, I looked at the dwarf2 line info spec to have an idea
of what this bb stuff looks like. Am I right in assuming that the only
information given is the fact that various source code lines constitute
the start of a basic block ?
Here is a simple example:
while (bar != x) {do_foo (); bar++}
i.e. here, you have something like this:
start:
cmp bar, x
jne end
call do_foo
inc bar
ja start
end:
bb1:
start:
cmp bar, x
jne end;
bb2:
call do_foo
bb3:
inc bar
ja start
The only thing the dwarf2 info would represent is the fact that the
source code line represents the start of bb1 and would not make any
mention of bb2 or bb3. Am I right ?
Mathieu
--