Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Side effect of set print address on python API
@ 2010-04-08 21:16 Michel METZGER
  2010-04-09 17:03 ` Tom Tromey
  0 siblings, 1 reply; 3+ messages in thread
From: Michel METZGER @ 2010-04-08 21:16 UTC (permalink / raw)
  To: gdb

Hi all,

the Frame.read_var() method does not behave as (I) excpected when print 
address is set to off

(gdb) set print address on
(gdb) python print len(str(gdb.selected_frame().read_var("argv")))
10
(gdb) set print address off
(gdb) python print len(str(gdb.selected_frame().read_var("argv")))
0

It's not a blocking issue for me but I guess this is not the expected 
behavior ;)

Regards,

-- 
Michel Metzger


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-09 17:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-08 21:16 Side effect of set print address on python API Michel METZGER
2010-04-09 17:03 ` Tom Tromey
2010-04-09 17:31   ` Michel METZGER

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox