This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ob] Fix missing parenthesis


remote-sim.c does not compile for me in CVS HEAD. Fixed thusly,
as obvious.

- Volodya

+2008-09-24  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * remote-sim.c (gdbsim_create_inferior): Fix missing parenthesis.
+
 2008-09-24  Andreas Schwab  <schwab@suse.de>

        * frame.c (get_frame_register_bytes): Take pseudo registers into
Index: gdb/remote-sim.c
===================================================================
RCS file: /cvs/src/src/gdb/remote-sim.c,v
retrieving revision 1.75
diff -u -p -r1.75 remote-sim.c
--- gdb/remote-sim.c    22 Sep 2008 15:16:51 -0000      1.75
+++ gdb/remote-sim.c    24 Sep 2008 16:35:50 -0000
@@ -480,7 +480,7 @@ gdbsim_create_inferior (char *exec_file,
   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);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]