Current File : //usr/share/gdb/python/gdb/command/prompt.pyo
�
�� Rc@sBdZddlZddlZdejfd��YZe�dS(s.GDB command for working with extended prompts.i����Nt_ExtendedPromptcBsQeZdZeejj�ZdZdZd�Zd�Z	d�Z
d�ZRS(s�Set the extended prompt.

Usage: set extended-prompt VALUE

Substitutions are applied to VALUE to compute the real prompt.

The currently defined substitutions are:

sSet the extended prompt.sShow the extended prompt.cCs8tt|�jdtjtj�d|_t|_dS(Nsextended-promptt(	tsuperRt__init__tgdbtCOMMAND_SUPPORTtPARAM_STRING_NOESCAPEtvaluetFalsethook_set(tself((s+/usr/share/gdb/python/gdb/command/prompt.pyR(s

	cCs"|jdk	rd|jSdSdS(NRsThe extended prompt is: sThe extended prompt is not set.(R(R
tpvalue((s+/usr/share/gdb/python/gdb/command/prompt.pytget_show_string/scCs+|jtkr'|jt_t|_ndS(NR(R	Rtbefore_prompt_hookRtprompt_hooktTrue(R
((s+/usr/share/gdb/python/gdb/command/prompt.pytget_set_string5scCs<|jdk	r4tjj|j�}|jdd�SdSdS(NRs\s\\(RRtprompttsubstitute_prompttreplacetNone(R
tcurrentt	newprompt((s+/usr/share/gdb/python/gdb/command/prompt.pyR
;s(t__name__t
__module__t__doc__RRtprompt_helptset_doctshow_docRRRR
(((s+/usr/share/gdb/python/gdb/command/prompt.pyRs
			(RRt
gdb.promptt	ParameterR(((s+/usr/share/gdb/python/gdb/command/prompt.pyt<module>s,