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] Fix HP-UX build problems


Fixes build problems on HP-UX, caused by recent xbreak deprecation.
Committed as obvious.

2002-02-03  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>

	* breakpoint.c (break_at_finish_command): Really export.
	(break_at_finish_at_depth_command): Ditto.
	(tbreak_at_finish_command): Ditto.
	* hppa-tdep.c: Include completer.h.
	* Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
	(COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.

--- ./Makefile.in.orig	Sat Feb  2 11:22:20 2002
+++ ./Makefile.in	Sat Feb  2 18:27:24 2002
@@ -721,8 +721,6 @@ COMMON_OBS = version.o blockframe.o brea
 	nlmread.o serial.o mdebugread.o os9kread.o top.o utils.o \
 	ui-file.o \
 	frame.o doublest.o \
-	ui-file.o \
-	frame.o doublest.o \
 	gnu-v2-abi.o gnu-v3-abi.o hpacc-abi.o cp-abi.o
 
 OBS = $(COMMON_OBS) $(ANNOTATE_OBS)
@@ -1540,7 +1538,8 @@ hpacc-abi.o: hpacc-abi.c $(defs_h) $(cp_
 	$(value_h) $(gdbcore_h)
 
 hppa-tdep.o: hppa-tdep.c gdb_wait.h $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
-	$(inferior_h) $(objfiles_h) $(symfile_h) $(target_h) $(regcache_h)
+	$(inferior_h) $(objfiles_h) $(symfile_h) $(target_h) $(regcache_h) \
+	$(completer_h)
 
 hppab-nat.o: hppab-nat.c $(bfd_h) $(defs_h) $(inferior_h) $(target_h) \
 	$(regcache_h)
--- ./breakpoint.c.orig	Sat Feb  2 11:22:21 2002
+++ ./breakpoint.c	Sat Feb  2 18:19:33 2002
@@ -84,10 +84,10 @@ static void watch_command (char *, int);
 
 static int can_use_hardware_watchpoint (struct value *);
 
-static void break_at_finish_command (char *, int);
-static void break_at_finish_at_depth_command (char *, int);
+void break_at_finish_command (char *, int);
+void break_at_finish_at_depth_command (char *, int);
 
-static void tbreak_at_finish_command (char *, int);
+void tbreak_at_finish_command (char *, int);
 
 static void break_command_1 (char *, int, int);
 
--- ./hppa-tdep.c.orig	Sat Feb  2 11:22:25 2002
+++ ./hppa-tdep.c	Sat Feb  2 14:23:25 2002
@@ -28,6 +28,7 @@
 #include "inferior.h"
 #include "value.h"
 #include "regcache.h"
+#include "completer.h"
 
 /* For argument passing to the inferior */
 #include "symtab.h"

-- 
Peter Schauer			pes@regent.e-technik.tu-muenchen.de


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