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 gdb/11328] std::terminate isn't caught if one manually calls an inferior function that calls dlopen


------- Additional Comments From pedro at codesourcery dot com  2010-02-26 01:44 -------
The problem is that dlopen causes a breakpoint reset, and breakpoint
resetting deletes (and uninstalls from the target) the std::terminate
breakpoint, because this breakpoint is of bp_breakpoint type, and has
no `b->addr_string' set (being a momentary breakpoint).

      if (b->addr_string == NULL)
	{
	  /* Anything without a string can't be re-set. */
	  delete_breakpoint (b);
	  return 0;
	}


-- 


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

------- 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]