From: Keith Seitz <keiths@redhat.com>
To: "gdb-patches@sourceware.org ml" <gdb-patches@sourceware.org>
Subject: [RFA] Include GNUlib config.h
Date: Wed, 22 Aug 2012 18:43:00 -0000 [thread overview]
Message-ID: <50352832.7090607@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 912 bytes --]
Hi,
I've been working on some bugs dealing with charset conversions when I
noticed the following regression from 7.4:
(gdb-7.4) p string
$1 = L"A¢B"
(gdb-7.5_or_HEAD) p string
$1 = L"AB"
A little bisecting yielded the following commit as the cause:
http://sourceware.org/ml/gdb-patches/2012-04/msg00646.html
If you grok that message, you'll notice that it mentions changes to
defs.h, gdbserver/server.h, and gdbserver/gdbreplay.c to include this
new file (*files* actually - one for gdb, one for gdbserver).
It appears that those files were never committed. [I *hate* it when that
happens. :-)]
Do we want to throw this on the 7.5 branch as well?
Keith
ChangeLog
2012-08-22 Keith Seitz <keiths@redhat.com>
* defs.h: Include build-gnulib/config.h
gdbserver/ChangeLog
2012-08-22 Keith Seitz <keiths@redhat.com>
* server.h: Include build-gnulib-gbserver/config.h.
* gdbreplay.c: Likewise.
[-- Attachment #2: include-gnulib-config_h.patch --]
[-- Type: text/x-patch, Size: 1407 bytes --]
Index: defs.h
===================================================================
RCS file: /cvs/src/src/gdb/defs.h,v
retrieving revision 1.322
diff -u -p -r1.322 defs.h
--- defs.h 22 Aug 2012 17:48:51 -0000 1.322
+++ defs.h 22 Aug 2012 18:35:14 -0000
@@ -27,6 +27,7 @@
#endif
#include "config.h" /* Generated by configure. */
+#include "build-gnulib/config.h"
#include <sys/types.h>
#include <stdio.h>
Index: gdbserver/server.h
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/server.h,v
retrieving revision 1.98
diff -u -p -r1.98 server.h
--- gdbserver/server.h 27 Jul 2012 08:09:12 -0000 1.98
+++ gdbserver/server.h 22 Aug 2012 18:35:14 -0000
@@ -21,6 +21,7 @@
#define SERVER_H
#include "config.h"
+#include "build-gnulib-gdbserver/config.h"
#ifdef __MINGW32CE__
#include "wincecompat.h"
Index: gdbserver/gdbreplay.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/gdbreplay.c,v
retrieving revision 1.34
diff -u -p -r1.34 gdbreplay.c
--- gdbserver/gdbreplay.c 4 Jan 2012 08:17:23 -0000 1.34
+++ gdbserver/gdbreplay.c 22 Aug 2012 18:35:14 -0000
@@ -19,6 +19,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "config.h"
+#include "build-gnulib-gdbserver/config.h"
+
#include <stdio.h>
#if HAVE_SYS_FILE_H
#include <sys/file.h>
next reply other threads:[~2012-08-22 18:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-22 18:43 Keith Seitz [this message]
2012-08-22 19:49 ` Tom Tromey
2012-08-22 20:05 ` Keith Seitz
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=50352832.7090607@redhat.com \
--to=keiths@redhat.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