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

Re: [RFC/RFA] gdb extension for Harvard architectures


> Without change.  My contention is that the user is almost never going to
>> want to do what you just described.  Why make what the user is going to
>> want to do hard?
> 
> 
> This whole change was prompted by a user's request to be able
> to do just that.  Well, actually, he wanted to be able to do
> 
>         set *(@code short *) myfunction = 0xabcd


I think everyone is in agreement that not being able to frob an 
instruction location is a ``breakage''.  Can I guess they entered:

	set *(short *) myfunc = 0xabcd

I would.  And as I'm doing now, I would also be asking why I have to 
explicitly specify @code, when the cast operator already knows that my 
pointer is designating code space.

Andrew



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