Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH/OB] breakpoint.c: include cli files
@ 2002-08-27 12:27 Elena Zannoni
  2002-08-27 13:13 ` Michael Snyder
  0 siblings, 1 reply; 2+ messages in thread
From: Elena Zannoni @ 2002-08-27 12:27 UTC (permalink / raw)
  To: gdb-patches


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"


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH/OB] breakpoint.c: include cli files
  2002-08-27 12:27 [PATCH/OB] breakpoint.c: include cli files Elena Zannoni
@ 2002-08-27 13:13 ` Michael Snyder
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Snyder @ 2002-08-27 13:13 UTC (permalink / raw)
  To: Elena Zannoni; +Cc: gdb-patches

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  <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"


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-27 20:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-27 12:27 [PATCH/OB] breakpoint.c: include cli files Elena Zannoni
2002-08-27 13:13 ` Michael Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox