That sounds like a good idea, but what if I had panic("Soemthing bad") 
and changed it to panic("Something bad")? They'd be the same thing but 
with different hashes.

Gabe

Ali Saidi wrote:
> We've talked for a while about needing better error messages, links,  
> more descriptions on the website, etc. How about we modify panic(),  
> fatal(), and warn() to hash the format string for the message and  
> print out a url with some portion of that hash.
>
> So:
> fatal("Parameter %s.%s was not specified")
> would turn into:
> Fatal: Parameter foo.bar was not specified
> See http://www.m5sim.org/wiki/index.php/9c6d054cbec3
>
> As people asked questions we could populate the hashes with answers in  
> the wiki. (We could also use url re-writing to make the url a bit  
> smaller).
>
> Thoughts?
>
> Ali
>
>
> _______________________________________________
> m5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/m5-dev
>   

_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to