From 2f1d67ecf064cf926cca1f63acb0b9c58021ae12 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 16 Dec 1997 10:22:14 +0000 Subject: [PATCH] * remote-sim.c (gdbsim_open): Use "--architecture" instead of ambigious short form. --- gdb/ChangeLog | 5 +++++ 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 * 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 */ -- 2.7.4