···14841484 LLDB support for them.
14851485 (Nick Barnes, review by Tim McGilchrist and Gabriel Scherer)
1486148614871487+- #14375: More accurate error message in the ocamldebug in case of incorrect or
14881488+ missing magic number.
14891489+ (Alex Asafov, review by Gabriel Scherer)
14901490+14871491### Toplevel:
1488149214891493- #12891: Improved styling for initial prompt
+13
debugger/symbols.ml
···6868 let ic = open_in_bin bytecode_file in
6969 let toc =
7070 try
7171+ let open Misc.Magic_number in
7272+ let pos_trailer = in_channel_length ic - magic_length in
7373+ let () = seek_in ic pos_trailer in
7474+ match read_current_info ~expected_kind:(Some Exec) ic with
7575+ | Error (Parse_error err) ->
7676+ prerr_string bytecode_file; prerr_string " load error: ";
7777+ prerr_endline (explain_parse_error (Some Exec) err);
7878+ raise Toplevel
7979+ | Error (Unexpected_error err) ->
8080+ prerr_string bytecode_file; prerr_string " load error: ";
8181+ prerr_endline (explain_unexpected_error err);
8282+ raise Toplevel
8383+ | Ok _ -> ();
7184 let toc = Bytesections.read_toc ic in
7285 ignore(Bytesections.seek_section toc ic Bytesections.Name.SYMB);
7386 toc