This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] varobj deletion after the binary has changed
- From: Andreas Schwab <schwab at suse dot de>
- To: Denis PILAT <denis dot pilat at st dot com>
- Cc: Nick Roberts <nickrob at snap dot net dot nz>, Eli Zaretskii <eliz at gnu dot org>, drow at false dot org, gdb-patches at sourceware dot org
- Date: Tue, 20 Feb 2007 17:06:08 +0100
- Subject: Re: [RFC] varobj deletion after the binary has changed
- References: <20070123124457.GA1600@nevyn.them.org> <45B63A49.4010609@st.com> <45B8E8A8.9040904@st.com> <17849.12231.246980.478169@kahikatea.snap.net.nz> <20070125232731.GA30178@nevyn.them.org> <45BDEAEC.1050006@st.com> <17854.28971.170898.231523@kahikatea.snap.net.nz> <45C0B042.9040308@st.com> <17857.2617.164646.935952@kahikatea.snap.net.nz> <45C1B78C.60605@st.com> <20070208164103.GA13544@nevyn.them.org> <17867.31476.627368.180759@kahikatea.snap.net.nz> <uy7n79w0k.fsf@gnu.org> <45D05B3B.5050408@st.com>
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."