Stop printing at null char option, from Oliver Meyer
authorStan Shebs <shebs@codesourcery.com>
Fri, 15 Jul 1994 23:53:04 +0000 (23:53 +0000)
committerStan Shebs <shebs@codesourcery.com>
Fri, 15 Jul 1994 23:53:04 +0000 (23:53 +0000)
commit0568ccb0acb963d00f5bc283b7389d2b397c6364
treeb211934d7f8f750d403ce613e4b288883d5c96d8
parent14c11f44828bad1a48e3753f77fc1962a2bc5feb
Stop printing at null char option, from Oliver Meyer
(omeyer@i3.informatik.rwth-aachen.de).
* valprint.h, valprint.c (stop_print_at_null): New global.
* valprint.c (_initialize_valprint): New print set subcommand
"null-stop".
* c-valprint.c (c_val_print): If stop_print_at_null is on, and
printing a char array, adjust the number of chars to print.
gdb/ChangeLog
gdb/c-valprint.c
gdb/valprint.h