From 7f125d5d9932ef685f67357fe0ab9988d4308f6a Mon Sep 17 00:00:00 2001 From: mitchell Date: Wed, 6 Oct 2021 14:31:32 -0400 Subject: Updated gdb debugger test. Newer versions of gdb report different line numbers when stepping into functions. --- docs/changelog.md | 23 +++++++++++++++++++++++ test/test.lua | 4 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index 51928209..83bdd924 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -18,6 +18,29 @@ Download: Bugfixes: +* +* Lua REPL: Fixed broken REPL on reset. + +Changes: + +* + +[Textadept 11.3 beta -- Win32]: https://github.com/orbitalquark/textadept/releases/download/textadept_11.3_beta/textadept_11.3_beta.win32.zip +[Textadept 11.3 beta -- Mac OSX 10.7+]: https://github.com/orbitalquark/textadept/releases/download/textadept_11.3_beta/textadept_11.3_beta.macOS.zip +[Textadept 11.3 beta -- Linux]: https://github.com/orbitalquark/textadept/releases/download/textadept_11.3_beta/textadept_11.3_beta.linux.tgz +[Textadept 11.3 beta -- Modules]: https://github.com/orbitalquark/textadept/releases/download/textadept_11.3_beta/textadept_11.3_beta.modules.zip + +### 11.3 beta (01 Oct 2021) + +Download: + +* [Textadept 11.3 beta -- Win32][] +* [Textadept 11.3 beta -- Mac OSX 10.7+][] +* [Textadept 11.3 beta -- Linux][] +* [Textadept 11.3 beta -- Modules][] + +Bugfixes: + * Fixed Windows directory typos in the manual. * Prevent running the command entry while in the command entry. * Fixed uncommenting comments that are not initially aligned. diff --git a/test/test.lua b/test/test.lua index 9767eaa8..b9b941f1 100644 --- a/test/test.lua +++ b/test/test.lua @@ -4270,13 +4270,13 @@ function test_debugger_ansi_c() assert(msg_buf:get_text():find('\n0\n'), 'evaluation of i failed') debugger.step_into() wait() - assert_equal(buffer:line_from_position(buffer.current_pos), 4) + assert_equal(buffer:line_from_position(buffer.current_pos), 3) debugger.set_frame(2) wait() assert_equal(buffer:line_from_position(buffer.current_pos), 10) debugger.set_frame(1) wait() - assert_equal(buffer:line_from_position(buffer.current_pos), 4) + assert_equal(buffer:line_from_position(buffer.current_pos), 3) buffer:search_anchor() local pos = buffer:search_next(buffer.FIND_MATCHCASE | buffer.FIND_WHOLEWORD, 'i') assert(pos > 0, "'i' not found") -- cgit v1.2.3