This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH/OB] breakpoint.c: include cli files


To avoid a warning.

Elena


2002-08-27  Elena Zannoni  <ezannoni@redhat.com>

	* cli/cli-script.h (copy_command_lines): Export.
	* breakpoint.c: Include cli/cli-script.h.
	* Makefile.in (breakpoint.o): Update dependencies.

Index: Makefile.in
===================================================================
RCS file: /cvs/uberbaum/gdb/Makefile.in,v
retrieving revision 1.249
diff -u -p -r1.249 Makefile.in
--- Makefile.in	25 Aug 2002 21:43:05 -0000	1.249
+++ Makefile.in	27 Aug 2002 19:01:49 -0000
@@ -1537,7 +1537,7 @@ blockframe.o: blockframe.c $(defs_h) $(g
 breakpoint.o: breakpoint.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
 	$(inferior_h) $(language_h) $(target_h) $(gdbthread_h) \
 	$(gdb_string_h) $(gdb_events_h) $(linespec_h) $(ui_out_h) \
-	$(completer_h) $(gdb_h)
+	$(completer_h) $(gdb_h) $(cli_script_h)
 
 buildsym.o: buildsym.c $(defs_h) $(bfd_h) $(gdb_obstack_h) $(symtab_h) \
 	$(symfile_h) $(objfiles_h) $(gdbtypes_h) $(complaints_h) \
Index: cli-script.h
===================================================================
RCS file: /cvs/uberbaum/gdb/cli/cli-script.h,v
retrieving revision 1.3
diff -u -p -r1.3 cli-script.h
--- cli-script.h	17 Jan 2002 22:15:18 -0000	1.3
+++ cli-script.h	27 Aug 2002 19:02:07 -0000
@@ -41,6 +41,8 @@ extern enum command_control_type
 extern void print_command_lines (struct ui_out *,
 				 struct command_line *, unsigned int);
 
+extern struct command_line * copy_command_lines (struct command_line *cmds);
+
 /* Exported to gdb/infrun.c */
 
 extern void execute_user_command (struct cmd_list_element *c, char *args);
Index: breakpoint.c
===================================================================
RCS file: /cvs/uberbaum/gdb/breakpoint.c,v
retrieving revision 1.83
diff -u -p -r1.83 breakpoint.c
--- breakpoint.c	27 Aug 2002 01:09:08 -0000	1.83
+++ breakpoint.c	27 Aug 2002 19:01:34 -0000
@@ -45,6 +45,7 @@
 #include "completer.h"
 #include "gdb.h"
 #include "ui-out.h"
+#include "cli/cli-script.h"
 
 #include "gdb-events.h"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]