From 6fbd21a1cee8c0f55252cd0f0c06423aaddaf70f Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Wed, 24 Sep 2008 16:37:24 +0000 Subject: [PATCH] * remote-sim.c (gdbsim_create_inferior): Fix missing parenthesis. --- gdb/ChangeLog | 4 ++++ gdb/remote-sim.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fbc6f108a7b..f2428b659c3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-09-24 Vladimir Prus + + * remote-sim.c (gdbsim_create_inferior): Fix missing parenthesis. + 2008-09-24 Andreas Schwab * frame.c (get_frame_register_bytes): Take pseudo registers into diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index 673504621fc..b337769dcfc 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -480,7 +480,7 @@ gdbsim_create_inferior (char *exec_file, char *args, char **env, int from_tty) sim_create_inferior (gdbsim_desc, exec_bfd, argv, env); inferior_ptid = remote_sim_ptid; - add_inferior_silent (ptid_get_pid (inferior_ptid); + add_inferior_silent (ptid_get_pid (inferior_ptid)); add_thread_silent (inferior_ptid); target_mark_running (&gdbsim_ops); -- 2.30.2