mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 18:44:20 +08:00
* coff-pe-read.c (read_pe_exported_syms): Don't return without
calling do_cleanup.
This commit is contained in:
parent
fafd911d9f
commit
feb1472522
@ -1,3 +1,8 @@
|
||||
2013-03-04 Corinna Vinschen <vinschen@redhat.com>
|
||||
|
||||
* coff-pe-read.c (read_pe_exported_syms): Don't return without
|
||||
calling do_cleanup.
|
||||
|
||||
2013-03-04 Luis Machado <lgustavo@codesourcery.com>
|
||||
|
||||
* tracepoint.c (build_traceframe_info): Add code for byte order.
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user