diff options
author | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | 2019-10-23 20:40:02 +0200 |
---|---|---|
committer | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | 2019-10-23 20:40:02 +0200 |
commit | 39bcc47c7e94c746d5acdb52f20f9617a6473292 (patch) | |
tree | 8b4e6c0c6cf10a60082904bd8163b018e33f2717 /gdb/frv-linux-tdep.c | |
parent | bd888c0fe2cebbcab96d787387e0b32d301e0a2c (diff) | |
download | gdb-39bcc47c7e94c746d5acdb52f20f9617a6473292.zip gdb-39bcc47c7e94c746d5acdb52f20f9617a6473292.tar.gz gdb-39bcc47c7e94c746d5acdb52f20f9617a6473292.tar.bz2 |
infcall: move assertions in 'call_function_by_hand_dummy' to an earlier spot
This is a refactoring that performs type assertions on the callee
function at the beginning of 'call_function_by_hand_dummy' rather than
at a later point so that
- the checks are grouped together at the beginning of the function for
improved readability, and
- we don't have to align and push things on the stack only to find out
later that the function call is illegal.
gdb/ChangeLog:
2019-10-23 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
* infcall.c (call_function_by_hand_dummy): Refactor.
Change-Id: I411ac083ac6a9ee6eb93c4b82393a81a4fc927be
Diffstat (limited to 'gdb/frv-linux-tdep.c')
0 files changed, 0 insertions, 0 deletions