mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
sim/rx: mark some functions as static
Some functions that should be marked static. sim/rx/ChangeLog: * fpu.c (check_exceptions): Make static. * gdb-if.c (handle_step): Likewise. * mem.c (mem_put_byte): Likewise.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* fpu.c (check_exceptions): Make static.
|
||||
* gdb-if.c (handle_step): Likewise.
|
||||
* mem.c (mem_put_byte): Likewise.
|
||||
|
||||
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* cpu.h (trace_register_changes): Add void parameter type.
|
||||
|
@ -354,7 +354,7 @@ static const char *ex_names[] = {
|
||||
/* This checks for all exceptional cases (not all FP exceptions) and
|
||||
returns TRUE if it is providing the result in *c. If it returns
|
||||
FALSE, the caller should do the "normal" operation. */
|
||||
int
|
||||
static int
|
||||
check_exceptions (FP_Parts *a, FP_Parts *b, fp_t *c,
|
||||
FP_ExceptionCases ex_tab[5][5],
|
||||
FP_ExceptionCases *case_ret)
|
||||
|
@ -688,7 +688,7 @@ rx_signal_to_gdb_signal (int rx)
|
||||
|
||||
/* Take a step return code RC and set up the variables consulted by
|
||||
sim_stop_reason appropriately. */
|
||||
void
|
||||
static void
|
||||
handle_step (int rc)
|
||||
{
|
||||
if (execution_error_get_last_error () != SIM_ERR_NONE)
|
||||
|
@ -262,7 +262,7 @@ mtypec (int address)
|
||||
|
||||
#define E() if (trace) e()
|
||||
|
||||
void
|
||||
static void
|
||||
mem_put_byte (unsigned int address, unsigned char value)
|
||||
{
|
||||
unsigned char *m;
|
||||
|
Reference in New Issue
Block a user