| 1006 | */ |
| 1007 | |
| 1008 | void _db_pop_() |
| 1009 | { |
| 1010 | struct settings *discard; |
| 1011 | uint old_fflags; |
| 1012 | CODE_STATE *cs; |
| 1013 | |
| 1014 | get_code_state_or_return; |
| 1015 | |
| 1016 | discard= cs->stack; |
| 1017 | if (discard != &init_settings) |
| 1018 | { |
| 1019 | read_lock_stack(cs); |
| 1020 | old_fflags=fflags(cs); |
| 1021 | unlock_stack(cs); |
| 1022 | |
| 1023 | cs->stack= discard->next; |
| 1024 | FreeState(cs, discard, 1); |
| 1025 | |
| 1026 | read_lock_stack(cs); |
| 1027 | FixTraceFlags(old_fflags, cs); |
| 1028 | unlock_stack(cs); |
| 1029 | } |
| 1030 | } |
| 1031 | |
| 1032 | /* |
| 1033 | * FUNCTION |
nothing calls this directly
no test coverage detected