binutils-gdb/gdb/python
Siva Chandra 70afc5b72d Align behavior of xmethod commands with that of pretty-printer commands.
Currently, the xmethod commands lookup xmethod matchers in the current
progspace even if the locus regular expression matches the progspace's
filename.  Pretty printer commands do not match the current progspace's
filename.

gdb/

	* python/lib/gdb/command/xmethods.py
	(get_method_matchers_in_loci):  Lookup xmethod matchers in the
	current progspace only if the string "progspace" matches LOCUS_RE.

gdb/testsuite

	* gdb.python/py-xmethods.exp: Use "progspace" instead of the
	progspace's filename in 'info', 'enable' and 'disable' command
	tests.
2014-06-23 04:57:51 -07:00
..
lib/gdb Align behavior of xmethod commands with that of pretty-printer commands. 2014-06-23 04:57:51 -07:00
py-arch.c
py-auto-load.c
py-block.c constify struct block in some places 2014-06-18 08:16:52 -06:00
py-bpevent.c
py-breakpoint.c
py-cmd.c * python/py-cmd.c (cmdpy_completer): Add comment. 2014-05-13 19:44:51 -07:00
py-continueevent.c
py-event.c
py-event.h
py-events.h
py-evtregistry.c
py-evts.c
py-exitedevent.c
py-finishbreakpoint.c
py-frame.c constify struct block in some places 2014-06-18 08:16:52 -06:00
py-framefilter.c
py-function.c
py-gdb-readline.c
py-inferior.c
py-infthread.c
py-lazy-string.c
py-linetable.c
py-newobjfileevent.c
py-objfile.c Xmethod support in Python. 2014-06-03 10:03:07 -07:00
py-param.c
py-prettyprint.c
py-progspace.c Xmethod support in Python. 2014-06-03 10:03:07 -07:00
py-signalevent.c
py-stopevent.c
py-stopevent.h
py-symbol.c
py-symtab.c constify some blockvector APIs 2014-06-18 08:16:59 -06:00
py-threadevent.c Add new infrun.h header. 2014-05-22 12:29:11 +01:00
py-type.c
py-utils.c
py-value.c Wrap PyObject_Get/HasAttrString in a function with second arg having const qualifier. 2014-06-10 11:52:12 -07:00
py-varobj.c Iterate over 'struct varobj_item' instead of PyObject 2014-06-12 15:27:19 +08:00
py-xmethods.c Xmethod support in Python. 2014-06-03 10:03:07 -07:00
python-config.py
python-internal.h Generalize varobj iterator 2014-06-12 15:27:15 +08:00
python.c Xmethod support in Python. 2014-06-03 10:03:07 -07:00
python.h