On Tue, Jul 07, 2009 at 04:17:21PM +0200, John Hughes wrote: > I'm a bit confused - the program itself prints &optind as 0x600a00, > which is what the "non-debugging symbol" optind@@GLIBC_2.2.5 is > shown as. > > Which copy is the good one?
What happens is that the variable is defined in libc.so.6. But at program startup, any initial value is copied from that version to the one in the executable. Then all future references go to the executable. > For reference this is gdb bugzilla bug 8588, opened 2003-12-12 15:08, > previously Gnats 1483 > > http://sourceware.org/bugzilla/show_bug.cgi?id=8588 Thanks! Let me see if I can make bts-link work... -- Daniel Jacobowitz CodeSourcery -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org