Proposal: Unify printing the function name in panic messages()
    Christoph Mallon 
    christoph.mallon at gmx.de
       
    Mon Feb 11 09:50:12 UTC 2013
    
    
  
(Alfred accidently only replied to me.)
On 09.02.2013 14:34, Alfred Perlstein wrote:
> On 2/9/13 1:51 AM, Christoph Mallon wrote:
>> As bde points out, optimisations interfere with location information gathered at runtime.
>> Having the right name of the function in the panic, ensures that at least the starting point is right.
>> My PANIC() macro guarantees exactly this.
> 
> I like this fix, my only nit is asthetics.
> 
> Would we just turn panic() into a macro instead of making PANIC() everywhere in the kernel?
> 
> Too many uppercase macros are hard on the eyes.
This is a good point.
I will adjust the patches accordingly.
	Christoph
    
    
More information about the freebsd-arch
mailing list