mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-21 01:03:42 +00:00
Correct the type of db_cmd_loop_done.
On big endian hardware that uses 1 byte bool a type mismatch of bool vs int will cause the least signifcant byte of db_cmd_loop_done to be set, but the MSB to be read, and read as 0. This causes ddb to stay in an infinite loop. MFC after: 1 week
This commit is contained in:
parent
c9012a5120
commit
51d025a596
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=305636
|
@ -59,7 +59,7 @@ __FBSDID("$FreeBSD$");
|
|||
/*
|
||||
* Exported global variables
|
||||
*/
|
||||
bool db_cmd_loop_done;
|
||||
int db_cmd_loop_done;
|
||||
db_addr_t db_dot;
|
||||
db_addr_t db_last_addr;
|
||||
db_addr_t db_prev;
|
||||
|
|
Loading…
Reference in a new issue