On 30/01/13 02:33, Debian Bug Tracking System wrote:
This is an automatic notification regarding your Bug report
which was filed against the gdb package:
#536024: gdb gets wrong address for glibc optind variable
It has been closed by Samuel Bronson .
As far as I can see this bug is *not* fixe
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
Daniel Jacobowitz wrote:
On Tue, Jul 07, 2009 at 11:38:24AM +0200, John Hughes wrote:
I don't get the static version with gcc 4.3 and gdb 6.8 on lenny (x86-64):
(gdb) info var optind
All variables matching regular expression "optind":
File /usr/include/getopt.h:
int optind;
Non-debugging s
On Tue, Jul 07, 2009 at 11:38:24AM +0200, John Hughes wrote:
> I don't get the static version with gcc 4.3 and gdb 6.8 on lenny (x86-64):
>
> (gdb) info var optind
> All variables matching regular expression "optind":
>
> File /usr/include/getopt.h:
> int optind;
>
> Non-debugging symbols:
> 0x0
Daniel Jacobowitz wrote:
On Mon, Jul 06, 2009 at 10:59:56PM +0200, John Hughes wrote:
debugging a program that uses the glibc getopt function shows the wrong
address and value for the "optind" variable.
(gdb) info var optind
All variables matching regular expression "optind":
File /us
On Mon, Jul 06, 2009 at 10:59:56PM +0200, John Hughes wrote:
> debugging a program that uses the glibc getopt function shows the wrong
> address and value for the "optind" variable.
(gdb) info var optind
All variables matching regular expression "optind":
File /usr/include/getopt.h:
static int op
Package: gdb
Version: 6.8-3
Severity: important
debugging a program that uses the glibc getopt function shows the wrong
address and value for the "optind" variable.
For example:
Script started on Mon 06 Jul 2009 22:46:37 CEST
j...@cedric:~$ cat optind-bug.c
#include
#include
#define LEN(arr)
7 matches
Mail list logo