public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
* [Bug mi/11079] New: -var-set-update-range not respected when there is a pretty printer @ 2009-12-10 17:31 fuscated at gmail dot com 2009-12-10 17:32 ` [Bug mi/11079] " fuscated at gmail dot com ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: fuscated at gmail dot com @ 2009-12-10 17:31 UTC (permalink / raw) To: gdb-prs If I have a vector<int> object and set a breakpoint on the line: std::vector<int> a; Then the state for the vector is undefined and if I issue -var-list-children for the vector's variable, gdb enters almost infinite loop. In order to fix this problem I tried to issue -var-set-update-range var1 0 10, but that command is ignored. -- Summary: -var-set-update-range not respected when there is a pretty printer Product: gdb Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: mi AssignedTo: unassigned at sourceware dot org ReportedBy: fuscated at gmail dot com CC: gdb-prs at sourceware dot org http://sourceware.org/bugzilla/show_bug.cgi?id=11079 ------- 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] 4+ messages in thread
* [Bug mi/11079] -var-set-update-range not respected when there is a pretty printer 2009-12-10 17:31 [Bug mi/11079] New: -var-set-update-range not respected when there is a pretty printer fuscated at gmail dot com @ 2009-12-10 17:32 ` fuscated at gmail dot com 2009-12-10 17:34 ` fuscated at gmail dot com 2010-03-03 20:02 ` tromey at redhat dot com 2 siblings, 0 replies; 4+ messages in thread From: fuscated at gmail dot com @ 2009-12-10 17:32 UTC (permalink / raw) To: gdb-prs ------- Additional Comments From fuscated at gmail dot com 2009-12-10 17:32 ------- Created an attachment (id=4456) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4456&action=view) the code of the program -- http://sourceware.org/bugzilla/show_bug.cgi?id=11079 ------- 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] 4+ messages in thread
* [Bug mi/11079] -var-set-update-range not respected when there is a pretty printer 2009-12-10 17:31 [Bug mi/11079] New: -var-set-update-range not respected when there is a pretty printer fuscated at gmail dot com 2009-12-10 17:32 ` [Bug mi/11079] " fuscated at gmail dot com @ 2009-12-10 17:34 ` fuscated at gmail dot com 2010-03-03 20:02 ` tromey at redhat dot com 2 siblings, 0 replies; 4+ messages in thread From: fuscated at gmail dot com @ 2009-12-10 17:34 UTC (permalink / raw) To: gdb-prs ------- Additional Comments From fuscated at gmail dot com 2009-12-10 17:34 ------- Created an attachment (id=4457) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4457&action=view) script for gdb usage: "gdb exe -i=mi < gdb.script" -- http://sourceware.org/bugzilla/show_bug.cgi?id=11079 ------- 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] 4+ messages in thread
* [Bug mi/11079] -var-set-update-range not respected when there is a pretty printer 2009-12-10 17:31 [Bug mi/11079] New: -var-set-update-range not respected when there is a pretty printer fuscated at gmail dot com 2009-12-10 17:32 ` [Bug mi/11079] " fuscated at gmail dot com 2009-12-10 17:34 ` fuscated at gmail dot com @ 2010-03-03 20:02 ` tromey at redhat dot com 2 siblings, 0 replies; 4+ messages in thread From: tromey at redhat dot com @ 2010-03-03 20:02 UTC (permalink / raw) To: gdb-prs ------- Additional Comments From tromey at redhat dot com 2010-03-03 20:02 ------- This is actually by design. -var-set-update-range only affects calls to -var-update. For -var-list-children, you must pass the range explicitly. If I change your script to use "-var-list-children 2 var1 0 10" then it works fine -- What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at redhat dot com Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://sourceware.org/bugzilla/show_bug.cgi?id=11079 ------- 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] 4+ messages in thread
end of thread, other threads:[~2010-03-03 20:02 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-12-10 17:31 [Bug mi/11079] New: -var-set-update-range not respected when there is a pretty printer fuscated at gmail dot com 2009-12-10 17:32 ` [Bug mi/11079] " fuscated at gmail dot com 2009-12-10 17:34 ` fuscated at gmail dot com 2010-03-03 20:02 ` tromey at redhat 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).