public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
* [Bug breakpoints/10754] New: breakpoints referring to JITted code should be disabled between runs @ 2009-10-10 23:51 vargaz at gmail dot com 2009-10-10 23:51 ` [Bug breakpoints/10754] " vargaz at gmail dot com ` (2 more replies) 0 siblings, 3 replies; 5+ messages in thread From: vargaz at gmail dot com @ 2009-10-10 23:51 UTC (permalink / raw) To: gdb-prs When a breakpoint is placed on a location which is described by a symbol file registered using the new JIT interface in gdb 7.0, and the program is restarted, it will fail with a message like: Warning: Cannot insert breakpoint 1. Error accessing memory address 0x40010200: Input/output error. This is because the breakpoint is resolved to the address of a JITted function which doesn't exist at the start of the next run. The attached patch fixes this by disabling breakpoint locations referring to JITted code between runs. Its against the gdb 7.0 sources. I hope its of acceptable quality. -- Summary: breakpoints referring to JITted code should be disabled between runs Product: gdb Version: unknown Status: UNCONFIRMED Severity: normal Priority: P2 Component: breakpoints AssignedTo: unassigned at sourceware dot org ReportedBy: vargaz at gmail dot com CC: gdb-prs at sourceware dot org GCC build triplet: x86_64-pc-linux-gnu GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=10754 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug breakpoints/10754] breakpoints referring to JITted code should be disabled between runs 2009-10-10 23:51 [Bug breakpoints/10754] New: breakpoints referring to JITted code should be disabled between runs vargaz at gmail dot com @ 2009-10-10 23:51 ` vargaz at gmail dot com 2010-02-04 19:37 ` tromey at redhat dot com 2010-07-13 20:14 ` reid dot kleckner at gmail dot com 2 siblings, 0 replies; 5+ messages in thread From: vargaz at gmail dot com @ 2009-10-10 23:51 UTC (permalink / raw) To: gdb-prs ------- Additional Comments From vargaz at gmail dot com 2009-10-10 23:51 ------- Created an attachment (id=4264) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4264&action=view) patch against gdb 7.0 -- http://sourceware.org/bugzilla/show_bug.cgi?id=10754 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug breakpoints/10754] breakpoints referring to JITted code should be disabled between runs 2009-10-10 23:51 [Bug breakpoints/10754] New: breakpoints referring to JITted code should be disabled between runs vargaz at gmail dot com 2009-10-10 23:51 ` [Bug breakpoints/10754] " vargaz at gmail dot com @ 2010-02-04 19:37 ` tromey at redhat dot com 2010-07-13 20:14 ` reid dot kleckner at gmail dot com 2 siblings, 0 replies; 5+ messages in thread From: tromey at redhat dot com @ 2010-02-04 19:37 UTC (permalink / raw) To: gdb-prs ------- Additional Comments From tromey at redhat dot com 2010-02-04 19:37 ------- The best thing to do is submit the patch following the contribution instructions; see http://sourceware.org/gdb/contribute/ FWIW the idea seems reasonable to me. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=10754 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug breakpoints/10754] breakpoints referring to JITted code should be disabled between runs 2009-10-10 23:51 [Bug breakpoints/10754] New: breakpoints referring to JITted code should be disabled between runs vargaz at gmail dot com 2009-10-10 23:51 ` [Bug breakpoints/10754] " vargaz at gmail dot com 2010-02-04 19:37 ` tromey at redhat dot com @ 2010-07-13 20:14 ` reid dot kleckner at gmail dot com 2 siblings, 0 replies; 5+ messages in thread From: reid dot kleckner at gmail dot com @ 2010-07-13 20:14 UTC (permalink / raw) To: gdb-prs -- What |Removed |Added ---------------------------------------------------------------------------- CC| |reid dot kleckner at gmail | |dot com http://sourceware.org/bugzilla/show_bug.cgi?id=10754 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <bug-10754-4717@http.sourceware.org/bugzilla/>]
* [Bug breakpoints/10754] breakpoints referring to JITted code should be disabled between runs [not found] <bug-10754-4717@http.sourceware.org/bugzilla/> @ 2012-08-09 19:08 ` hjl.tools at gmail dot com 0 siblings, 0 replies; 5+ messages in thread From: hjl.tools at gmail dot com @ 2012-08-09 19:08 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=10754 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hjl.tools at gmail dot com -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-08-09 19:08 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-10-10 23:51 [Bug breakpoints/10754] New: breakpoints referring to JITted code should be disabled between runs vargaz at gmail dot com 2009-10-10 23:51 ` [Bug breakpoints/10754] " vargaz at gmail dot com 2010-02-04 19:37 ` tromey at redhat dot com 2010-07-13 20:14 ` reid dot kleckner at gmail dot com [not found] <bug-10754-4717@http.sourceware.org/bugzilla/> 2012-08-09 19:08 ` hjl.tools at gmail dot com
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).