binutils-gdb/gdb/python
Philippe Waroquiers be09caf15d Allow . character as part of command names.
This patch adds . as an allowed character for user defined commands.
Combined with 'define-prefix', this allows to e.g. define a set of Valgrind
specific user command corresponding to the Valgrind monitor commands
(such as check_memory, v.info, v.set, ...).

gdb/ChangeLog
2019-11-30  Philippe Waroquiers  <philippe.waroquiers@skynet.be>

	* command.h (valid_cmd_char_p): Declare.
	* cli/cli-decode.c (valid_cmd_char_p): New function factorizing
	the check of valid command char.
	(find_command_name_length, valid_user_defined_cmd_name_p): Use
	valid_cmd_char_p.
	* cli/cli-script.c (validate_comname): Likewise.
	* completer.c (gdb_completer_command_word_break_characters):
	Do not remove . from the word break char, update comments.
	(complete_line_internal_1): Use valid_cmd_char_p.
	* guile/scm-cmd.c (gdbscm_parse_command_name): Likewise.
	* python/py-cmd.c (gdbpy_parse_command_name): Likewise.

gdb/testsuite/ChangeLog
2019-11-30  Philippe Waroquiers  <philippe.waroquiers@skynet.be>

	* gdb.base/define.exp: Test . in command names.
	* gdb.base/setshow.exp: Update test, as . is now part of
	command name.
2019-11-30 09:37:49 +01:00
..
lib/gdb [gdb/target] Fix pretty-printer for MPX bnd registers 2019-10-09 23:52:46 +02:00
py-all-events.def
py-arch.c
py-auto-load.c Change boolean options to bool instead of int 2019-09-18 09:35:12 +09:00
py-block.c Fix a bunch of python leaks due to missing calls to tp_free in *_dealloc functions. 2019-11-18 20:14:26 +01:00
py-bpevent.c
py-breakpoint.c Fix python gdbpy_breakpoint_object leak. 2019-11-14 02:25:39 +01:00
py-cmd.c Allow . character as part of command names. 2019-11-30 09:37:49 +01:00
py-continueevent.c
py-event-types.def
py-event.c
py-event.h
py-events.h
py-evtregistry.c [gdb] Fix more typos in comments (2) 2019-10-26 09:55:32 +02:00
py-evts.c
py-exitedevent.c
py-finishbreakpoint.c Fix a bunch of python leaks due to missing calls to tp_free in *_dealloc functions. 2019-11-18 20:14:26 +01:00
py-frame.c
py-framefilter.c Replace SYMBOL_*_NAME accessors with member functions 2019-11-22 12:05:14 -06:00
py-function.c Let commands free "name" 2019-11-26 14:20:30 -07:00
py-gdb-readline.c Constify command_line_input 2019-11-08 06:59:36 -07:00
py-inferior.c Fix a bunch of python leaks due to missing calls to tp_free in *_dealloc functions. 2019-11-18 20:14:26 +01:00
py-infevents.c
py-infthread.c Reduce manual reference counting in py-inferior.c 2019-07-10 12:24:22 -06:00
py-instruction.c
py-instruction.h [gdb] Fix more typos in comments (2) 2019-10-26 09:55:32 +02:00
py-lazy-string.c Fix a bunch of python leaks due to missing calls to tp_free in *_dealloc functions. 2019-11-18 20:14:26 +01:00
py-linetable.c Fix a bunch of python leaks due to missing calls to tp_free in *_dealloc functions. 2019-11-18 20:14:26 +01:00
py-newobjfileevent.c
py-objfile.c Remove make_hex_string 2019-09-25 09:37:56 -06:00
py-param.c Change boolean options to bool instead of int 2019-09-18 09:35:12 +09:00
py-prettyprint.c Introduce metadata style 2019-10-01 15:12:40 -06:00
py-progspace.c gdb/python: Return None from Progspace.block_for_pc on error 2019-10-24 15:27:02 +01:00
py-record-btrace.c Don't include gdbarch.h from defs.h 2019-07-10 14:53:53 -06:00
py-record-btrace.h
py-record-full.c
py-record-full.h
py-record.c
py-record.h
py-ref.h Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
py-signalevent.c
py-stopevent.c
py-stopevent.h
py-symbol.c Replace SYMBOL_*_NAME accessors with member functions 2019-11-22 12:05:14 -06:00
py-symtab.c Fix a bunch of python leaks due to missing calls to tp_free in *_dealloc functions. 2019-11-18 20:14:26 +01:00
py-threadevent.c
py-type.c Fix a bunch of python leaks due to missing calls to tp_free in *_dealloc functions. 2019-11-18 20:14:26 +01:00
py-unwind.c Rename internal Python functions to start with an underscore 2019-08-15 14:21:57 -05:00
py-utils.c
py-value.c Remove la_get_string member 2019-11-05 15:36:28 -07:00
py-varobj.c
py-xmethods.c
python-config.py
python-internal.h gdb/python: Introduce gdb.lookup_static_symbols 2019-11-10 21:35:32 +00:00
python.c gdb: Introduce global_symbol_searcher 2019-11-27 12:01:47 +00:00
python.h