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 python/16236] add $_memoize function


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

--- Comment #1 from Tom Tromey <tromey at redhat dot com> ---
Phil pointed out that this isn't clear.

If you use a string or a structure in an expression, gdb may allocate
memory in the inferior for it.  IIUC, it will do this each time the
expression is evaluated, and the memory is never freed.

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