Add script to analyze core dumps with gdb (#10)

Introduces analyze_core_dumps.sh to automate core dump analysis using GDB.
The script provides stack traces and register information for analyzing
crashes in executables, with particular focus on Postgres/Cloudberry.

Features:
- Automatic core dump detection and analysis
- Detailed stack traces and register info via GDB
- Comprehensive logging of analysis results
- Dependency checking for required tools
- Clear return codes for automation:
 0: No cores found
 1: Cores processed successfully
 2: Errors (missing deps or processing failures)

The script is designed to integrate with automated testing and CI/CD
pipelines while also being useful for manual debugging sessions.

Add conditional debug build support to configure

Modifies configure script to optionally enable debug-related compile options:
 - --enable-debug
 - --enable-profiling
 - --enable-cassert
 - --enable-debug-extensions

These flags are enabled when ENABLE_DEBUG=true is set in the environment.
This provides flexibility to generate both debug and non-debug builds from
the same script, defaulting to non-debug builds.
5 files changed
tree: 48e2dd61af3d11a8333757c2a58a3092df3da469
  1. .github/
  2. build_automation/
  3. images/
  4. packaging/
  5. scripts/
  6. .asf.yaml
  7. CONTRIBUTING.md
  8. LICENSE
  9. README.md
README.md

DevOps and Release for Apache Cloudberry (Incubating)