Summary: | initial shared library events are bare when debugging a cygwin-built program | ||
---|---|---|---|
Product: | gdb | Reporter: | John Cortell <john.cortell> |
Component: | gdb | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gdb-prs |
Priority: | P2 | ||
Version: | 7.0 | ||
Target Milestone: | 7.1 | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Attachments: | gdb/mi log showing that gdb stops for library loads without providing a reason |
Description
John Cortell
2010-04-15 18:55:49 UTC
Created attachment 4730 [details]
gdb/mi log showing that gdb stops for library loads without providing a reason
BTW, the behavior was observed with both gdb 6.8 from both MinGW and Cygwin. It's not present in MinGW gdb 7.0, so perhaps this was a 6.8 bug? Since there is yet no official Cygwin 7.0 gdb, I can't confirm that. I think this was the fix: 2009-11-13 Pedro Alves <pedro@codesourcery.com> * infrun.c (handle_inferior_event): Set stop_print_frame on TARGET_WAITKIND_LOADED events, if stopping on solib-events. That's posterior to 7.0, but it's in 7.1. I don't know how your mingw gdb doesn't have this problem; maybe it's not really 7.0, but 7.0.50 (a cvs snapshot), or the patch was backported. BTW, building GDB on Cygwin should be straightforward. Pop up no irc if you'd want to try it, and need help. Indeed it is. Specifically, C:\MinGW\bin>gdb -version GNU gdb (GDB) 7.0.50.20100202 Thanks! You're welcome. Closing then. |