Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Caml source line numbers in custom executable
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-01-10 (21:41)
From: Christopher Alexander Stein <stein@e...>
Subject: Caml source line numbers in custom executable


I am building a custom unstripped ELF executable that contains
the Caml runtime. The executable is segfaulting in runtime GC
routines. Can someone suggest how to cross reference these
routines with the corresponding file and line numbers of the Caml
source code so that gcc can tell me where the executable is

Thank you


ps: Damien, I have tried using ocamldebug. It looks like an
excellent tool. In particular, it's time travel features are
powerful. However, in this case, it's use is limited by its
disconnected socket-based implementation; the executable
segfaults and the debugger loses contact.