[01/15] Introduce get_current_arch () function
Ulrich Weigand
uweigand@de.ibm.com
Wed Jun 10 18:14:00 GMT 2009
Tom Tromey wrote:
> >>>>> "Ulrich" == Ulrich Weigand <uweigand@de.ibm.com> writes:
>
> Ulrich> There wouldn't really be much of a difference today, as the architecture
> Ulrich> of val_args[i] is the architecture of the expression from which it was
> Ulrich> evaluated, which is likewise get_current_arch ().
>
> Is that true even if the expression is something like "$var"?
> I did not read the patch series *that* closely, but I would have
> assumed that the arch of the resulting value would come directly from
> the convenience variable's value -- which could be anything.
Ah, you're right. For convenience variables or values from the
history, you can get indeed another architecture.
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
More information about the Gdb-patches
mailing list