projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
windows_clear_solib memory leak
[deliverable/binutils-gdb.git]
/
gdb
/
dwarf-index-write.c
diff --git
a/gdb/dwarf-index-write.c
b/gdb/dwarf-index-write.c
index 7e89de433090318db84c68fdf4c7af5bddff51bb..f2abe70e155414542599f835b0859a03461cbf8c 100644
(file)
--- a/
gdb/dwarf-index-write.c
+++ b/
gdb/dwarf-index-write.c
@@
-1,6
+1,6
@@
/* DWARF index writing support for GDB.
/* DWARF index writing support for GDB.
- Copyright (C) 1994-20
19
Free Software Foundation, Inc.
+ Copyright (C) 1994-20
20
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-19,6
+19,8
@@
#include "defs.h"
#include "defs.h"
+#include "dwarf-index-write.h"
+
#include "addrmap.h"
#include "cli/cli-decode.h"
#include "gdbsupport/byte-vector.h"
#include "addrmap.h"
#include "cli/cli-decode.h"
#include "gdbsupport/byte-vector.h"
@@
-541,7
+543,7
@@
write_psymbols (struct mapped_symtab *symtab,
{
struct partial_symbol *psym = *psymp;
{
struct partial_symbol *psym = *psymp;
- if (psym->ginfo.language == language_ada)
+ if (psym->ginfo.language
()
== language_ada)
error (_("Ada is not currently supported by the index; "
"use the DWARF 5 index instead"));
error (_("Ada is not currently supported by the index; "
"use the DWARF 5 index instead"));
@@
-688,7
+690,7
@@
public:
return;
const char *name = psym->ginfo.search_name ();
return;
const char *name = psym->ginfo.search_name ();
- if (psym->ginfo.language == language_ada)
+ if (psym->ginfo.language
()
== language_ada)
{
/* We want to ensure that the Ada main function's name appears
verbatim in the index. However, this name will be of the
{
/* We want to ensure that the Ada main function's name appears
verbatim in the index. However, this name will be of the
This page took
0.024456 seconds
and
4
git commands to generate.