Increase the JDB kernel object names buffer size

This patch increases the size of the JDB kernel object names buffer. The
original size was too small for some Genode scenarios and caused missing
thread names in the kernel debugger thread list.

Fixes #191.
This commit is contained in:
Christian Prochaska 2012-04-26 15:07:14 +02:00 committed by Norman Feske
parent beed82bb56
commit f23d3cb66b
2 changed files with 19 additions and 0 deletions

View File

@ -12,3 +12,9 @@ required for using this kernel with Genode.
On the occurrence of undefined-instruction exceptions on ARM, Fiasco.OC
reports a wrong program-counter value to the exception handler. The patch
fixes the problem.
:'jdb_kobject_names.patch':
This patch increases the size of the JDB kernel object names buffer. The
original size was too small for some Genode scenarios and caused missing
thread names in the kernel debugger thread list.

View File

@ -0,0 +1,13 @@
Index: kernel/fiasco/src/jdb/jdb_kobject_names.cpp
===================================================================
--- kernel/fiasco/src/jdb/jdb_kobject_names.cpp (revision 38)
+++ kernel/fiasco/src/jdb/jdb_kobject_names.cpp (working copy)
@@ -43,7 +43,7 @@
enum
{
- Name_buffer_size = 8192,
+ Name_buffer_size = 4*8192,
Name_entries = Name_buffer_size / sizeof(Jdb_kobject_name),
};