Is there any reason why
pid$target:out.a:scf_tmpl_pg_name2:entry
{
self->t = 1;
printf("start");
}
pid$target:out.a:scf_tmpl_pg_name2:return
{
self->t = 0;
printf("end");
}
does not work but
pid$target:libscf_test:scf_tmpl_pg_name2:entry
{
self->t = 1;
printf("start");
}
pid$target:libscf_test:scf_tmpl_pg_name2:return
{
self->t = 0;
printf("end");
}
works? libscf_test is the binary I am running some tests I''d like to
trace.
Thanks,
Antonello
Antonello Cruz wrote:> Is there any reason why > > pid$target:out.a:scf_tmpl_pg_name2:entry > { > self->t = 1; > printf("start"); > } > pid$target:out.a:scf_tmpl_pg_name2:return > { > self->t = 0; > printf("end"); > } > > does not work but > > pid$target:libscf_test:scf_tmpl_pg_name2:entry > { > self->t = 1; > printf("start"); > } > pid$target:libscf_test:scf_tmpl_pg_name2:return > { > self->t = 0; > printf("end"); > } > > works? libscf_test is the binary I am running some tests I''d like to trace.because I should have used ''a.out'' instead! Thanks dmick!