This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/gdb ChangeLog NEWS doc/ChangeLog doc/gdb.t ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	qiyao@sourceware.org	2013-06-20 00:39:11

Modified files:
	gdb            : ChangeLog NEWS 
	gdb/doc        : ChangeLog gdb.texinfo 
	gdb/mi         : mi-main.c 
	gdb/testsuite  : ChangeLog 
	gdb/testsuite/gdb.mi: gdb2549.exp 
	gdb/testsuite/gdb.trace: mi-trace-unavailable.exp 
	                         trace-unavailable.c 

Log message:
	Teach -data-list-register-values to not include unavailable registers
	
	This patch adds an option --skip-unavailable to MI command
	-data-list-register-values, so that unavailable registers are not
	displayed (on the context of traceframes).
	
	The old -data-list-register-values command behaves like
	
	-data-list-register-values x 0 8
	^done,register-values=[{number="0",value="<unavailable>"},{number="8",value="0x80483de"}]
	
	With this patch, an option --skip-unavailable is added,
	
	-data-list-register-values --skip-unavailable x 0 8
	^done,register-values=[{number="8",value="0x80483de"}]
	
	gdb:
	
	2013-06-20  Pedro Alves  <pedro@codesourcery.com>
	Yao Qi  <yao@codesourcery.com>
	
	* NEWS: Mention the new option '--skip-unavailable' of command
	-data-list-register-values.
	* mi/mi-main.c (mi_cmd_data_list_register_values): Accept the
	--skip-unavailable option.  Adjust to use output_register.
	(output_register): Add new 'skip_unavailable' parameter.
	Handle it.
	
	gdb/doc:
	
	2013-06-20  Pedro Alves  <pedro@codesourcery.com>
	
	* gdb.texinfo (GDB/MI Data Manipulation)
	<-data-list-register-values>: Document the --skip-unavailable
	option.
	
	gdb/testsuite:
	
	2013-06-20  Yao Qi  <yao@codesourcery.com>
	
	* gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
	and set an action.
	(test_trace_unavailable): Test command -data-list-register-values
	in the context of traceframe and with option --skip-unavailable.
	* gdb.trace/trace-unavailable.c (foo): New.
	(main): Call it.
	* gdb.mi/gdb2549.exp: Update matching pattern.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15719&r2=1.15720
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/NEWS.diff?cvsroot=src&r1=1.601&r2=1.602
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.1468&r2=1.1469
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&r1=1.1096&r2=1.1097
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/mi/mi-main.c.diff?cvsroot=src&r1=1.233&r2=1.234
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3702&r2=1.3703
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.mi/gdb2549.exp.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.trace/mi-trace-unavailable.exp.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.trace/trace-unavailable.c.diff?cvsroot=src&r1=1.1&r2=1.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]