public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
To: "'Hui Zhu'" <teawater@gmail.com>, <insight@sourceware.org>
Cc: "'Keith Seitz'" <keiths@redhat.com>
Subject: [PATCH] Fix gdbtk-cmds.c: get a build error
Date: Fri, 12 Mar 2010 17:17:00 -0000	[thread overview]
Message-ID: <000001cac1ef$084ed8d0$18ec8a70$@muller@ics-cnrs.unistra.fr> (raw)
In-Reply-To: <daef60381003102300q37fe4237icb942bb7aa3f16da@mail.gmail.com>



> -----Message d'origine-----
> De : insight-owner@sourceware.org [mailto:insight-owner@sourceware.org]
> De la part de Hui Zhu
> Envoyé : Thursday, March 11, 2010 8:01 AM
> À : insight@sourceware.org
> Cc : Keith Seitz
> Objet : gdbtk-cmds.c: get a build error
> 
> \" ../../src/gdb/gdbtk/generic/gdbtk-cmds.c
> cc1: warnings being treated as errors
> ../../src/gdb/gdbtk/generic/gdbtk-cmds.c: In function 'gdb_listfiles':
> ../../src/gdb/gdbtk/generic/gdbtk-cmds.c:1148: warning: implicit
> declaration of function 'ALL_PSYMTABS'
> ../../src/gdb/gdbtk/generic/gdbtk-cmds.c:1149: error: expected ';'
> before '{' token
> make[2]: *** [gdbtk-cmds.o] Error 1
This is because ALL_PSYMTAB
is now in psympriv.h header.

The patch below fixes it.
Checked in as obvious,


gdb/gdbtk ChangeLog entry:

2010-03-12  Pierre Muller  <muller@ics.u-strasbg.fr>

        * generic/gdbtk-cmds.c: Include psympriv.h.

Index: generic/gdbtk-cmds.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-cmds.c,v
retrieving revision 1.115
diff -u -p -r1.115 gdbtk-cmds.c
--- generic/gdbtk-cmds.c        25 Jan 2010 19:59:29 -0000      1.115
+++ generic/gdbtk-cmds.c        12 Mar 2010 14:14:03 -0000
@@ -27,6 +27,7 @@
 #include "inferior.h"
 #include "source.h"
 #include "symfile.h"
+#include "psympriv.h"
 #include "objfiles.h"
 #include "gdbcore.h"
 #include "demangle.h"

  reply	other threads:[~2010-03-12 14:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-12 14:19 Hui Zhu
2010-03-12 17:17 ` Pierre Muller [this message]
2010-03-12 18:28   ` [PATCH] Fix " Tom Tromey
2010-03-12 18:32     ` Tom Tromey
2010-03-15  2:20       ` Keith Seitz
2010-03-17  5:44         ` Hui Zhu

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='000001cac1ef$084ed8d0$18ec8a70$@muller@ics-cnrs.unistra.fr' \
    --to=pierre.muller@ics-cnrs.unistra.fr \
    --cc=insight@sourceware.org \
    --cc=keiths@redhat.com \
    --cc=teawater@gmail.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).