From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Blandy To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: addresses and pointers may be different sizes while printing Date: Thu, 05 Jul 2001 16:33:00 -0000 Message-id: References: <20010628223546.BDE7F5E9CB@zwingli.cygnus.com> <3B43F682.1040502@cygnus.com> <3B44CC74.8070603@cygnus.com> X-SW-Source: 2001-07/msg00132.html Andrew Cagney writes: > to be 110% sure, all of: > > (gdb) print main > (gdb) print &main > (gdb) print/x main > (gdb) print/x &main > > end up displaying the same hex (CORE_ADDR) value? Yes, except for the third one, which says (gdb) print/x main $3 = Value can't be converted to integer.