Re: CVS commit: src/sys/ddb

2020-05-31 Thread Rin Okuyama
On 2020/06/01 9:36, Kamil Rytarowski wrote: If you can find a use-case today in DDB for an exclusive allocator. I have it ready and tested. I intended to use it in ddb for one project, but that project is still unfinished. Good to know! I will ask you when I want it! Thanks, rin

Re: CVS commit: src/sys/ddb

2020-05-31 Thread Kamil Rytarowski
On 01.06.2020 02:31, Rin Okuyama wrote: > On 2020/06/01 9:23, Kamil Rytarowski wrote: >> I wrote a tiny malloc (libc-style) implementation over a small static >> storage (could be over stack or preallocated on the heap) without any >> external dependencies. >> >> Would it be useful for you? > >

Re: CVS commit: src/sys/ddb

2020-05-31 Thread Rin Okuyama
On 2020/06/01 9:23, Kamil Rytarowski wrote: I wrote a tiny malloc (libc-style) implementation over a small static storage (could be over stack or preallocated on the heap) without any external dependencies. Would it be useful for you? At the moment, we need buffers only in db_show_callout(),

Re: CVS commit: src/sys/ddb

2020-05-31 Thread Kamil Rytarowski
I wrote a tiny malloc (libc-style) implementation over a small static storage (could be over stack or preallocated on the heap) without any external dependencies. Would it be useful for you? On 01.06.2020 01:34, Rin Okuyama wrote: > Module Name: src > Committed By: rin > Date: Sun May

CVS commit: src/sys/ddb

2019-11-22 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Nov 22 23:01:49 UTC 2019 Modified Files: src/sys/ddb: db_lex.c Log Message: Fix crash(8). Will revisit. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/ddb/db_lex.c Please note that diffs are not public

CVS commit: src/sys/ddb

2019-11-22 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Nov 22 23:01:49 UTC 2019 Modified Files: src/sys/ddb: db_lex.c Log Message: Fix crash(8). Will revisit. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/ddb/db_lex.c Please note that diffs are not public

CVS commit: src/sys/ddb

2019-10-02 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Oct 2 09:36:30 UTC 2019 Modified Files: src/sys/ddb: db_lex.c Log Message: Simplify logic to get rid of implicit dependence on order of ASCII codes of upper and lower cases ('a' > 'A'). Found by the lgtm bot. No functional

CVS commit: src/sys/ddb

2019-10-02 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Oct 2 09:36:30 UTC 2019 Modified Files: src/sys/ddb: db_lex.c Log Message: Simplify logic to get rid of implicit dependence on order of ASCII codes of upper and lower cases ('a' > 'A'). Found by the lgtm bot. No functional

CVS commit: src/sys/ddb

2019-09-28 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sun Sep 29 02:49:59 UTC 2019 Modified Files: src/sys/ddb: db_command.c Log Message: db_command - don't hide local static variable in the middle of other local variable definitions. While here, get rid of the alignment of variable

CVS commit: src/sys/ddb

2019-09-28 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sun Sep 29 02:49:59 UTC 2019 Modified Files: src/sys/ddb: db_command.c Log Message: db_command - don't hide local static variable in the middle of other local variable definitions. While here, get rid of the alignment of variable

CVS commit: src/sys/ddb

2019-09-28 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sun Sep 29 02:42:12 UTC 2019 Modified Files: src/sys/ddb: db_command.c Log Message: db_command - make setting have_addr more clear. Don't set it to false that it's already initialized to. To generate a diff of this commit: cvs

CVS commit: src/sys/ddb

2019-09-28 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sun Sep 29 02:42:12 UTC 2019 Modified Files: src/sys/ddb: db_command.c Log Message: db_command - make setting have_addr more clear. Don't set it to false that it's already initialized to. To generate a diff of this commit: cvs

CVS commit: src/sys/ddb

2019-09-28 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sun Sep 29 02:35:39 UTC 2019 Modified Files: src/sys/ddb: db_command.c Log Message: db_command - make sure count is always initialized. To generate a diff of this commit: cvs rdiff -u -r1.161 -r1.162 src/sys/ddb/db_command.c

CVS commit: src/sys/ddb

2019-09-28 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sun Sep 29 02:35:39 UTC 2019 Modified Files: src/sys/ddb: db_command.c Log Message: db_command - make sure count is always initialized. To generate a diff of this commit: cvs rdiff -u -r1.161 -r1.162 src/sys/ddb/db_command.c

CVS commit: src/sys/ddb

2019-09-28 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sun Sep 29 02:00:22 UTC 2019 Modified Files: src/sys/ddb: db_input.c db_lex.c Log Message: Print db> prompt in db_read_line(), not db_readline(). The former is what DDB repl calls. The latter performs the actual input so let other

CVS commit: src/sys/ddb

2019-09-28 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sun Sep 29 02:00:22 UTC 2019 Modified Files: src/sys/ddb: db_input.c db_lex.c Log Message: Print db> prompt in db_read_line(), not db_readline(). The former is what DDB repl calls. The latter performs the actual input so let other

CVS commit: src/sys/ddb

2019-09-22 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Sep 22 12:57:34 UTC 2019 Modified Files: src/sys/ddb: db_command.c Log Message: fix "show kernhist". set addr = 0 if we don't have_addr and avoid using random garbage in addr. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/ddb

2019-09-22 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Sep 22 12:57:34 UTC 2019 Modified Files: src/sys/ddb: db_command.c Log Message: fix "show kernhist". set addr = 0 if we don't have_addr and avoid using random garbage in addr. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/ddb

2019-09-12 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Thu Sep 12 18:43:02 UTC 2019 Modified Files: src/sys/ddb: db_output.c Log Message: db_putchar - check if we need to wrap at $maxwidth after whitespace. That fixes orphaned first character in something like: |Stopped in ...

