aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2015-12-10 12:00:29 -0800
committerDoug Evans <dje@google.com>2015-12-10 12:00:29 -0800
commitec5063d304949040e577d0378bc4d8c5ca65790b (patch)
tree3bb97cec9185a6c03b90cb2febee0eaa3cf67f96 /bfd/bfd.c
parent2504c7b071262e2ee2a2e331f4550eabc7e25520 (diff)
downloadfsf-binutils-gdb-ec5063d304949040e577d0378bc4d8c5ca65790b.zip
fsf-binutils-gdb-ec5063d304949040e577d0378bc4d8c5ca65790b.tar.gz
fsf-binutils-gdb-ec5063d304949040e577d0378bc4d8c5ca65790b.tar.bz2
patch ../102426802.patch
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r--bfd/bfd.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c
index 8d85de5..dde96f2 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -342,6 +342,15 @@ CODE_FRAGMENT
. of objalloc.h. *}
. void *memory;
.
+. {* GOOGLE LOCAL 14108
+. For large apps, gdb can waste >= 450MB of space.
+. http://sourceware.org/bugzilla/show_bug.cgi?id=14108
+. Record the space used here, so it can be individually freed.
+. This is just a quick hack until The Right Thing is implemented. *}
+. int use_14108;
+. void *memory_14108;
+. {* END GOOGLE LOCAL *}
+.
. {* For input BFDs, the build ID, if the object has one. *}
. const struct bfd_build_id *build_id;
.};