diff options
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r-- | gdb/remote-sim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index 22b6565..a1a1e32 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -506,7 +506,7 @@ gdbsim_open (args, from_tty) len = (7 + 1 /* gdbsim */ + strlen (" -E little") - + strlen (" --arch=xxxxxxxxxx") + + strlen (" --architecture=xxxxxxxxxx") + (args ? strlen (args) : 0) + 50) /* slack */; arg_buf = (char *) alloca (len); @@ -533,7 +533,7 @@ gdbsim_open (args, from_tty) explicitly specified */ if (!target_architecture_auto) { - strcat (arg_buf, " --arch="); + strcat (arg_buf, " --architecture="); strcat (arg_buf, target_architecture->printable_name); } /* finally, any explicit args */ |