aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2000-05-15 07:10:04 +0000
committerEli Zaretskii <eliz@gnu.org>2000-05-15 07:10:04 +0000
commit4f0aafb38abea1590b4a720c5ef1516cf25289b4 (patch)
treef7feb36519d16c5be7a58d3f3251a4d1045829bd
parentd1e3cf49987161b72dd638ff94a5fc3e1f684484 (diff)
downloadgdb-4f0aafb38abea1590b4a720c5ef1516cf25289b4.zip
gdb-4f0aafb38abea1590b4a720c5ef1516cf25289b4.tar.gz
gdb-4f0aafb38abea1590b4a720c5ef1516cf25289b4.tar.bz2
* Makefile.in (gdbtypes.o, varobj.o): Depend on wrapper.h.
* wrapper.h (gdb_value_subscript, wrap_value_subscript): Add prototypes.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/Makefile.in4
-rw-r--r--gdb/wrapper.h3
3 files changed, 12 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 27bc318..c5c15d8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * Makefile.in (gdbtypes.o, varobj.o): Depend on wrapper.h.
+
+ * wrapper.h (gdb_value_subscript, wrap_value_subscript): Add
+ prototypes.
+
Mon May 15 15:31:30 2000 Andrew Cagney <cagney@b1.cygnus.com>
* valops.c (hand_function_call): Replace #ifdef
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 0d33e74..335489a 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1367,7 +1367,7 @@ arch-utils.o: arch-utils.c $(defs_h) $(bfd_h) $(gdbcmd_h) \
gdbtypes.o: gdbtypes.c $(bfd_h) complaints.h $(defs_h) $(expression_h) \
$(gdbtypes_h) language.h objfiles.h symfile.h $(symtab_h) target.h \
- $(value_h) gdb_string.h
+ $(value_h) gdb_string.h wrapper.h
go32-nat.o: go32-nat.c $(defs_h) $(inferior_h) gdb_wait.h $(gdbcore_h) \
$(command_h) $(floatformat_h) target.h
@@ -1944,7 +1944,7 @@ gdb-events.o: gdb-events.c gdb-events.h $(defs_h) $(gdbcmd_h)
ui-out.o: ui-out.c $(defs_h) $(ui_out_h) expression.h language.h
cli-out.o: cli-out.c $(defs_h) $(ui_out_h) $(cli_out_h)
varobj.o: varobj.c $(defs_h) $(frame_h) $(value_h) \
- $(language_h) valprint.h varobj.h
+ $(language_h) valprint.h varobj.h wrapper.h
$(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $<
wrapper.o: wrapper.c $(defs_h) $(frame_h) $(value_h) wrapper.h
diff --git a/gdb/wrapper.h b/gdb/wrapper.h
index 7cb75c8..197b61e7 100644
--- a/gdb/wrapper.h
+++ b/gdb/wrapper.h
@@ -31,6 +31,9 @@ extern int gdb_value_fetch_lazy PARAMS ((value_ptr));
extern int gdb_value_equal PARAMS ((value_ptr, value_ptr, int *));
+extern int gdb_value_subscript PARAMS ((value_ptr, value_ptr, value_ptr *));
+extern int wrap_value_subscript PARAMS ((char *));
+
extern int gdb_value_ind PARAMS ((value_ptr val, value_ptr * rval));
extern int gdb_parse_and_eval_type (char *, int, struct type **);