pkgsrc/devel/gdb/patches/patch-opcodes_i386-dis_c
bsiegert 3e2ee61df1 Move wip/gdb (version 7.9) over the 5.x version that has been here for a
long time and that does not even support amd64. The old gdb version, for
those with a penchant for historic software, can be found as devel/gdb5.
2015-03-15 14:56:46 +00:00

13 lines
349 B
Text

$NetBSD: patch-opcodes_i386-dis_c,v 1.1 2015/03/15 14:56:46 bsiegert Exp $
--- opcodes/i386-dis.c.orig 2015-02-19 11:58:08.000000000 +0000
+++ opcodes/i386-dis.c
@@ -13586,7 +13586,7 @@ dofloat (int sizeflag)
static void
oappend_maybe_intel (const char *s)
{
- oappend (s + intel_syntax);
+ oappend (s[(short)intel_syntax]);
}
static void