This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Remove #include "psymtab.h" from some files.
- From: Doug Evans <dje at google dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 20 Aug 2013 09:31:23 -0700
- Subject: [commit] Remove #include "psymtab.h" from some files.
Hi.
There's no need for these files to include psymtab.h.
Committed.
2013-08-20 Doug Evans <dje@google.com>
* blockframe.c: Remove #include "psymtab.h".
* cp-support.c: Ditto.
* source.c: Ditto.
* stack.c: Ditto.
Index: blockframe.c
===================================================================
RCS file: /cvs/src/src/gdb/blockframe.c,v
retrieving revision 1.141
diff -u -p -r1.141 blockframe.c
--- blockframe.c 8 Apr 2013 20:18:11 -0000 1.141
+++ blockframe.c 20 Aug 2013 00:00:25 -0000
@@ -35,7 +35,6 @@
#include "gdbcmd.h"
#include "block.h"
#include "inline-frame.h"
-#include "psymtab.h"
/* Return the innermost lexical block in execution in a specified
stack frame. The frame address is assumed valid.
Index: cp-support.c
===================================================================
RCS file: /cvs/src/src/gdb/cp-support.c,v
retrieving revision 1.62
diff -u -p -r1.62 cp-support.c
--- cp-support.c 15 Apr 2013 17:30:35 -0000 1.62
+++ cp-support.c 20 Aug 2013 00:00:25 -0000
@@ -38,8 +38,6 @@
#include "safe-ctype.h"
-#include "psymtab.h"
-
#define d_left(dc) (dc)->u.s_binary.left
#define d_right(dc) (dc)->u.s_binary.right
Index: source.c
===================================================================
RCS file: /cvs/src/src/gdb/source.c,v
retrieving revision 1.162
diff -u -p -r1.162 source.c
--- source.c 20 Jun 2013 20:12:58 -0000 1.162
+++ source.c 20 Aug 2013 00:00:25 -0000
@@ -45,9 +45,6 @@
#include "ui-out.h"
#include "readline/readline.h"
-#include "psymtab.h"
-
-
#define OPEN_MODE (O_RDONLY | O_BINARY)
#define FDOPEN_MODE FOPEN_RB
Index: stack.c
===================================================================
RCS file: /cvs/src/src/gdb/stack.c,v
retrieving revision 1.278
diff -u -p -r1.278 stack.c
--- stack.c 9 Aug 2013 00:35:40 -0000 1.278
+++ stack.c 20 Aug 2013 00:00:25 -0000
@@ -52,7 +52,6 @@
#include <ctype.h>
#include "gdb_string.h"
-#include "psymtab.h"
#include "symfile.h"
#include "python/python.h"