X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fax-gdb.c;h=ecbb2fe17a1a5094cf87aee506075c6bfc3604bb;hb=831bd6aa3b2d5e36c94b89756f58bb99f35026ca;hp=5872bec47777be0556735329104921e9fa4574a7;hpb=cbba3ecd36f0f861e4e810fbd5415c9759080cdc;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c index 5872bec477..ecbb2fe17a 100644 --- a/gdb/ax-gdb.c +++ b/gdb/ax-gdb.c @@ -46,7 +46,7 @@ #include "valprint.h" #include "c-lang.h" -#include "common/format.h" +#include "gdbsupport/format.h" /* To make sense of this file, you should read doc/agentexpr.texi. Then look at the types and enums in ax-gdb.h. For the code itself, @@ -1911,7 +1911,7 @@ gen_expr (struct expression *exp, union exp_element **pc, gen_expr (exp, pc, ax, &value3); gen_usual_unary (ax, &value3); ax_label (ax, end, ax->len); - /* This is arbitary - what if B and C are incompatible types? */ + /* This is arbitrary - what if B and C are incompatible types? */ value->type = value2.type; value->kind = value2.kind; break; @@ -2637,7 +2637,7 @@ agent_command_1 (const char *exp, int eval) event_location_up location = new_linespec_location (&exp, symbol_name_match_type::WILD); decode_line_full (location.get (), DECODE_LINE_FUNFIRSTLINE, NULL, - (struct symtab *) NULL, 0, &canonical, + NULL, 0, &canonical, NULL, NULL); exp = skip_spaces (exp); if (exp[0] == ',')