This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Side effect of set print address on python API
- From: Tom Tromey <tromey at redhat dot com>
- To: Michel METZGER <michel dot metzger at st dot com>
- Cc: gdb at sourceware dot org
- Date: Fri, 09 Apr 2010 10:39:10 -0600
- Subject: Re: Side effect of set print address on python API
- References: <4BBE47A3.10906@st.com>
- Reply-to: tromey at redhat dot com
>>>>> "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