commit | 6e0d24c448d09a27f56799102f06223ceaf6ff4d | [log] [tgz] |
---|---|---|
author | Tiezhu Yang <yangtiezhu@loongson.cn> | Wed Apr 20 17:48:53 2022 +0800 |
committer | Tiezhu Yang <yangtiezhu@loongson.cn> | Wed Apr 20 19:13:40 2022 +0800 |
tree | aa0958d9ce5ceba13b54844d196f84dcf113481e | |
parent | 5355776935f1a69d897c4770209b6a3978f07ce1 [diff] |
gdb: LoongArch: Implement loongarch_scan_prologue() If can't determine prologue from the symbol table, need to examine instructions. Implement loongarch_scan_prologue() to analyze the function prologue from START_PC to LIMIT_PC, return the address of the first instruction past the prologue. Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>