Messages in this thread | | | From | "Perez-Gonzalez, Inaky" <> | Subject | RE: kernel support for non-english user messages | Date | Thu, 10 Apr 2003 12:21:31 -0700 |
| |
> From: Ruth Ivimey-Cook [mailto:Ruth.Ivimey-Cook@ivimey.org] > > >This is _not_ like any i18n support. The problem is that normal > > Agreed. How about changing the way printk works, so that instead of > combining the format string, it just "prints" its args: > > printk("%s: name %p is %d\n", name, ptr, val); > > results in the following in the kernel buffer: > > "%s: name %p is %d\n", "stringval", 0x4790243, 44
Debugging a non-klogd enabled kernel would be a pain - alas, having some preprocessing tool, this can be done without that modification. If you know the format string (from the sources), given a printed message, a regexp could extract the parts that need translation.
Iñaky Pérez-González -- Not speaking for Intel -- all opinions are my own (and my fault) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |