aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/psim.c
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1996-02-21 18:58:31 +0000
committerMichael Meissner <gnu@the-meissners.org>1996-02-21 18:58:31 +0000
commit94feae28e35823371cf0a54b3459427e62aceffa (patch)
tree28b326f7386f741af60d024b7602ee449fd6974b /sim/ppc/psim.c
parent476a283fbda898e86ae3ed5f3035e72e356b0929 (diff)
downloadgdb-94feae28e35823371cf0a54b3459427e62aceffa.zip
gdb-94feae28e35823371cf0a54b3459427e62aceffa.tar.gz
gdb-94feae28e35823371cf0a54b3459427e62aceffa.tar.bz2
Fix -m switch
Diffstat (limited to 'sim/ppc/psim.c')
-rw-r--r--sim/ppc/psim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/psim.c b/sim/ppc/psim.c
index cbdc35e..9b80a6a 100644
--- a/sim/ppc/psim.c
+++ b/sim/ppc/psim.c
@@ -219,7 +219,7 @@ psim_options(device *root,
break;
case 'm':
param = find_arg("Missing <model> option for -m\n", &argp, argv);
- device_tree_add_parsed(root, "/openprom/options/model %s", param);
+ device_add_string_property(root, "/openprom/options/model", param);
break;
case 'o':
param = find_arg("Missing <device> option for -o\n", &argp, argv);