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: Another proposal for frontends and queries.


>>>>> "Marc" == Marc Khouzam <marc.khouzam@ericsson.com> writes:

Marc> Having a switch on a command turns out to be insufficient because
Marc> there is not a 1-1 mapping between queries and commands.  Currently
Marc> PRecord will query before changing memory, but this will be triggered
Marc> by any of:
Marc> -var-assign a 8
Marc> p a=8
Marc> set var a=8
Marc> and others.

I am curious about something here.  If you know the answers offhand, I'd
appreciate it.  Otherwise I guess I'll look into it at some later point.

Does the record code also query when making an inferior function call
from an expression?  It seems like it ought to, as such a call might
modify the inferior's state.

Also, if an expression does multiple assignments, are there multiple
queries or just one?  It seems like there should just be one.

Tom


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