Enable loading debug symbols again. The approach to use the driver settings

is broken.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34825 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2009-12-30 14:55:07 +00:00
parent 8d84a92032
commit 3069ca963e

View File

@ -25,12 +25,15 @@
#endif
static bool sLoadElfSymbols = false;
static bool sLoadElfSymbols = true;
void
elf_init()
{
// TODO: This cannot work, since the driver settings are loaded *after* the
// kernel has been loaded successfully.
#if 0
void *settings = load_driver_settings("kernel");
if (settings == NULL)
return;
@ -38,6 +41,7 @@ elf_init()
sLoadElfSymbols = !get_driver_boolean_parameter(settings, "load_symbols",
false, false);
unload_driver_settings(settings);
#endif
}