Side effect of set print address on python API

Michel METZGER michel.metzger@st.com
Fri Apr 9 17:31:00 GMT 2010


Tom Tromey wrote:
>>>>>> "Michel" == Michel METZGER <michel.metzger@st.com> writes:
> 
> Michel> (gdb) set print address off
> Michel> (gdb) python print len(str(gdb.selected_frame().read_var("argv")))
> Michel> 0
> 
> Michel> It's not a blocking issue for me but I guess this is not the expected
> Michel> behavior ;)
> 
> It does seem odd.  Could you file a bug report for this?
> 
> Tom
> 

Here it is:
http://sourceware.org/bugzilla/show_bug.cgi?id=11482

Michel.



More information about the Gdb mailing list