This is the mail archive of the gdb-prs@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]

[Bug sim/9734] result of sim_create_inferior not checked in remote-sim.c


------- Additional Comments From pedro at codesourcery dot com  2009-01-12 14:33 -------
I see that the result of sim_create_inferior is still not checked on current
mainline.  I think that it would be best to throw an error() instead, otherwise
currently core gdb will probably assert, in thinking the inferior was created.

if (sim_create_inferior (gdbsim_desc, exec_bfd, argv, env) != SIM_RC_OK)
  error (_("foo failed to create, blah!"));


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1


http://sourceware.org/bugzilla/show_bug.cgi?id=9734

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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