From: Jeff Law Date: Tue, 16 Dec 1997 10:22:14 +0000 (+0000) Subject: * remote-sim.c (gdbsim_open): Use "--architecture" instead of X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2f1d67ecf064cf926cca1f63acb0b9c58021ae12;p=binutils-gdb.git * remote-sim.c (gdbsim_open): Use "--architecture" instead of ambigious short form. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5596c8b4d4b..2efa5c0d898 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 * 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 22b65650a4d..a1a1e32bc2c 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 */