John Baldwin
eacc27affe
bhyve: Move the gdb_active check to gdb_cpu_suspend().
...
The check needs to be in the public routine (gdb_cpu_suspend()), not
in the internal routine called from various places
(_gdb_cpu_suspend()). All the other callers of _gdb_cpu_suspend()
already check gdb_active, and this breaks the use of snapshots when
the debug server is not enabled since gdb_cpu_suspend() tries to lock
an uninitialized mutex.
Reported by: Darius Mihai, Elena Mihailescu
Reviewed by: elenamihailescu22_gmail.com
Fixes: 621b5090487de9fed1b503769702a9a2a27cc7bb
Differential Revision: https://reviews.freebsd.org/D29538
2021-04-12 11:43:34 -07:00
..
2020-04-15 02:00:17 +00:00
2020-04-15 02:00:17 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-01-08 22:55:22 +00:00
2019-06-25 06:24:56 +00:00
2021-03-24 09:29:15 -07:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2020-04-15 01:58:51 +00:00
2020-04-15 01:58:51 +00:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2020-01-08 22:55:22 +00:00
2021-04-12 11:43:34 -07:00
2019-12-13 19:21:58 +00:00
2021-03-18 16:30:26 -07:00
2019-06-25 06:24:56 +00:00
2019-06-25 06:24:56 +00:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2020-02-20 21:07:23 +00:00
2020-02-20 21:07:23 +00:00
2020-05-15 15:54:22 +00:00
2020-05-15 15:54:22 +00:00
2021-03-18 16:30:26 -07:00
2020-05-05 00:02:04 +00:00
2019-12-11 17:37:37 +00:00
2019-05-24 00:34:13 +00:00
2019-05-24 00:34:13 +00:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2019-11-03 19:02:32 +00:00
2020-01-08 22:55:22 +00:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-19 11:04:36 +08:00
2021-03-19 11:04:36 +08:00
2021-03-19 11:04:36 +08:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-24 09:29:15 -07:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-19 11:04:36 +08:00
2021-03-18 16:30:26 -07:00
2021-04-08 18:44:58 +04:00
2021-03-30 16:44:07 +08:00
2021-03-30 16:44:07 +08:00
2021-03-30 16:44:07 +08:00
2021-03-30 16:44:07 +08:00
2021-03-30 16:44:07 +08:00
2021-04-03 14:32:54 +10:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2020-07-06 08:36:14 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-12-18 00:38:48 +00:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-04-12 08:09:52 -07:00
2021-03-07 15:23:29 -09:00
2021-02-27 12:07:35 -09:00
2020-01-08 22:55:22 +00:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-30 16:44:07 +08:00
2021-03-30 16:44:07 +08:00
2020-04-15 05:55:14 +00:00
2020-04-15 05:55:14 +00:00
2020-02-13 19:05:14 +00:00