Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C cbl-gdb
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • COBOLworx
  • cbl-gdb
  • Issues
  • #43

Closed
Open
Created Feb 16, 2021 by Simon Sobisch@ssobischReporter

cload: command for loading COBOL modules

Only "kind of a patch" this time as I've not checked yet how to do the necessary string handling.

The issue behind this is that different COBOL debuggers allow you to "load" a module that is not-yet-called to set breakpoints or search the source.

Since GC 2.2 this can be mimic'd by invoking

call (size_t)cache_preload ("/path/to/SOME.so") (returns non-zero if module specified with full-path is now available)

and it would be nice to be able to do something like

cload /path/to/SOME.so ("similar" to GDBs load command)

note: GC 3.2 will additionally ship with a function that can be called as

call (size_t)cob_try_preload ("SOME") (returns non-zero if module specified with name (searched in COB_LIBRARY_PATH is now available; returns 2 if it already was pre-loaded before and 3 if it was previously CALLed and not CANCELed)

For everything pre 3.2 care must be taken to not pre-load a module after it was already called and not-yet canceled.

Assignee
Assign to
Time tracking