From 4f0aafb38abea1590b4a720c5ef1516cf25289b4 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 15 May 2000 07:10:04 +0000 Subject: [PATCH] * Makefile.in (gdbtypes.o, varobj.o): Depend on wrapper.h. * wrapper.h (gdb_value_subscript, wrap_value_subscript): Add prototypes. --- gdb/ChangeLog | 7 +++++++ gdb/Makefile.in | 4 ++-- gdb/wrapper.h | 3 +++ 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 + + * 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 * 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 **); -- 2.7.4