CVS commit: src/sys/ddb

2019-09-12 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Thu Sep 12 18:43:02 UTC 2019 Modified Files: src/sys/ddb: db_output.c Log Message: db_putchar - check if we need to wrap at $maxwidth after whitespace. That fixes orphaned first character in something like: |Stopped in ...

CVS commit: src/sys/ddb

2019-09-12 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Sep 12 17:09:00 UTC 2019 Modified Files: src/sys/ddb: db_access.c Log Message: db_get_qvalue() with size=8 on 64bit arch returns incorrect value. fixed. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

CVS commit: src/sys/ddb

2019-09-12 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Sep 12 17:09:00 UTC 2019 Modified Files: src/sys/ddb: db_access.c Log Message: db_get_qvalue() with size=8 on 64bit arch returns incorrect value. fixed. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

CVS commit: src/sys/ddb

2019-09-12 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Sep 12 09:20:23 UTC 2019 Modified Files: src/sys/ddb: db_access.c db_access.h db_examine.c Log Message: changes of r1.39 was incomplete. only "examin/m" could handle 'q'. added support 'r','x','z','d','u', and 'o' with 'q'

CVS commit: src/sys/ddb

2019-09-12 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Sep 12 09:20:23 UTC 2019 Modified Files: src/sys/ddb: db_access.c db_access.h db_examine.c Log Message: changes of r1.39 was incomplete. only "examin/m" could handle 'q'. added support 'r','x','z','d','u', and 'o' with 'q'

CVS commit: src/sys/ddb

2019-08-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 23 14:48:51 UTC 2019 Modified Files: src/sys/ddb: db_access.c Log Message: Avoids signedness bit shift in db_get_value() Appease UBSan. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24

CVS commit: src/sys/ddb

2019-08-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 23 14:48:51 UTC 2019 Modified Files: src/sys/ddb: db_access.c Log Message: Avoids signedness bit shift in db_get_value() Appease UBSan. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24

CVS commit: src/sys/ddb

2019-06-02 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Jun 2 06:09:17 UTC 2019 Modified Files: src/sys/ddb: db_interface.h Log Message: add two db_stack_print_trace frontends that emit to the system log or the user's terminal. kind of wrong to be called db_*() when they'll

CVS commit: src/sys/ddb

2019-06-02 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Jun 2 06:09:17 UTC 2019 Modified Files: src/sys/ddb: db_interface.h Log Message: add two db_stack_print_trace frontends that emit to the system log or the user's terminal. kind of wrong to be called db_*() when they'll

re: CVS commit: src/sys/ddb

2018-09-17 Thread matthew green
"Robert Elz" writes: > Module Name: src > Committed By: kre > Date: Mon Sep 17 01:49:54 UTC 2018 > > Modified Files: > src/sys/ddb: db_command.c > > Log Message: > When this file is used when not building the kernel (eg: /usr/sbin/crash) > make cnpollc() go away. thanks.

Re: CVS commit: src/sys/ddb

2018-02-16 Thread Paul Goyette
Please make sure to update the options(4) and ddb(4) man pages... On Sat, 17 Feb 2018, Sevan Janiyan wrote: Module Name:src Committed By: sevan Date: Sat Feb 17 00:41:09 UTC 2018 Modified Files: src/sys/ddb: db_panic.c db_variables.c ddbvar.h Log Message: Opt to

Re: CVS commit: src/sys/ddb

2018-02-05 Thread Pierre Pronchery
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Matthew, On 04/02/2018 10:17, matthew green wrote: > Module Name: src Committed By: mrg Date: Sun Feb 4 > 09:17:54 UTC > 2018 > > Modified Files: src/sys/ddb: db_access.c > > Log Message: avoid leftshift

re: CVS commit: src/sys/ddb

2017-01-04 Thread matthew green
> Modified Files: > src/sys/ddb: db_interface.h > > Log Message: > add a simple stacktrace macro thanks! this is always annoying to do. .mrg.

Re: CVS commit: src/sys/ddb

2013-01-05 Thread Valeriy E. Ushakov
On Sat, Jan 05, 2013 at 22:23:55 -0500, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Sun Jan 6 03:23:55 UTC 2013 Modified Files: src/sys/ddb: db_command.c db_interface.h db_xxx.c Log Message: Add show dmesg that prints the contents of the message

Re: CVS commit: src/sys/ddb

2010-08-31 Thread Simon Burge
Thor Lancelot Simon wrote: Module Name: src Committed By: tls Date: Mon Aug 30 19:23:26 UTC 2010 Modified Files: src/sys/ddb: db_input.c Was there any particular reason for removing the lint directives in this change? Eg: - } while (/*CONSTCOND*/ 0) +} while

Re: CVS commit: src/sys/ddb

2010-08-31 Thread Thor Lancelot Simon
On Wed, Sep 01, 2010 at 06:01:23AM +1000, Simon Burge wrote: Thor Lancelot Simon wrote: Module Name:src Committed By: tls Date: Mon Aug 30 19:23:26 UTC 2010 Modified Files: src/sys/ddb: db_input.c Was there any particular reason for removing

CVS commit: src/sys/ddb

2010-02-02 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Tue Feb 2 09:04:14 UTC 2010 Modified Files: src/sys/ddb: db_user.h db_write_cmd.c Log Message: Include ctype.h in the central place which deals with building the kernel debugger as a userland program. To generate a diff of this

CVS commit: src/sys/ddb

2010-02-01 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Mon Feb 1 09:56:58 UTC 2010 Modified Files: src/sys/ddb: db_write_cmd.c Log Message: Include ctype.h if we are not building a kernel to fix the build of crash(8). To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25