From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Subject: [commit] remove opaque enum declaration in symtab.h
Date: Wed, 19 Dec 2007 13:30:00 -0000 [thread overview]
Message-ID: <20071219132546.GC6154@adacore.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 459 bytes --]
This fixes the only other instance I could find of the use of an opaque
enum declaration. The enum type is defined inside defs.h, so I simply
included this file, and removed the enum declaration.
2007-12-19 Joel Brobecker <brobecker@adacore.com>
* symtab.h: #include "defs.h".
(enum language): Remove opaque declaration.
* Makefile.in (symtab_h): Update dependencies.
Tested on x86-linux by rebuilding GDB.
Checked in.
--
Joel
[-- Attachment #2: symtab.h.diff --]
[-- Type: text/plain, Size: 1217 bytes --]
Index: symtab.h
===================================================================
RCS file: /cvs/src/src/gdb/symtab.h,v
retrieving revision 1.108
diff -u -p -r1.108 symtab.h
--- symtab.h 19 Oct 2007 12:26:34 -0000 1.108
+++ symtab.h 19 Dec 2007 13:16:54 -0000
@@ -22,6 +22,8 @@
#if !defined (SYMTAB_H)
#define SYMTAB_H 1
+#include "defs.h"
+
/* Opaque declarations. */
struct ui_file;
struct frame_info;
@@ -32,7 +34,6 @@ struct block;
struct blockvector;
struct axs_value;
struct agent_expr;
-enum language;
/* Some of the structures in this file are space critical.
The space-critical structures are:
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.966
diff -u -p -r1.966 Makefile.in
--- Makefile.in 17 Dec 2007 17:49:28 -0000 1.966
+++ Makefile.in 19 Dec 2007 13:17:07 -0000
@@ -885,7 +885,7 @@ srec_h = srec.h
stabsread_h = stabsread.h
stack_h = stack.h
symfile_h = symfile.h $(symtab_h)
-symtab_h = symtab.h
+symtab_h = symtab.h $(defs_h)
target_h = target.h $(bfd_h) $(symtab_h) $(dcache_h) $(memattr_h) $(vec_h)
target_descriptions_h = target-descriptions.h
terminal_h = terminal.h
next reply other threads:[~2007-12-19 13:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-19 13:30 Joel Brobecker [this message]
2007-12-19 14:08 ` Daniel Jacobowitz
2007-12-19 14:18 ` Joel Brobecker
2007-12-19 14:23 ` Daniel Jacobowitz
2007-12-19 14:51 ` Mark Kettenis
2007-12-20 5:52 ` Joel Brobecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071219132546.GC6154@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox