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 exp/22487] `51-var-list-children var3` is not returning within 10 seconds


https://sourceware.org/bugzilla/show_bug.cgi?id=22487

Simon Marchi <simon.marchi at ericsson dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simon.marchi at ericsson dot com

--- Comment #5 from Simon Marchi <simon.marchi at ericsson dot com> ---
Joshua, can you provide a list of commands (MI or CLI) to reproduce the issue
with the source file you attached?  Or at least, the MI traces that correspond
to that file?  I think that the ones you linked in message #2 don't match that
source file.

My intuition is that the execution is stopped before the std::list is
initialized, and Eclipse/GDB tries to display its value.  Because it's
uninitialized, its fields have "random" values, and it can lead from weird
results to infinite loop.  That's a known issue, I don't know if anybody has a
way to address this right now.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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