/* Agent expression code for remote server.
- Copyright (C) 2009-2020 Free Software Foundation, Inc.
+ Copyright (C) 2009-2021 Free Software Foundation, Inc.
This file is part of GDB.
gdb_agent_op_last
};
-static const char *gdb_agent_op_names [gdb_agent_op_last] =
+static const char * const gdb_agent_op_names [gdb_agent_op_last] =
{
"?undef?"
#define DEFOP(NAME, SIZE, DATA_SIZE, CONSUMED, PRODUCED, VALUE) , # NAME
int emit_error;
-struct bytecode_address
+static struct bytecode_address
{
int pc;
CORE_ADDR address;
read_inferior_memory (tem, str, j);
str[j] = 0;
- printf (current_substring, (char *) str);
+ printf (current_substring, (char *) str);
}
break;
{
long long val = args[i];
- printf (current_substring, val);
+ printf (current_substring, val);
break;
}
#else