From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20730 invoked by alias); 27 Aug 2002 20:02:47 -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 20700 invoked from network); 27 Aug 2002 20:02:46 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 27 Aug 2002 20:02:46 -0000 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id MAA23793; Tue, 27 Aug 2002 12:55:40 -0700 (PDT) Message-ID: <3D6BDAE5.34E42341@redhat.com> Date: Tue, 27 Aug 2002 13:13:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: Elena Zannoni CC: gdb-patches@sources.redhat.com Subject: Re: [PATCH/OB] breakpoint.c: include cli files References: <15723.52606.387906.577919@localhost.redhat.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-08/txt/msg00903.txt.bz2 Elena Zannoni wrote: > > To avoid a warning. Ah, sorry. Forgot to check in defs.h, which was where Joel put it. Yours is actually more appropriate though, so let's leave it in. > > 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"