Re: Building with WITH_DEBUG (-g) in make.conf

2012-09-06 Thread Peter Jeremy
On 2012-Sep-04 23:50:35 +0200, Dimitry Andric d...@freebsd.org wrote: There's a difference between just using '-g', which should never change the behaviour of the program at runtime, and adding -DDEBUG or similar flags on the command line, which may or may not enable extra code, or even cause

analysing ia64 core dumps

2012-09-06 Thread Anton Shterenlikht
I'm trying to debug firefox and related on ia64. I was told in gecko@ to ask here about analysing core dumps. I rebuilt and reinstalled /usr/src/lib/libthr with DEBUG_FLAGS='-g -O0' What can I get from this trace: http://seis.bris.ac.uk/~mexas/ff-gdb ? I also rebuilt

Order in which a driver attaches to devices

2012-09-06 Thread Navdeep Parhar
I have a system with multiple cards supported by cxgbe(4). When I build a kernel with the driver compiled in, it attaches to the cards in a different order from when it's loaded as a module. Why? The network interfaces get re-ordered and this is quite annoying. Regards, Navdeep built-in: