delve/pkg/proc
Alessandro Arzilli b9fadbae9b
proc: improve Rosetta check (#3810)
We have a check for Rosetta that should point users towards
misconfiguration, however occasionally we still get new issues about
debugserver crashing and some of those, as it turns out, are still
caused by Rosetta (see for example #3804).

Check the output of 'uname -m' and check that it isn't 'x86_64' if we
are an 'arm64' process: if that happens we are running unemulated but
debugserver will refuse to work.
2024-09-18 09:03:41 -07:00
..
amd64util *: replace fmt.Errorf with errors.New (#3752) 2024-06-20 21:50:18 +02:00
core pkg/proc: fix 404 links and change to https (#3775) 2024-07-11 08:03:32 -07:00
debuginfod debuginfod-find stderr may contain diagnostics; look at stdout only for filename (#3381) 2023-05-23 11:11:51 -07:00
evalop proc: use .closureptr for stepping through range-over-func statements (#3763) 2024-07-11 10:26:38 -07:00
fbsdutil pkg/proc: fix and improve freebsd register handling (#3019) 2022-05-31 16:04:36 -07:00
gdbserial proc: improve Rosetta check (#3810) 2024-09-18 09:03:41 -07:00
internal/ebpf *: Correct spelling mistakes (#3555) 2023-11-06 07:55:44 -06:00
linutil pkg/proc: fix 404 links and change to https (#3775) 2024-07-11 08:03:32 -07:00
macutil all: remove obsolete build tags "// +build" (#3513) 2023-10-03 08:50:11 -07:00
native *: replace old golang.org links with new go.dev (#3774) 2024-07-12 12:12:44 -07:00
test *: remove checks for TRAVIS env variable (#3568) 2023-11-16 10:42:41 -08:00
winutil pkg,service: remove unnecessary convertions (#3564) 2023-11-14 16:36:55 +01:00
amd64_arch.go proc: simplify and generalize runtime.mallocgc workaround (#3571) 2023-11-20 10:43:15 -08:00
amd64_disasm.go pkg/proc: apply simplifycompositelit analysis fixes (#3236) 2023-01-03 08:13:28 -08:00
arch.go proc: simplify and generalize runtime.mallocgc workaround (#3571) 2023-11-20 10:43:15 -08:00
arm64_arch.go proc: simplify and generalize runtime.mallocgc workaround (#3571) 2023-11-20 10:43:15 -08:00
arm64_disasm.go pkg,service: remove unnecessary convertions (#3564) 2023-11-14 16:36:55 +01:00
bininfo.go proc: workaround for macOS section name truncation (#3799) 2024-09-03 10:39:27 -07:00
breakpoints.go proc: fix step stuttering when entering range-over-func bodies (#3788) 2024-08-10 21:15:26 -07:00
disasm.go pkg,service: remove unnecessary convertions (#3564) 2023-11-14 16:36:55 +01:00
doc.go *: run go1.19 'go fmt' on everything and fix problems (#3031) 2022-06-17 10:08:11 -07:00
dump.go pkg: refactor to buf.WriteString() (#3769) 2024-07-11 08:06:51 -07:00
dwarf_export_test.go pkg/proc: pad variable mem in extractVarInfoFromEntry (#3365) 2023-05-15 14:46:33 -07:00
dwarf_expr_test.go *: remove redundant lines at the start/end of block (#3730) 2024-05-20 14:16:22 -07:00
eval.go proc: fix result type of division of untyped constants (#3794) 2024-09-05 09:23:21 +02:00
fncall.go proc: initial support for expressions with range-over-func (#3750) 2024-06-24 13:04:06 -07:00
goroutine_cache.go pkg/proc: enable basic debug functionality for stripped ELF binaries (#3408) 2023-06-14 13:23:46 +02:00
i386_arch.go proc: fix stacktraces on freebsd/amd64/go1.20 (#3458) 2023-08-14 15:32:15 -07:00
i386_disasm.go dwarf,proc: fix typos in comments and error messages (#3379) 2023-05-23 18:22:20 +02:00
interface.go proc/gdbserver: clean up rr directory on detach (#3570) 2024-01-24 09:21:20 -08:00
mem.go fix: mem cache out of range panic caused by overflow (#3761) 2024-06-30 21:34:35 -07:00
moduledata.go refactor: move loadModuleData from runtimeTypeToDIE and expose the apis (#3741) 2024-06-25 08:03:28 -07:00
pclntab.go *: replace fmt.Errorf with errors.New (#3752) 2024-06-20 21:50:18 +02:00
pe.go proc: fix typo 'unkown' => 'unknown' (#2473) 2021-05-10 11:36:03 -07:00
ppc64le_arch.go proc: simplify and generalize runtime.mallocgc workaround (#3571) 2023-11-20 10:43:15 -08:00
ppc64le_disasm.go *: update dependencies (#3552) 2023-11-04 17:07:55 +01:00
proc_amd64_test.go pkg/terminal,pkg/proc: Implement next-instruction (#3671) 2024-02-28 09:28:33 +01:00
proc_darwin_amd64_test.go pkg/terminal,pkg/proc: Implement next-instruction (#3671) 2024-02-28 09:28:33 +01:00
proc_darwin_test.go pkg/proc: unskip passing tests and reorganize (#3561) 2023-11-12 12:01:21 +01:00
proc_general_test.go fix: mem cache out of range panic caused by overflow (#3761) 2024-06-30 21:34:35 -07:00
proc_linux_test.go TeamCity: speed up ppc64le CI (#3622) 2024-01-09 14:13:00 -08:00
proc_test.go proc: move stepping test to their own file (#3784) 2024-07-19 21:29:56 -07:00
proc_unexported_test.go proc: correctly truncate the result of binary ops on integers (#2463) 2021-05-17 10:31:05 -07:00
proc_unix_test.go all: remove obsolete build tags "// +build" (#3513) 2023-10-03 08:50:11 -07:00
redirect.go pkg/proc,service/*: Supports sending output to clients when running programs remotely (#3253) 2023-07-05 08:39:01 -07:00
redirector_other.go all: remove obsolete build tags "// +build" (#3513) 2023-10-03 08:50:11 -07:00
redirector_windows.go pkg,service: Remove redundant build constraints (#3556) 2023-11-06 16:22:50 +01:00
registers.go proc: support function call injection on arm64 (#2996) 2022-05-03 10:46:24 -07:00
scope_test.go *: remove redundant lines at the start/end of block (#3730) 2024-05-20 14:16:22 -07:00
stack_sigtramp.go proc: initial support for expressions with range-over-func (#3750) 2024-06-24 13:04:06 -07:00
stack.go proc: fix bug with range-over-func stepping (#3778) 2024-07-14 21:27:47 -07:00
stackwatch.go proc: fix bug with stack watchpoints going out of scope (#3742) 2024-06-12 12:37:04 -07:00
stepping_test.go proc: fix TestRangeOverFuncNext on linux/386 (#3795) 2024-08-26 22:13:29 -07:00
target_exec.go proc: fix step stuttering when entering range-over-func bodies (#3788) 2024-08-10 21:15:26 -07:00
target_group.go proc/gdbserver: clean up rr directory on detach (#3570) 2024-01-24 09:21:20 -08:00
target.go pky/proc: enable function call injection in Delve for linux/ppc64le (#3449) 2023-09-21 10:39:57 -07:00
threads.go proc: move StepInstruction method to TargetGroup (#3488) 2023-09-20 09:17:45 +02:00
types.go refactor: move loadModuleData from runtimeTypeToDIE and expose the apis (#3741) 2024-06-25 08:03:28 -07:00
variable_test.go *: remove redundant lines at the start/end of block (#3730) 2024-05-20 14:16:22 -07:00
variables_fuzz_test.go proc: use stack machine to evaluate expressions (#3508) 2023-10-17 11:21:59 -07:00
variables_test.go proc: fix result type of division of untyped constants (#3794) 2024-09-05 09:23:21 +02:00
variables.go eval: Allow reslicing a slice up to its cap, rather than its length (#3796) 2024-08-28 11:41:23 -07:00
x86_disasm.go proc: remove duplicate Registers.Get implementations (#2415) 2021-04-28 10:00:26 -07:00