History log of /haiku/src/add-ons/kernel/debugger/hangman/hangman.c
Revision Date Author Comments
# 9170263e 10-Oct-2021 Franck LeCodeur <cassisian@gmail.com>

kernel/debugger: Fix warnings and enable Werror

Add one missing include and change variable declaration types to match comparison type.

Part of #9460

Change-Id: I95a12e5db11f95c2fd7c1906eaabdc5e21236cf1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4567
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 446dc38f 10-Mar-2019 Lee Mon <strongleemon@rambler.ru>

BugFix: fix some errors found by cppcheck

Fix coding style violations and minor errors (race condition in h2generic.cpp).

Change-Id: Iec58f2f431de79320579704ac449475f18deb731
Reviewed-on: https://review.haiku-os.org/c/1186
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 1a1e2020 05-Nov-2012 François Revol <revol@free.fr>

kdlhangman: Fallback to thread names when fortune is missing

When loading from the boot drivers tgz without a mounted boot
partition, fall back to thread names to find words.


# 323b6546 21-Nov-2011 Oliver Tappe <zooey@hirschkaefer.de>

Filtered flat import of Oliver's svn package management branch

Bring the changes that aren't package management related and the ones
that are but don't take effect as long as they are ignored by the build
system into the master.

Summary of changes:
* Introduce private header <directories.h> with constants for a good
deal of paths that should usually be retrieved via find_directory().
* Replace hard-coded paths by using find_directory() or the
<directories.h> constants (e.g. in drivers and the kernel).
* Add find_directory() constants needed for package management.
* Add __HAIKU_ABI_NAME and B_HAIKU_ABI_NAME macros.
* src/apps/deskbar: BeMenu.* -> DeskbarMenu.*,
DeskBarUtils.* -> DeskbarUtils.*
* Change deskbar menu settings directory from ~/config/be to
~/config/settings/deskbar.
* Other smaller cleanups, changes, and fixes.


# 3dfd9cb9 16-Jun-2011 Oliver Tappe <zooey@hirschkaefer.de>

Flat commit of all changes from package-management branch in svn


# cee04e80 08-Feb-2010 Artur Wyszynski <aljen-mlists@o2.pl>

Fixed various errors/warnings reported by cppcheck:
* memory leaks
* resource leaks
* added const's to getters
* removed a few reundant conditions


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35433 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d6130171 24-Nov-2009 Axel Dörfler <axeld@pinc-software.de>

* Fixed fortuntes path, closing ticket #5028.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34208 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7f393752 21-Feb-2008 François Revol <revol@free.fr>

Add debugger module hooks to implement alternative io (I need laplink debugging...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24052 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3cec75dc 30-Jan-2008 Axel Dörfler <axeld@pinc-software.de>

* Debugger modules now have two methods: enter_debugger() and exit_debugger().
* The kernel now opens up to 8 debugger modules (and puts them into an array;
maybe we'll want to switch to a doubly linked list when there is the need).
* Implemented an example debugger module that prints a stack trace of the
current thread when the kernel debugger is entered (not included in the
image).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23794 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d93062a0 14-Jan-2008 François Revol <revol@free.fr>

* Style cleanup
* warning
* implement --help


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23523 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ba5b2261 09-Oct-2007 François Revol <revol@free.fr>

Fix warnings


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22496 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d436e544 23-Feb-2007 François Revol <revol@free.fr>

Some fixes for the Haiku version... it's working!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20209 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a08aa5f3 28-Jan-2007 François Revol <revol@free.fr>

Add code to work as a kernel module. Builds now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20001 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0223d2d0 28-Jan-2007 François Revol <revol@free.fr>

Move your body...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19997 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1a1e2020f98dac774110baa4df2ab303f1f7292d 05-Nov-2012 François Revol <revol@free.fr>

kdlhangman: Fallback to thread names when fortune is missing

When loading from the boot drivers tgz without a mounted boot
partition, fall back to thread names to find words.


# 323b65468e5836bb27a5e373b14027d902349437 21-Nov-2011 Oliver Tappe <zooey@hirschkaefer.de>

Filtered flat import of Oliver's svn package management branch

Bring the changes that aren't package management related and the ones
that are but don't take effect as long as they are ignored by the build
system into the master.

Summary of changes:
* Introduce private header <directories.h> with constants for a good
deal of paths that should usually be retrieved via find_directory().
* Replace hard-coded paths by using find_directory() or the
<directories.h> constants (e.g. in drivers and the kernel).
* Add find_directory() constants needed for package management.
* Add __HAIKU_ABI_NAME and B_HAIKU_ABI_NAME macros.
* src/apps/deskbar: BeMenu.* -> DeskbarMenu.*,
DeskBarUtils.* -> DeskbarUtils.*
* Change deskbar menu settings directory from ~/config/be to
~/config/settings/deskbar.
* Other smaller cleanups, changes, and fixes.


# 3dfd9cb95ce45f59160d50975210bc55e3fc0709 16-Jun-2011 Oliver Tappe <zooey@hirschkaefer.de>

Flat commit of all changes from package-management branch in svn


# cee04e8074ec61fd8c6dac3539c5b821c3618888 08-Feb-2010 Artur Wyszynski <aljen-mlists@o2.pl>

Fixed various errors/warnings reported by cppcheck:
* memory leaks
* resource leaks
* added const's to getters
* removed a few reundant conditions


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35433 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d61301717d8c847511cb3ebc914b643d7d09e349 24-Nov-2009 Axel Dörfler <axeld@pinc-software.de>

* Fixed fortuntes path, closing ticket #5028.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34208 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7f3937521f427f5882b8f865fc0e4961325ae04d 21-Feb-2008 François Revol <revol@free.fr>

Add debugger module hooks to implement alternative io (I need laplink debugging...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24052 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3cec75dc33dd1cda148e057d91b48989f6f3a0c1 30-Jan-2008 Axel Dörfler <axeld@pinc-software.de>

* Debugger modules now have two methods: enter_debugger() and exit_debugger().
* The kernel now opens up to 8 debugger modules (and puts them into an array;
maybe we'll want to switch to a doubly linked list when there is the need).
* Implemented an example debugger module that prints a stack trace of the
current thread when the kernel debugger is entered (not included in the
image).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23794 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d93062a0ad5e3f4dc442d7faab062cbfa83df0f5 14-Jan-2008 François Revol <revol@free.fr>

* Style cleanup
* warning
* implement --help


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23523 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ba5b2261426857ba2538acd9f38615c4d5d4ab54 09-Oct-2007 François Revol <revol@free.fr>

Fix warnings


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22496 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d436e544a4555576b9d3edc9a47395e3f76d1523 23-Feb-2007 François Revol <revol@free.fr>

Some fixes for the Haiku version... it's working!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20209 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a08aa5f3fee7510eb1fc81136afe58be3bee9b98 28-Jan-2007 François Revol <revol@free.fr>

Add code to work as a kernel module. Builds now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20001 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0223d2d0bba3234c21d18927396d983cf0281b46 28-Jan-2007 François Revol <revol@free.fr>

Move your body...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19997 a95241bf-73f2-0310-859d-f6bbb57e9c96