Skip to content

Commit

Permalink
[LibOS] regression: fix GDB tests
Browse files Browse the repository at this point in the history
GDB tests expect `_start()` function in the backtrace. However, it
depends on the GDB version and on the setting `backtrace past-main
off|on` (which seems to differ in different GDB versions). So this
commit explicitly enables past-main traces.

Signed-off-by: Dmitrii Kuvaiskii <dmitrii.kuvaiskii@intel.com>
  • Loading branch information
dimakuv authored and mkow committed Oct 20, 2023
1 parent 4f88aa6 commit 4945020
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libos/test/regression/debug.gdb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
set breakpoint pending on
set pagination off
set backtrace past-main on

# Check if debug sources are loaded in our program, and we can break inside.

Expand Down

0 comments on commit 4945020

Please sign in to comment.