diff options
author | Jeff Law <law@redhat.com> | 1997-12-16 10:22:14 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1997-12-16 10:22:14 +0000 |
commit | 2f1d67ecf064cf926cca1f63acb0b9c58021ae12 (patch) | |
tree | 3ab0a59a66b260fb7d1ed5567e666b43c125ec72 /gdb/remote-sim.c | |
parent | 796daf208ffb6d5c8f5c4407e1efbd7580bfa3ae (diff) | |
download | gdb-2f1d67ecf064cf926cca1f63acb0b9c58021ae12.zip gdb-2f1d67ecf064cf926cca1f63acb0b9c58021ae12.tar.gz gdb-2f1d67ecf064cf926cca1f63acb0b9c58021ae12.tar.bz2 |
* remote-sim.c (gdbsim_open): Use "--architecture" instead of
ambigious short form.
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 */ |