This is the mail archive of the gdb-patches@sourceware.org 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]

Re: [RFC] varobj deletion after the binary has changed


Denis PILAT <denis.pilat@st.com> writes:

> Index: symfile.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/symfile.c,v
> retrieving revision 1.180
> diff -u -p -r1.180 symfile.c
> --- symfile.c	21 Jan 2007 01:02:03 -0000	1.180
> +++ symfile.c	12 Feb 2007 09:54:22 -0000
> @@ -52,6 +52,7 @@
>  #include "observer.h"
>  #include "exec.h"
>  #include "parser-defs.h"
> +#include "varobj.h"
>  
>  #include <sys/types.h>
>  #include <fcntl.h>

You forgot to update the dependencies in the makefile.  Installed as
obvious.

Andreas.

2007-02-20  Andreas Schwab  <schwab@suse.de>

	* Makefile.in (symfile.o): Update dependencies.

--- gdb/Makefile.in.~1.877.~	2007-02-20 16:57:34.000000000 +0100
+++ gdb/Makefile.in	2007-02-20 16:58:03.000000000 +0100
@@ -2772,7 +2772,7 @@ symfile.o: symfile.c $(defs_h) $(bfdlink
 	$(gdb_stabs_h) $(gdb_obstack_h) $(completer_h) $(bcache_h) \
 	$(hashtab_h) $(readline_h) $(gdb_assert_h) $(block_h) \
 	$(gdb_string_h) $(gdb_stat_h) $(observer_h) $(exec_h) \
-	$(parser_defs_h)
+	$(parser_defs_h) $(varobj_h)
 symfile-mem.o: symfile-mem.c $(defs_h) $(symtab_h) $(gdbcore_h) \
 	$(objfiles_h) $(exceptions_h) $(gdbcmd_h) $(target_h) $(value_h) \
 	$(symfile_h) $(observer_h) $(auxv_h) $(elf_common_h)

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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