Skip to content

Handle breakpoints via postmortem when GDB is not running. #7704

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 23 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
026c078
Handle breakpoints via postmortem when GDB is not running.
mhightower83 Nov 12, 2020
fb3fe9d
comment corrections
mhightower83 Nov 13, 2020
02cab45
Merge branch 'master' into pr-bp-4-postmortem
earlephilhower Nov 14, 2020
c58baaa
Reviewer requested changes.
mhightower83 Nov 16, 2020
c47d7a0
Merge branch 'pr-bp-4-postmortem' of github.com:mhightower83/Arduino …
mhightower83 Nov 16, 2020
dd80b84
Corrected build error.
mhightower83 Nov 16, 2020
44e60df
Merge branch 'master' into pr-bp-4-postmortem
mhightower83 Nov 16, 2020
c8d0da1
Moved definitions around to aid in future merges where
mhightower83 Nov 20, 2020
b52648c
Correction for `using _xtos_handler =` in .c files
mhightower83 Nov 20, 2020
dc484cf
Improved comments.
mhightower83 Nov 22, 2020
01cc415
Cleanup comment.
mhightower83 Nov 29, 2020
76f24ec
Merge branch 'master' into pr-bp-4-postmortem
mhightower83 Dec 3, 2020
1950c78
Merge branch 'master' into pr-bp-4-postmortem
mhightower83 Dec 6, 2020
60b658b
Merge branch 'master' into pr-bp-4-postmortem
mhightower83 Dec 11, 2020
79c0d01
replace typdef with using
mhightower83 Dec 11, 2020
b0f7e4f
Merge branch 'master' into pr-bp-4-postmortem
mhightower83 Dec 11, 2020
de1249f
Merge branch 'master' into pr-bp-4-postmortem
mhightower83 Dec 15, 2020
ba887d5
Merge branch 'master' into pr-bp-4-postmortem
mhightower83 Jan 14, 2021
c91113d
Merge branch 'master' into pr-bp-4-postmortem
mhightower83 Mar 14, 2021
2d67987
Merge branch 'master' into pr-bp-4-postmortem
mhightower83 Apr 4, 2021
0404ccd
Merge branch 'master' into pr-bp-4-postmortem
mhightower83 Jul 1, 2021
1623ffc
Merge branch 'master' into pr-bp-4-postmortem
mhightower83 Jul 28, 2021
229e2e5
Merge branch 'master' into pr-bp-4-postmortem
mhightower83 Dec 8, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions cores/esp8266/core_esp8266_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ extern "C" void __disableWiFiAtBootTime (void)
wifi_fpm_open();
wifi_fpm_do_sleep(0xFFFFFFF);
}
extern "C" void postmortem_init(void);

extern "C" void user_init(void) {
struct rst_info *rtc_info_ptr = system_get_rst_info();
Expand Down Expand Up @@ -425,6 +426,10 @@ extern "C" void user_init(void) {
preinit(); // Prior to C++ Dynamic Init (not related to above init() ). Meant to be user redefinable.
__disableWiFiAtBootTime(); // default weak function disables WiFi

#if defined(DEBUG_ESP_PORT) || defined(DEBUG_ESP_EXCEPTIONS)
postmortem_init();
#endif

ets_task(loop_task,
LOOP_TASK_PRIORITY, s_loop_queue,
LOOP_QUEUE_SIZE);
Expand Down
Loading