diff options
author | Lukas Larsson <[email protected]> | 2019-01-15 16:40:24 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2019-01-15 16:40:24 +0100 |
commit | 337e8a45ef9e8a6cbe91d004d9bb06a8371eb719 (patch) | |
tree | 057dcbe3720ef7ff817daab8dfbe1f96c7a38afb /erts/emulator/beam/erl_db_util.c | |
parent | 5f5d0b3dd311ef16b7c6cc61d575cd7e5eccc291 (diff) | |
parent | 6f8bb9b6fb5dc6bda960a95b36274f84e1b6330c (diff) | |
download | otp-337e8a45ef9e8a6cbe91d004d9bb06a8371eb719.tar.gz otp-337e8a45ef9e8a6cbe91d004d9bb06a8371eb719.tar.bz2 otp-337e8a45ef9e8a6cbe91d004d9bb06a8371eb719.zip |
Merge branch 'lukas/erts/fix-seq_trace-reset_trace/OTP-15490' into maint
* lukas/erts/fix-seq_trace-reset_trace/OTP-15490:
erts: Remove dead gdb functions from code
erts: Make sure to take main lock when dumping proc info
Diffstat (limited to 'erts/emulator/beam/erl_db_util.c')
-rw-r--r-- | erts/emulator/beam/erl_db_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_db_util.c b/erts/emulator/beam/erl_db_util.c index f1d47326b4..e2c029c244 100644 --- a/erts/emulator/beam/erl_db_util.c +++ b/erts/emulator/beam/erl_db_util.c @@ -2470,7 +2470,7 @@ restart: case matchProcessDump: { erts_dsprintf_buf_t *dsbufp = erts_create_tmp_dsbuf(0); ASSERT(c_p == self); - print_process_info(ERTS_PRINT_DSBUF, (void *) dsbufp, c_p); + print_process_info(ERTS_PRINT_DSBUF, (void *) dsbufp, c_p, ERTS_PROC_LOCK_MAIN); *esp++ = new_binary(build_proc, (byte *)dsbufp->str, dsbufp->str_len); erts_destroy_tmp_dsbuf(dsbufp); |