Is there a step by step howto for dtrace on 9.0 ?

2011-10-09 Thread Adrian Chadd
Hi,

the subject says it all - does anyone have a step by step howto for
doing userland and kernel dtrace on 9.0?

Thanks,


Adrian
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: Is there a step by step howto for dtrace on 9.0 ?

2011-10-09 Thread Paul Ambrose
the wiki DTrace (http://wiki.freebsd.org/DTrace) is available and
enough for being a HOWTO.

2011/10/9 Adrian Chadd 
>
> Hi,
>
> the subject says it all - does anyone have a step by step howto for
> doing userland and kernel dtrace on 9.0?
>
> Thanks,
>
>
> Adrian
> ___
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


gdb vs non-base gcc

2011-10-09 Thread Andriy Gapon

I observe some strange behavior with different versions gdb when used on
executables compiled with gcc45.  My world is compiled with the base gcc.

1. If a crash happens while execution is in code compiled with base gcc (e.g. in
libc because of abort(2) call)...

A. Base gdb:
- incorrectly reports lines numbers in code compiled with gcc45
- reports a lot of strange/junk frames in between libc and program frames
- but overall correctly shows program stack

B. gdb73
- correctly shows libc frames
- doesn't unwind stack to program frames

2. If a crash happens in the code compiled with gcc45...

A. Base gdb:
- show some strange stack frames and is not really useable

B. gdb73
- does everything correctly

>From what I've heard on IRC it looks like I am not the only one who runs into
issues like this.
Any ideas/suggestions?

-- 
Andriy Gapon
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"