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: varobj_get_type cleanup


On Tuesday 30 June 2009 Tom Tromey wrote:

> >>>>> "Vladimir" == Vladimir Prus <vladimir@codesourcery.com> writes:
> 
> Vladimir> I've checked in the below obvious cleanup.
> 
> Vladimir> +#include "typeprint.h"
> 
> FYI, this doesn't declare anything of interest.
> 
> type_to_string is declared, strangely, in value.h.
> (I would have expected gdbtypes.h, myself.)

Boo. I don't really understand why a function defined in
typeprint.c is declared in random headers ;-) I've checked
in the below obvious cleanup.

- Volodya



Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.10693
diff -u -p -r1.10693 ChangeLog
--- ChangeLog	7 Jul 2009 07:47:19 -0000	1.10693
+++ ChangeLog	7 Jul 2009 08:46:07 -0000
@@ -1,3 +1,7 @@
+2009-07-07  Vladimir Prus  <vladimir@codesourcery.com>
+
+	* varobj.c: Remove unnecessary include.
+
 2009-07-07  Tristan Gingold  <gingold@adacore.com>
 
 	* config/i386/darwin.mh	(NATDEPFILES): Remove excServer.o.
Index: varobj.c
===================================================================
RCS file: /cvs/src/src/gdb/varobj.c,v
retrieving revision 1.139
diff -u -p -r1.139 varobj.c
--- varobj.c	2 Jul 2009 17:04:22 -0000	1.139
+++ varobj.c	7 Jul 2009 08:46:07 -0000
@@ -34,7 +34,6 @@
 #include "vec.h"
 #include "gdbthread.h"
 #include "inferior.h"
-#include "typeprint.h"
 
 #if HAVE_PYTHON
 #include "python/python.h"

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