projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
coff: free malloc'd memory on successful target match too
[deliverable/binutils-gdb.git]
/
gdb
/
dbxread.c
diff --git
a/gdb/dbxread.c
b/gdb/dbxread.c
index 462f7f0ddaea24bd4f8d77498b6269cf5aa43b04..0a02acc8ce99f85f0e7c802e334da461d39d165a 100644
(file)
--- a/
gdb/dbxread.c
+++ b/
gdb/dbxread.c
@@
-1,5
+1,5
@@
/* Read dbx symbol tables and convert to internal format, for GDB.
/* Read dbx symbol tables and convert to internal format, for GDB.
- Copyright (C) 1986-20
19
Free Software Foundation, Inc.
+ Copyright (C) 1986-20
20
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-2341,7
+2341,7
@@
cp_set_block_scope (const struct symbol *symbol,
struct block *block,
struct obstack *obstack)
{
struct block *block,
struct obstack *obstack)
{
- if (
SYMBOL_DEMANGLED_NAME (symbol
) != NULL)
+ if (
symbol->demangled_name (
) != NULL)
{
/* Try to figure out the appropriate namespace from the
demangled name. */
{
/* Try to figure out the appropriate namespace from the
demangled name. */
@@
-2351,7
+2351,7
@@
cp_set_block_scope (const struct symbol *symbol,
name of the class as well. This should be harmless, but
is a little unfortunate. */
name of the class as well. This should be harmless, but
is a little unfortunate. */
- const char *name =
SYMBOL_DEMANGLED_NAME (symbol
);
+ const char *name =
symbol->demangled_name (
);
unsigned int prefix_len = cp_entire_prefix_len (name);
block_set_scope (block, obstack_strndup (obstack, name, prefix_len),
unsigned int prefix_len = cp_entire_prefix_len (name);
block_set_scope (block, obstack_strndup (obstack, name, prefix_len),
@@
-2456,7
+2456,7
@@
process_one_symbol (int type, int desc, CORE_ADDR valu, const char *name,
cstk.start_addr, cstk.start_addr + valu);
/* For C++, set the block's scope. */
cstk.start_addr, cstk.start_addr + valu);
/* For C++, set the block's scope. */
- if (
SYMBOL_LANGUAGE (cstk.name
) == language_cplus)
+ if (
cstk.name->language (
) == language_cplus)
cp_set_block_scope (cstk.name, block, &objfile->objfile_obstack);
/* May be switching to an assembler file which may not be using
cp_set_block_scope (cstk.name, block, &objfile->objfile_obstack);
/* May be switching to an assembler file which may not be using
@@
-2823,7
+2823,7
@@
process_one_symbol (int type, int desc, CORE_ADDR valu, const char *name,
cstk.start_addr, valu);
/* For C++, set the block's scope. */
cstk.start_addr, valu);
/* For C++, set the block's scope. */
- if (
SYMBOL_LANGUAGE (cstk.name
) == language_cplus)
+ if (
cstk.name->language (
) == language_cplus)
cp_set_block_scope (cstk.name, block,
&objfile->objfile_obstack);
}
cp_set_block_scope (cstk.name, block,
&objfile->objfile_obstack);
}
This page took
0.039589 seconds
and
4
git commands to generate.