> On 11 Sep 2017, at 20:01, Martin Pieuchot <m...@openbsd.org> wrote:
> 
> Now that dlg@ implemented 'show struct' using CTF, which makes it
> available in GENERIC kernel we can retire DDB_STRUCTINFO.
> 
> Diff below does that, ok?

it seems noone will miss the "show offset" command below, so ok.

> Index: ddb//db_command.c
> ===================================================================
> RCS file: /cvs/src/sys/ddb/db_command.c,v
> retrieving revision 1.76
> diff -u -p -r1.76 db_command.c
> --- ddb//db_command.c 6 Sep 2017 04:47:26 -0000       1.76
> +++ ddb//db_command.c 11 Sep 2017 09:03:36 -0000
> @@ -581,9 +581,6 @@ struct db_command db_show_cmds[] = {
>       { "nfsnode",    db_nfsnode_print_cmd,   0,      NULL },
> #endif
>       { "object",     db_object_print_cmd,    0,      NULL },
> -#ifdef DDB_STRUCT
> -     { "offset",     db_struct_offset_cmd,   CS_OWN, NULL },
> -#endif
>       { "page",       db_page_print_cmd,      0,      NULL },
>       { "panic",      db_show_panic_cmd,      0,      NULL },
>       { "pool",       db_pool_print_cmd,      0,      NULL },

Reply via email to