* source.c (_initialize_source): Use add_setshow_integer_cmd.
This commit is contained in:
parent
9078e6905b
commit
bd4109fb51
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
|
* source.c (_initialize_source): Use add_setshow_integer_cmd.
|
||||||
|
|
||||||
2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
|
2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
* linux-fork.c (delete_fork_command, detach_fork_command): Use
|
* linux-fork.c (delete_fork_command, detach_fork_command): Use
|
||||||
|
|
|
@ -1638,7 +1638,7 @@ The matching line number is also stored as the value of \"$_\"."));
|
||||||
add_com_alias ("?", "reverse-search", class_files, 0);
|
add_com_alias ("?", "reverse-search", class_files, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
add_setshow_uinteger_cmd ("listsize", class_support, &lines_to_list, _("\
|
add_setshow_integer_cmd ("listsize", class_support, &lines_to_list, _("\
|
||||||
Set number of source lines gdb will list by default."), _("\
|
Set number of source lines gdb will list by default."), _("\
|
||||||
Show number of source lines gdb will list by default."), NULL,
|
Show number of source lines gdb will list by default."), NULL,
|
||||||
NULL,
|
NULL,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue