esp-idf/tools/gdb_panic_server.py

13 lines
295 B
Python
Raw Normal View History

#!/usr/bin/env python
#
# SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
#
2022-05-23 09:30:13 -04:00
# SPDX-License-Identifier: Apache-2.0
#
import subprocess
import sys
if __name__ == '__main__':
sys.exit(subprocess.run([sys.executable, '-m', 'esp_idf_panic_decoder'] + sys.argv[1:]).returncode)