Use enum for return method for dummy calls
authorAlan Hayward <alan.hayward@arm.com>
Fri, 16 Nov 2018 11:21:00 +0000 (11:21 +0000)
committerAlan Hayward <alan.hayward@arm.com>
Fri, 16 Nov 2018 13:45:38 +0000 (13:45 +0000)
commitc5ac5cbb5be91d43bd31ac0068917bdb7ab9b439
tree95c674d261150bd96bc057c955f61f3778822ddf
parent81c688d54fdef81c5150ba64f8efa10449093e43
Use enum for return method for dummy calls

In call_function_by_hand_dummy, struct_return and hidden_first_param_p
are used to represent a single concept. Replace with an enum.

gdb/ChangeLog:

* gdbarch.sh (enum function_call_return_method): Add enum.
* gdbarch.h: Regenerate.
* infcall.c (call_function_by_hand_dummy): Replace vars with enum.
gdb/ChangeLog
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/infcall.c