[Crosstoolchain-logs] [SCM] GNU GDB Debian packaging repository branch, master, updated. debian/7.6-3-28-g8f17d80

Héctor Orón Martínez zumbi at debian.org
Wed Jun 26 01:23:27 UTC 2013


The following commit has been merged in the master branch:
commit 8f17d806dcfa725141ab4cf865b250aff93fd0d5
Author: Héctor Orón Martínez <zumbi at debian.org>
Date:   Wed Jun 26 02:55:03 2013 +0200

    workaround print_insn_rl78 gcc false warning.
    
      * Patch taken from upstream binutils cvs:
        http://sourceware.org/ml/binutils-cvs/2013-04/msg00049.html
    
    Signed-off-by: Héctor Orón Martínez <zumbi at debian.org>

diff --git a/debian/patches/series b/debian/patches/series
index f444d1d..ee9dfe0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ man-page-order.patch
 linuxthreads_signal_handling.patch
 solve_PATH_MAX_issue.patch
 gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
+upstream-print_insn_rl78-workaround.patch
diff --git a/debian/patches/upstream-print_insn_rl78-workaround.patch b/debian/patches/upstream-print_insn_rl78-workaround.patch
new file mode 100644
index 0000000..78065b1
--- /dev/null
+++ b/debian/patches/upstream-print_insn_rl78-workaround.patch
@@ -0,0 +1,20 @@
+Taken from upstream binutils:
+	* rl78-dis.c (print_insn_rl78): Use alternative form as a GCC false
+	warning workaround.
+  < http://sourceware.org/cgi-bin/cvsweb.cgi/src/opcodes/rl78-dis.c.diff?cvsroot=src&r1=1.3&r2=1.4 >
+===================================================================
+RCS file: /cvs/src/src/opcodes/rl78-dis.c,v
+retrieving revision 1.3
+retrieving revision 1.4
+diff -u -r1.3 -r1.4
+--- src/opcodes/rl78-dis.c	2012/08/15 22:37:56	1.3
++++ src/opcodes/rl78-dis.c	2013/04/10 19:16:45	1.4
+@@ -217,7 +217,7 @@
+ 
+ 	    case '0':
+ 	    case '1':
+-	      oper = opcode.op + *s - '0';
++	      oper = *s == '0' ? &opcode.op[0] : &opcode.op[1];
+ 	    if (do_es)
+ 	      {
+ 		if (oper->use_es && indirect_type (oper->type))

-- 
GNU GDB Debian packaging repository



More information about the Crosstoolchain-logs mailing list