Subject: [Bug 1477363] Review Request: ocaml-cmdliner -
Declarative definition of command line interfaces
--- Comment #5 from Richard W.M. Jones <[email protected]
I believe you can change the ocamlbuild command line to add
ocamlbuild ... -tag debug
You'll also want to check what actual ocamlopt commands are being
executed to ensure that -g is passed to them all.
To check that debuginfo is being generated at all, look at the
*.o files. For example:
echo 'print_endline "hello world"' > test.ml
ocamlopt.opt -g test.ml
eu-readelf --debug-dump=info test.o
You should see entries such as ‘name’, ‘comp_dir’.
However if -g has been omitted then eu-readelf will give an error:
eu-readelf: cannot get debug context descriptor: No DWARF information found
You can also run the same commands on executables.
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]