From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22634 invoked by alias); 27 Aug 2002 19:07:30 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 22594 invoked from network); 27 Aug 2002 19:07:29 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 27 Aug 2002 19:07:29 -0000 Received: by localhost.redhat.com (Postfix, from userid 469) id 794E710D94; Tue, 27 Aug 2002 15:05:34 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15723.52606.387906.577919@localhost.redhat.com> Date: Tue, 27 Aug 2002 12:27:00 -0000 To: gdb-patches@sources.redhat.com Subject: [PATCH/OB] breakpoint.c: include cli files X-SW-Source: 2002-08/txt/msg00900.txt.bz2 To avoid a warning. Elena 2002-08-27 Elena Zannoni * 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"