-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Build
We should create a framework for and write some gdb tests the confirm that gdb works and doesn't hang. These can be used to test toolchain and gdb upgrade to confirm that gdb is still working.
These tests should cover
- For static prod builds firstly
- For dynamic dev builds as a close second
daniel.gottlieb@mongodb.com has some context on
Update:
In a debug=on and opt=off build we want to spin up a whole mongod instance, adding a breakpoint, do some automated gdb stuff, and checking the result. We can use the existing unit test script with mongod as the input binary and gdb unittest script as parameters.
- is related to
-
SERVER-75936 Avoid hardcoded version number in absl pretty printers
- Backlog
- related to
-
SERVER-59856 Hang analyzer gdb script raises gdb.error
- Backlog
-
SERVER-50476 gdb.lookup_type on dynamically linked mongo programs can be prohibitively expensive
- Closed
-
SERVER-71211 gdb-index causing bugs in server gdb
- Closed