~ubuntu-branches/debian/sid/gdb/sid

« back to all changes in this revision

Viewing changes to debian/patches/upstream-print_insn_rl78-workaround.patch

  • Committer: Package Import Robot
  • Author(s): Samuel Bronson
  • Date: 2013-06-16 20:05:35 UTC
  • Revision ID: package-import@ubuntu.com-20130616200535-i9fjs95yomnzl6do
Tags: 7.6-4
* d/rules: Exclude .git from gdb-source package.
* d/control{,.in}: Bump ia64 B-D to libunwind8-dev for transition.
* d/NEWS: Fix version number so lintian will shut up about it.
* d/patches:
  - Remove no-longer-used patches:
    + 0000-tui-skip-registers-pr-tui-13073.patch: Old Backport
    + 0001-netbsd-init-match-property-field.patch: Old Backport
    + 0002-add-cpu-to-source-release.patch: Old Backport
    + m68k-thread-debugging.patch: Old Backport or Merged Upstream
    + gdbinit-ownership.patch: handled differently upstream
    + member-field-symtab.patch: the patched code disappeared
  - Drop patches for problems that have gone away:
    + dwarf2-cfi-warning.patch: I'm not seeing any spam without this.
    + linux-clear-thread-list.patch: #303736 is gone even without this.
  - Add/reformat metadata:
    + gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
    + solve_PATH_MAX_issue.patch
    + linuxthreads_signal_handling.patch
* d/control{,.in}: Reformat relationship fields.
* d/rules:
  - Allow gdb-minimal to use expat.
  - Get hardening flags working.
  - Explicitly configure gdb64 --with-expat.
  - s/--with-libunwind/--with-libunwind-ia64/; the former is depracated.
  - Make gdb --version report exact package version much as
    gcc --version does.
* Build gdbserver on arm64.
* Avoid identical short or long descriptions between packages.
* Remove stray "The" from short descriptions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Taken from upstream binutils:
 
2
        * rl78-dis.c (print_insn_rl78): Use alternative form as a GCC false
 
3
        warning workaround.
 
4
  < http://sourceware.org/cgi-bin/cvsweb.cgi/src/opcodes/rl78-dis.c.diff?cvsroot=src&r1=1.3&r2=1.4 >
 
5
===================================================================
 
6
RCS file: /cvs/src/src/opcodes/rl78-dis.c,v
 
7
retrieving revision 1.3
 
8
retrieving revision 1.4
 
9
diff -u -r1.3 -r1.4
 
10
--- src/opcodes/rl78-dis.c      2012/08/15 22:37:56     1.3
 
11
+++ src/opcodes/rl78-dis.c      2013/04/10 19:16:45     1.4
 
12
@@ -217,7 +217,7 @@
 
13
 
 
14
            case '0':
 
15
            case '1':
 
16
-             oper = opcode.op + *s - '0';
 
17
+             oper = *s == '0' ? &opcode.op[0] : &opcode.op[1];
 
18
            if (do_es)
 
19
              {
 
20
                if (oper->use_es && indirect_type (oper->type))