diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/remote-sim.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5596c8b..2efa5c0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 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 */ |