projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for decoding the DW_MACRO_define_strx and DW_MACRO_undef_strx operands...
[deliverable/binutils-gdb.git]
/
binutils
/
rdcoff.c
diff --git
a/binutils/rdcoff.c
b/binutils/rdcoff.c
index 67851366677b3f5ea4d5b7123e939af4bb165f77..4eb4d1579092b96a4c2721750204a8844c9e637f 100644
(file)
--- a/
binutils/rdcoff.c
+++ b/
binutils/rdcoff.c
@@
-1,5
+1,5
@@
/* stabs.c -- Parse COFF debugging information
/* stabs.c -- Parse COFF debugging information
- Copyright (C) 1996-20
14
Free Software Foundation, Inc.
+ Copyright (C) 1996-20
20
Free Software Foundation, Inc.
Written by Ian Lance Taylor <ian@cygnus.com>.
This file is part of GNU Binutils.
Written by Ian Lance Taylor <ian@cygnus.com>.
This file is part of GNU Binutils.
@@
-409,6
+409,7
@@
parse_coff_struct_type (bfd *abfd, struct coff_symbols *symbols,
{
non_fatal (_("bfd_coff_get_syment failed: %s"),
bfd_errmsg (bfd_get_error ()));
{
non_fatal (_("bfd_coff_get_syment failed: %s"),
bfd_errmsg (bfd_get_error ()));
+ free (fields);
return DEBUG_TYPE_NULL;
}
return DEBUG_TYPE_NULL;
}
@@
-425,6
+426,7
@@
parse_coff_struct_type (bfd *abfd, struct coff_symbols *symbols,
{
non_fatal (_("bfd_coff_get_auxent failed: %s"),
bfd_errmsg (bfd_get_error ()));
{
non_fatal (_("bfd_coff_get_auxent failed: %s"),
bfd_errmsg (bfd_get_error ()));
+ free (fields);
return DEBUG_TYPE_NULL;
}
psubaux = &auxent;
return DEBUG_TYPE_NULL;
}
psubaux = &auxent;
@@
-514,6
+516,8
@@
parse_coff_enum_type (bfd *abfd, struct coff_symbols *symbols,
{
non_fatal (_("bfd_coff_get_syment failed: %s"),
bfd_errmsg (bfd_get_error ()));
{
non_fatal (_("bfd_coff_get_syment failed: %s"),
bfd_errmsg (bfd_get_error ()));
+ free (names);
+ free (vals);
return DEBUG_TYPE_NULL;
}
return DEBUG_TYPE_NULL;
}
@@
-812,7
+816,7
@@
parse_coff (bfd *abfd, asymbol **syms, long symcount, void *dhandle)
else
base = auxent.x_sym.x_misc.x_lnsz.x_lnno - 1;
else
base = auxent.x_sym.x_misc.x_lnsz.x_lnno - 1;
- addr = bfd_
get_section_vma (abfd, bfd_get
_section (sym));
+ addr = bfd_
section_vma (bfd_asymbol
_section (sym));
++linenos;
++linenos;
This page took
0.024211 seconds
and
4
git commands to generate.