delve/pkg/dwarf
hengwu0 3f7571ec30 proc: implement stacktrace of arm64 (#1780)
* proc: separate amd64-arch code

separate amd64 code about stacktrace, so we can add arm64 stacktrace code.

* proc: implemente stacktrace of arm64

* delve now can use stack, frame commands on arm64-arch debug.

Co-authored-by: tykcd996 <tang.yuke@zte.com.cn>
Co-authored-by: hengwu0 <wu.heng@zte.com.cn>

* test: remove skip-code of stacktrace on arm64

* add LR DWARF register and remove skip-code for fixed tests

* proc: fix the Continue command after the hardcoded breakpoint on arm64

Arm64 use hardware breakpoint, and it will not set PC to the next instruction like amd64. We should move PC in both runtime.breakpoints and hardcoded breakpoints(probably cgo).

* proc: implement cgo stacktrace on arm64

* proc: combine amd64_stack.go and arm64_stack.go file

* proc: reorganize the stacktrace code

* move SwitchStack function arch-related
* fix Continue command after manual stop on arm64
* add timeout flag to make.go to enable infinite timeouts

Co-authored-by: aarzilli <alessandro.arzilli@gmail.com>
Co-authored-by: hengwu0 <wu.heng@zte.com.cn>

Co-authored-by: tykcd996 <56993522+tykcd996@users.noreply.github.com>
Co-authored-by: Alessandro Arzilli <alessandro.arzilli@gmail.com>
2020-01-21 09:11:20 -08:00
..
dwarfbuilder proc: ignore DW_TAG_inlined_subroutine entries without abstract origin (#1637) 2019-07-26 11:24:35 -07:00
frame pkg/dwarf/frame/parser: Fix parse augmentation (#1679) 2019-09-04 09:02:24 -07:00
godwarf proc: support DW_AT_go_package_name (#1757) 2019-11-25 09:10:18 -08:00
line proc,service: return build informations for each package 2020-01-09 20:19:02 +01:00
loclist pkg/proc,pkg/dwarf: Introduce loclist package 2019-11-13 18:30:21 +01:00
op proc: implement stacktrace of arm64 (#1780) 2020-01-21 09:11:20 -08:00
reader proc: fix inlined stack reading for midstack inlined calls 2020-01-10 09:04:48 +01:00
util proc/tests: testing apparatus for complex location expressions 2017-11-21 11:51:02 -08:00