opnsense-ports/devel/avr-gdb/files/patch-bug13519
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

13 lines
373 B
Text

--- gdb/cli/cli-cmds.c~ 2010-07-27 22:14:24.000000000 +0200
+++ gdb/cli/cli-cmds.c 2011-12-19 14:42:14.000000000 +0100
@@ -1195,6 +1195,10 @@
high += low;
}
+// XXX hack to work around bug # 13519
+// http://sourceware.org/bugzilla/show_bug.cgi?id=13519
+ low &= 0x800000 - 1;
+ high &= 0x800000 - 1;
print_disassembly (gdbarch, name, low, high, flags);
}