* remote-sim.c (gdbsim_open): Use "--architecture" instead of

ambigious short form.
This commit is contained in:
Jeff Law 1997-12-16 10:22:14 +00:00
parent 796daf208f
commit 2f1d67ecf0
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Tue Dec 16 11:24:30 1997 Jeffrey A Law (law@cygnus.com)
* remote-sim.c (gdbsim_open): Use "--architecture" instead of
ambigious short form.
Tue Dec 16 10:29:16 1997 David Taylor <taylor@texas.cygnus.com>
* d30v-tdep.c (d30v_frame_chain): don't or in DMEM_START to

View File

@ -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 */