This is the mail archive of the gdb@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]

Re: Side effect of set print address on python API


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


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