From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Subject: [commit/obvious] fix findcmd.c build failure on Tru64
Date: Wed, 14 May 2008 17:56:00 -0000 [thread overview]
Message-ID: <20080514042628.GA3727@adacore.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 361 bytes --]
Hello,
I just checked in the attached patch. The issue was that the code is
using some types such as int32_t which are normally declared in stdint.h.
So I added a #include of gdb_stdint.h.
2008-05-13 Joel Brobecker <brobecker@adacore.com>
* findcmd.c: Add #include "gdb_stdint.h".
* Makefile.in (findcmd.o): Update dependencies.
--
Joel
[-- Attachment #2: osf.diff --]
[-- Type: text/plain, Size: 1163 bytes --]
Index: findcmd.c
===================================================================
RCS file: /cvs/src/src/gdb/findcmd.c,v
retrieving revision 1.2
diff -u -p -r1.2 findcmd.c
--- findcmd.c 9 May 2008 17:37:36 -0000 1.2
+++ findcmd.c 14 May 2008 04:20:46 -0000
@@ -23,6 +23,7 @@
#include "gdbcmd.h"
#include "value.h"
#include "target.h"
+#include "gdb_stdint.h"
/* Copied from bfd_put_bits. */
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.1018
diff -u -p -r1.1018 Makefile.in
--- Makefile.in 9 May 2008 17:02:01 -0000 1.1018
+++ Makefile.in 14 May 2008 04:20:47 -0000
@@ -2137,7 +2137,7 @@ f-exp.o: f-exp.c $(defs_h) $(gdb_string_
$(parser_defs_h) $(language_h) $(f_lang_h) $(bfd_h) $(symfile_h) \
$(objfiles_h) $(block_h)
findcmd.o: findcmd.c $(defs_h) $(gdb_string_h) $(gdbcmd_h) $(value_h) \
- $(target_h)
+ $(target_h) $(gdb_stdint_h)
findvar.o: findvar.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(frame_h) \
$(value_h) $(gdbcore_h) $(inferior_h) $(target_h) $(gdb_string_h) \
$(gdb_assert_h) $(floatformat_h) $(symfile_h) $(regcache_h) \
next reply other threads:[~2008-05-14 4:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-14 17:56 Joel Brobecker [this message]
2008-05-14 18:01 ` Joel Brobecker
2008-05-14 18:10 ` Daniel Jacobowitz
2008-05-14 18:13 ` 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=20080514042628.GA3727@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