Ticket #39916: arm-elf-gdb-patch1.patch
File arm-elf-gdb-patch1.patch, 1.1 KB (added by fhgwright (Fred Wright), 8 years ago) |
---|
-
Portfile
4 4 5 5 name arm-elf-gdb 6 6 version 7.1 7 revision 1 7 8 categories cross devel 8 9 maintainers koostech.com:billy openmaintainer 9 10 license GPL-3+ … … 22 23 23 24 set crossgdb-target arm-elf 24 25 26 patchfiles patch-armsupp.c.diff 27 25 28 # Build in a different directory, as advised in the README file. 26 29 pre-configure { 27 30 file mkdir "${workpath}/build" -
files/patch-armsupp.c.diff
1 --- sim/arm/armsupp.c.orig 2005-05-12 00:36:58.000000000 -0700 2 +++ sim/arm/armsupp.c 2015-11-22 20:07:49.000000000 -0800 3 @@ -636,7 +636,7 @@ 4 if (! CP_ACCESS_ALLOWED (state, CPNum)) 5 { 6 ARMul_UndefInstr (state, instr); 7 - return; 8 + return result; 9 } 10 11 cpab = (state->MRC[CPNum]) (state, ARMul_FIRST, instr, &result);