Skip to content

Commit

Permalink
Merging patches by fumon fixing GDB and GCC.
Browse files Browse the repository at this point in the history
Merge remote-tracking branch 'fumon/master'
  • Loading branch information
esden committed Aug 11, 2012
2 parents 2e27824 + d91c539 commit 2a23594
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions patches/patch-gcc-gengtype-fix.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
diff --git a/gcc/gengtype.c b/gcc/gengtype.c
index abf17f8..550d3bb 100644
--- a/gcc/gengtype.c
+++ b/gcc/gengtype.c
@@ -3594,13 +3594,13 @@ write_field_root (outf_p f, pair_p v, type_p type, const char *name,
int has_length, struct fileloc *line, const char *if_marked,
bool emit_pch, type_p field_type, const char *field_name)
{
+ struct pair newv;
/* If the field reference is relative to V, rather than to some
subcomponent of V, we can mark any subarrays with a single stride.
We're effectively treating the field as a global variable in its
own right. */
if (v && type == v->type)
{
- struct pair newv;

newv = *v;
newv.type = field_type;
1 change: 1 addition & 0 deletions summon-arm-toolchain
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ if [ ! -e ${STAMPS}/${GCC}-${NEWLIB}.build ]; then
log "Patching gcc to add multilib support"
cd ${GCC}
patch -p0 -i ../patches/patch-gcc-config-arm-t-arm-elf.diff
patch -p1 -i ../patches/patch-gcc-gengtype-fix.diff
patch -p0 -i ../patches/patch-libgcc-divide-exceptions.diff
cd ..
fi
Expand Down

0 comments on commit 2a23594

Please sign in to comment.