public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-muller-windows-multi:  * Replace _GDB_T macro by _G
@ 2011-03-18 15:55 muller
  0 siblings, 0 replies; only message in thread
From: muller @ 2011-03-18 15:55 UTC (permalink / raw)
  To: archer-commits

The branch, archer-muller-windows-multi has been updated
       via  a163f97f62bb3e15f0454377978a8069779e91e0 (commit)
       via  53739fa1b11efa6115b2879a2388b714bc683384 (commit)
      from  025e512f39fce1cb4323db83900d056ca646e38b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit a163f97f62bb3e15f0454377978a8069779e91e0
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Fri Mar 18 16:55:33 2011 +0100

     * Replace _GDB_T macro by _G

commit 53739fa1b11efa6115b2879a2388b714bc683384
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Fri Mar 18 16:55:03 2011 +0100

     * Fix windows-hdep.o rules

-----------------------------------------------------------------------

Summary of changes:
 gdb/Makefile.in           |   10 +++++-----
 gdb/common/windows-hdep.h |    6 +++---
 gdb/windows-nat.c         |    2 +-
 3 files changed, 9 insertions(+), 9 deletions(-)

First 500 lines of diff:
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 652e393..fa8f72d 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1120,6 +1120,7 @@ init.c: $(INIT_FILES)
 	    -e '/[a-z0-9A-Z_]*-exp.tab.[co]$$/d' \
 	    -e 's/\.[co]$$/.c/' \
 	    -e 's,signals\.c,common/signals\.c,' \
+	    -e 's,windows-hdep\.c,common/windows-hdep\.c,' \
 	    -e 's|^\([^  /][^     ]*\)|$(srcdir)/\1|g' | \
 	while read f; do \
 	    sed -n -e 's/^_initialize_\([a-z_0-9A-Z]*\).*/\1/p' $$f 2>/dev/null; \
@@ -1911,6 +1912,10 @@ signals.o: $(srcdir)/common/signals.c
 	$(COMPILE) $(srcdir)/common/signals.c
 	$(POSTCOMPILE)
 
+windows-hdep.o: $(srcdir)/common/windows-hdep.c
+	$(COMPILE) $(srcdir)/common/windows-hdep.c
+
+
 #
 # gdb/tui/ dependencies
 #
@@ -1990,11 +1995,6 @@ tui-winsource.o: $(srcdir)/tui/tui-winsource.c
 	$(POSTCOMPILE)
 
 
-# gdb/common/ dependencies
-
-windows-hdep.o: $(srcdir)/common/windows-hdep.c
-	$(COMPILE) $(srcdir)/common/windows-hdep.c
-
 #
 # gdb/python/ dependencies
 #
diff --git a/gdb/common/windows-hdep.h b/gdb/common/windows-hdep.h
index 4f9ba34..7e7d6c4 100644
--- a/gdb/common/windows-hdep.h
+++ b/gdb/common/windows-hdep.h
@@ -61,9 +61,9 @@
 # define NEED_SLEEP_SUBSTITUTE
 #endif
 
-#undef _GDB_T
+#undef _G
 #ifdef USE_WIDE_WINAPI
-# define _GDB_T(text) L##text
+# define _G(text) L##text
 # define WINDOWS_POSIX_TO_NATIVE WINDOWS_POSIX_TO_NATIVE_W
 # define WINDOWS_NATIVE_TO_POSIX WINDOWS_NATIVE_W_TO_POSIX
   typedef wchar_t windows_buf_t;
@@ -79,7 +79,7 @@
 #  define swprintf _snwprintf
 #endif
 #else /* not USE_WIDE_WINAPI */
-# define _GDB_T(text) text
+# define _G(text) text
 # define WINDOWS_POSIX_TO_NATIVE WINDOWS_POSIX_TO_NATIVE_A
 # define WINDOWS_NATIVE_TO_POSIX WINDOWS_NATIVE_A_TO_POSIX
   typedef char windows_buf_t;
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 0cb08fd..c67c55b 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -879,7 +879,7 @@ windows_make_so (const char *name, LPVOID load_addr)
       if (strcasecmp (name, "ntdll.dll") == 0)
 	{
 	  GetSystemDirectory (buf, sizeof (buf) / sizeof (windows_buf_t));
-	  gdb_windows_strcat (buf, _GDB_T("\\ntdll.dll"));
+	  gdb_windows_strcat (buf, _G("\\ntdll.dll"));
 	}
     }
 #endif


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-18 15:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-18 15:55 [SCM] archer-muller-windows-multi: * Replace _GDB_T macro by _G muller

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).