Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
# Building libmonda requires a PIC-enabled OCaml toolchain (configure
# with -fPIC).

#GDB_ROOT=$(PREFIX)/libexec/gdb-ocaml.7.11/src
#OCAML_ROOT=$(PREFIX)
GDB_ROOT=/mnt/local/sda1/mshinwell/mshinwell-gdb
OCAML_ROOT=/mnt/local/sda1/mshinwell/mshinwell-ocaml2-install
GDB_ROOT=$(PREFIX)/libexec/gdb-ocaml.7.11/src
OCAML_ROOT=$(PREFIX)
#GDB_ROOT=/mnt/local/sda1/mshinwell/mshinwell-gdb
#OCAML_ROOT=/mnt/local/sda1/mshinwell/mshinwell-ocaml2-install

OCAMLOPT=$(OCAML_ROOT)/bin/ocamlopt -verbose -I +compiler-libs -I ./src \
-g -fPIC -I ./gdb_backend
Expand Down
6 changes: 4 additions & 2 deletions gdb_backend/from_gdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#include "stack.h"
#include "symtab.h"
#include "valprint.h"
#include "value.h"
#include "c-lang.h"

#include <assert.h>
#include <string.h>
Expand Down Expand Up @@ -124,7 +126,7 @@ monda_val_print (struct type* type, const gdb_byte* valaddr,
fflush(stderr);
*/
c_val_print(type, valaddr, embedded_offset, address, stream, recurse,
val, options, depth);
val, options/*, depth*/);
}
else
#endif
Expand Down Expand Up @@ -157,7 +159,7 @@ monda_val_print (struct type* type, const gdb_byte* valaddr,
fflush(stderr);
*/
c_val_print(type, valaddr, embedded_offset, address, stream, recurse,
val, options, depth);
val, options/*, depth*/);
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions gdb_backend/to_gdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include "defs.h"
#include "symtab.h"
#include "value.h"
#include "stack.h"
#include "target/target.h"

/* Remember: No gdb exceptions may escape from the functions called from OCaml
in this file. (See from_gdb.c for an explanation.)
Expand Down