diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-03-04 15:09:46 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-03-04 15:09:46 +0000 |
commit | feb1472522ea3ff9c0456462f36ce2e29be29f28 (patch) | |
tree | 69512f4173edaed84a22a5379d3909aa082ed6fd /gdb/coff-pe-read.c | |
parent | fafd911d9f34471ac85b29643bd47448b9ea238f (diff) | |
download | gdb-feb1472522ea3ff9c0456462f36ce2e29be29f28.zip gdb-feb1472522ea3ff9c0456462f36ce2e29be29f28.tar.gz gdb-feb1472522ea3ff9c0456462f36ce2e29be29f28.tar.bz2 |
* coff-pe-read.c (read_pe_exported_syms): Don't return without
calling do_cleanup.
Diffstat (limited to 'gdb/coff-pe-read.c')
-rw-r--r-- | gdb/coff-pe-read.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/coff-pe-read.c b/gdb/coff-pe-read.c index f953738..c930bac 100644 --- a/gdb/coff-pe-read.c +++ b/gdb/coff-pe-read.c @@ -379,6 +379,7 @@ read_pe_exported_syms (struct objfile *objfile) /* This is not a recognized PE format file. Abort now, because the code is untested on anything else. *FIXME* test on further architectures and loosen or remove this test. */ + do_cleanups (back_to); return; } @@ -392,6 +393,7 @@ read_pe_exported_syms (struct objfile *objfile) if (num_entries < 1) /* No exports. */ { + do_cleanups (back_to); return; } if (is_pe64) @@ -448,6 +450,7 @@ read_pe_exported_syms (struct objfile *objfile) if (export_size == 0) { /* Empty export table. */ + do_cleanups (back_to); return; } |