This is the mail archive of the gdb-patches@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]

Re: [RFC] Don't allow setting register in non-innermost frame


On Wed, 12 Sep 2012 02:50:17 +0200, Yao Qi wrote:
> I also realize that this patch becomes "unnatural" :) so I drop it.
> I'll revisit it when we do have the need to fix this problem.  The test
> case is still useful, as we don't have test for setting registers in
> testsuite.  Is the test case OK?

In such case could it be more arch-independent?  It could either use
	register int var;
and 'info addr var' to set that register, independently of arch.

Or it could 'info reg' and also set some of the register(s) printed.

Currently the testcase seems pretty complicated to me
for a single 'set $reg=num' test.


Thanks,
Jan


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