projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjust gdb.mi/mi-sym-info.exp filename patterns.
[deliverable/binutils-gdb.git]
/
sim
/
bfin
/
interp.c
diff --git
a/sim/bfin/interp.c
b/sim/bfin/interp.c
index ccd6a8a8c79aa44b63cdc4aa415cfdadd679fb12..d884d1025c5565c63c17af73651aeb7bf0716afe 100644
(file)
--- a/
sim/bfin/interp.c
+++ b/
sim/bfin/interp.c
@@
-1,6
+1,6
@@
/* Simulator for Analog Devices Blackfin processors.
/* Simulator for Analog Devices Blackfin processors.
- Copyright (C) 2005-20
16
Free Software Foundation, Inc.
+ Copyright (C) 2005-20
20
Free Software Foundation, Inc.
Contributed by Analog Devices, Inc.
This file is part of simulators.
Contributed by Analog Devices, Inc.
This file is part of simulators.
@@
-119,7
+119,7
@@
void
bfin_syscall (SIM_CPU *cpu)
{
SIM_DESC sd = CPU_STATE (cpu);
bfin_syscall (SIM_CPU *cpu)
{
SIM_DESC sd = CPU_STATE (cpu);
- c
onst c
har * const *argv = (void *)STATE_PROG_ARGV (sd);
+ char * const *argv = (void *)STATE_PROG_ARGV (sd);
host_callback *cb = STATE_CALLBACK (sd);
bu32 args[6];
CB_SYSCALL sc;
host_callback *cb = STATE_CALLBACK (sd);
bu32 args[6];
CB_SYSCALL sc;
@@
-716,7
+716,7
@@
bfin_initialize_cpu (SIM_DESC sd, SIM_CPU *cpu)
SIM_DESC
sim_open (SIM_OPEN_KIND kind, host_callback *callback,
SIM_DESC
sim_open (SIM_OPEN_KIND kind, host_callback *callback,
- struct bfd *abfd, char **argv)
+ struct bfd *abfd, char *
const
*argv)
{
char c;
int i;
{
char c;
int i;
@@
-807,7
+807,7
@@
sim_open (SIM_OPEN_KIND kind, host_callback *callback,
}
/* Some utils don't like having a NULL environ. */
}
/* Some utils don't like having a NULL environ. */
-static c
onst c
har * const simple_env[] = { "HOME=/", "PATH=/bin", NULL };
+static char * const simple_env[] = { "HOME=/", "PATH=/bin", NULL };
static bu32 fdpic_load_offset;
static bu32 fdpic_load_offset;
@@
-965,7
+965,7
@@
bfin_fdpic_load (SIM_DESC sd, SIM_CPU *cpu, struct bfd *abfd, bu32 *sp,
static void
bfin_user_init (SIM_DESC sd, SIM_CPU *cpu, struct bfd *abfd,
static void
bfin_user_init (SIM_DESC sd, SIM_CPU *cpu, struct bfd *abfd,
- c
onst char * const *argv, const
char * const *env)
+ c
har * const *argv,
char * const *env)
{
/* XXX: Missing host -> target endian ... */
/* Linux starts the user app with the stack:
{
/* XXX: Missing host -> target endian ... */
/* Linux starts the user app with the stack:
@@
-1147,7
+1147,7
@@
bfin_user_init (SIM_DESC sd, SIM_CPU *cpu, struct bfd *abfd,
}
static void
}
static void
-bfin_os_init (SIM_DESC sd, SIM_CPU *cpu, c
onst c
har * const *argv)
+bfin_os_init (SIM_DESC sd, SIM_CPU *cpu, char * const *argv)
{
/* Pass the command line via a string in R0 like Linux expects. */
int i;
{
/* Pass the command line via a string in R0 like Linux expects. */
int i;
@@
-1184,7
+1184,7
@@
bfin_virtual_init (SIM_DESC sd, SIM_CPU *cpu)
SIM_RC
sim_create_inferior (SIM_DESC sd, struct bfd *abfd,
SIM_RC
sim_create_inferior (SIM_DESC sd, struct bfd *abfd,
- char *
*argv, char *
*env)
+ char *
const *argv, char * const
*env)
{
SIM_CPU *cpu = STATE_CPU (sd, 0);
SIM_ADDR addr;
{
SIM_CPU *cpu = STATE_CPU (sd, 0);
SIM_ADDR addr;
@@
-1209,10
+1209,10
@@
sim_create_inferior (SIM_DESC sd, struct bfd *abfd,
switch (STATE_ENVIRONMENT (sd))
{
case USER_ENVIRONMENT:
switch (STATE_ENVIRONMENT (sd))
{
case USER_ENVIRONMENT:
- bfin_user_init (sd, cpu, abfd,
(void *)argv, (void *)
env);
+ bfin_user_init (sd, cpu, abfd,
argv,
env);
break;
case OPERATING_ENVIRONMENT:
break;
case OPERATING_ENVIRONMENT:
- bfin_os_init (sd, cpu,
(void *)
argv);
+ bfin_os_init (sd, cpu, argv);
break;
default:
bfin_virtual_init (sd, cpu);
break;
default:
bfin_virtual_init (sd, cpu);
This page took
0.02455 seconds
and
4
git commands to generate.