Alain Frisch
68ae2cc74b
Enable warning 27 in tools/ and fix occurrences. It's good to mark in depend and untypeast parts which are explicitly ignored.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14794 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-05-12 10:41:21 +00:00
Damien Doligez
5b8df637d2
merge branch "safe-string"
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-29 11:56:17 +00:00
Gabriel Scherer
2b9f94b69b
PR#6270: remove need for -I directives to ocamldebug in common case
...
(patch by Josh Watzman)
Add absolute directory names to bytecode format for ocamldebug to use
The need for a long list of -I directives makes interactively using
ocamldebug a pain in the butt. Many folks have solved this with various
`find` invocations or even Python wrappers, but those lead to other
problems when it might include files you weren't expecting (or miss
things you were). But all of this is really annoying since the tooling
should be able to figure out itself, even heuristically, where your
source files are -- gdb gets this right, why can't we?
This patch implements one of the more important heuristics from gdb: you
typically debug on the same machine you built on, so looking for the
source files and built artifacts in the absolute paths where they were
during compilation is a good first try. We write out absolute paths into
a new structure at the beginning of the debug section and then
automatically append those directories into the load path.
This means mean that if you happen to be debugging on a machine
where the original source and build artifacts are *not* available in
their original absolute locations, things will work as before, using the
standard load path mechanism. You can also explicitly use -I to prepend
directories to the load path and override the defaults located by this
new mechanism.
I personally find this makes using ocamldebug much more pleasant :)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14533 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-06 15:06:22 +00:00
Damien Doligez
7844495624
Merge branch 4.01 from branching point to 4.01.0+rc1
...
Command line used:
svn merge --accept postpone -r 13776:14055 $REPO/version/4.01 .
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14060 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-04 15:12:37 +00:00
Alain Frisch
6bfcb1da5b
Support for quoted strings.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13450 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-26 11:17:17 +00:00
Alain Frisch
a19a4642e5
Enable 'unused stuff' warnings in tools/ and get rid of them.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13140 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-12-19 09:25:21 +00:00
Damien Doligez
def31744f9
remove all $Id keywords
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15 17:50:56 +00:00
Fabrice Le Fessant
d39d43e55f
merge with branch bin-annot
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12516 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-30 14:52:37 +00:00
Damien Doligez
5b14388ad0
refactoring the "read n bytes from a channel into a new string" idiom
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12184 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-23 19:54:44 +00:00
Damien Doligez
3b507dd1aa
renaming of Objective Caml to OCaml and cleanup of copyright headers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Damien Doligez
83e8c0588a
PR#4563 sign bug on 64-bit arch
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9015 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-10 12:53:05 +00:00
Pierre Weis
8ce0f1e046
Need to open Cmo_format.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7425 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-15 09:00:48 +00:00
Damien Doligez
125ea40d4c
fusion 3.09.0 -> 3.09.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7307 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-04 16:55:50 +00:00
Damien Doligez
be2320a1fd
suppression 3 warnings
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6923 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-06-22 13:49:35 +00:00
Jacques Garrigue
6a940ef65d
switch to new vtable representation
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6331 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-05-26 11:10:52 +00:00
Basile Starynkevitch
dd1fbbff25
produced dump with prologue and epilogue
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6240 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-20 09:30:18 +00:00
Xavier Leroy
b1b67be7ad
MAJ numeros de tags dans print_obj
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6059 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-05 16:39:33 +00:00
Xavier Leroy
7abcc8799e
Ajout des litteraux de type int32, nativeint, int64
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5510 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-25 12:27:31 +00:00
Damien Doligez
de30e68b5d
changement des locations, suite
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5244 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-05 16:33:24 +00:00
Damien Doligez
123fb9f713
changement des locations, deuxieme tranche
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5232 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-02 22:36:46 +00:00
Pierre Weis
a829d1d7d6
Using formats %S and %C.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4959 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-27 09:27:14 +00:00
Damien Doligez
0260b56813
bug: opRERAISE n'existe plus
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4163 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-13 13:12:25 +00:00
Luc Maranget
eb7578b8db
optimsation pm a donf
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3427 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-02-19 20:27:52 +00:00
Xavier Leroy
f2a7fdbcd3
Ajout de l'instruction RERAISE
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3421 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-02-19 12:28:04 +00:00
Xavier Leroy
2dc7d72922
Ajout des nouvelles instructions de Luc
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3349 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-12-01 09:29:14 +00:00
Xavier Leroy
d59b163fdc
Utiliser les infos de debug pour retrouver les endroits dans le source
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3046 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-06 13:05:11 +00:00
Xavier Leroy
ee2c3d5bc6
Nouveau format extensible d'executables bytecode
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2903 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-05 19:18:50 +00:00
Damien Doligez
b234d1769c
detabisation
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2745 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-01-07 16:47:25 +00:00
Damien Doligez
44c244d311
tabs -> spaces
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2638 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-29 19:04:56 +00:00
Xavier Leroy
cc0f32b054
Changement de la licence
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-17 18:59:06 +00:00
Damien Doligez
30b727ecb1
Petits bugs dans dumpobj.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2518 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-10 12:48:47 +00:00
Damien Doligez
6da7c14bc6
debug + reorganisation
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2493 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-08 17:35:11 +00:00
Xavier Leroy
fd8ea59807
Ajout des options -make_runtime et -use_runtime
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1920 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-04-14 14:48:34 +00:00
Xavier Leroy
b859561bc7
Adaptation au nouveau bytecode
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1900 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-04-06 09:23:12 +00:00
Xavier Leroy
dfefd9fe6c
Nouveau format d'executables.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1600 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-06-13 15:53:47 +00:00
Xavier Leroy
d903fe4d27
Commentaire bugge.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1497 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-04-11 13:58:34 +00:00
Xavier Leroy
2301d778e7
Renommage en Objective Caml
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@782 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-30 14:53:58 +00:00
Jérôme Vouillon
7974a9d8b1
Extension objets.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@756 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-22 11:15:41 +00:00
Xavier Leroy
06f1477a60
Suppression de TRANSLATE.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@740 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-04 15:57:10 +00:00
Xavier Leroy
e550eab320
Remise a jour du desassembleur d'executables.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@539 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-12-15 10:20:39 +00:00
Xavier Leroy
eda2f6449b
Nouveau format de .cmo (utilisation de MD5, detection unsafe)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@326 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-10-09 13:37:11 +00:00
Xavier Leroy
e4066357b1
Ajout des notices de copyright
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@195 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-08-09 15:06:35 +00:00
Xavier Leroy
102e3d3c5a
MAJ suite a C_CALL5.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@85 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-07-11 18:08:39 +00:00
Xavier Leroy
852c648c4a
Introduction de dumpapprox pour imprimer les infos d'un .cmx.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@57 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-07-02 16:47:48 +00:00
Xavier Leroy
7116b6691a
MAJ desassembleur apres changement de la representation des
...
constructeurs constants.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@44 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-06-18 14:46:54 +00:00
Xavier Leroy
4191fc9fb2
Rectification calcul des deplacements relatifs.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@32 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-06-15 08:10:28 +00:00
Xavier Leroy
ec675d2f9a
Detection des types sommes avec trop de constructeurs.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@18 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-05-22 15:43:44 +00:00
Xavier Leroy
61bd8ace6b
Passage a la version bootstrappee (franchissement du Rubicon)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-05-04 10:15:53 +00:00