projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exceptions.c:print_flush: Remove obsolete check
[deliverable/binutils-gdb.git]
/
gdb
/
parse.c
diff --git
a/gdb/parse.c
b/gdb/parse.c
index 52f29757231c92e416821b3d550da46329a9aabb..65e3c6008cdf626aebc040cc4015cf3b1629e251 100644
(file)
--- a/
gdb/parse.c
+++ b/
gdb/parse.c
@@
-1,6
+1,6
@@
/* Parse expressions for GDB.
/* Parse expressions for GDB.
- Copyright (C) 1986-20
19
Free Software Foundation, Inc.
+ Copyright (C) 1986-20
20
Free Software Foundation, Inc.
Modified from expread.y by the Department of Computer Science at the
State University of New York at Buffalo, 1991.
Modified from expread.y by the Department of Computer Science at the
State University of New York at Buffalo, 1991.
@@
-50,7
+50,7
@@
#include "objfiles.h"
#include "user-regs.h"
#include <algorithm>
#include "objfiles.h"
#include "user-regs.h"
#include <algorithm>
-#include "
common
/gdb_optional.h"
+#include "
gdbsupport
/gdb_optional.h"
/* Standard set of definitions for printing, dumping, prefixifying,
* and evaluating expressions. */
/* Standard set of definitions for printing, dumping, prefixifying,
* and evaluating expressions. */
@@
-74,8
+74,8
@@
show_expressiondebug (struct ui_file *file, int from_tty,
}
}
-/*
Non-zero
if an expression parser should set yydebug. */
-
int
parser_debug;
+/*
True
if an expression parser should set yydebug. */
+
bool
parser_debug;
static void
show_parserdebug (struct ui_file *file, int from_tty,
static void
show_parserdebug (struct ui_file *file, int from_tty,
@@
-181,7
+181,7
@@
write_exp_elt_sym (struct expr_builder *ps, struct symbol *expelt)
write_exp_elt (ps, &tmp);
}
write_exp_elt (ps, &tmp);
}
-void
+
static
void
write_exp_elt_msym (struct expr_builder *ps, minimal_symbol *expelt)
{
union exp_element tmp;
write_exp_elt_msym (struct expr_builder *ps, minimal_symbol *expelt)
{
union exp_element tmp;
@@
-857,7
+857,6
@@
operator_length_standard (const struct expression *expr, int endpos,
case UNOP_CHR:
case UNOP_FLOAT:
case UNOP_HIGH:
case UNOP_CHR:
case UNOP_FLOAT:
case UNOP_HIGH:
- case UNOP_KIND:
case UNOP_ODD:
case UNOP_ORD:
case UNOP_TRUNC:
case UNOP_ODD:
case UNOP_ORD:
case UNOP_TRUNC:
@@
-1099,7
+1098,7
@@
parse_exp_in_context (const char **stringptr, CORE_ADDR pc,
struct symbol *func = block_linkage_function (block);
if (func != NULL)
struct symbol *func = block_linkage_function (block);
if (func != NULL)
- lang = language_def (
SYMBOL_LANGUAGE (func
));
+ lang = language_def (
func->language (
));
if (lang == NULL || lang->la_language == language_unknown)
lang = current_language;
}
if (lang == NULL || lang->la_language == language_unknown)
lang = current_language;
}
This page took
0.024178 seconds
and
4
git commands to generate.