Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gdb broken in current?



Gdb seems to be completely broken in current.  Is that a known problem?
E.g.

$ gdb -q ./hello
Reading symbols from ./hello...
(gdb) b main
Breakpoint 1 at 0x10748: file hello.c, line 6.
(gdb) r
Starting program: /root/hello 

Breakpoint 1, main (
    argc=<error reading variable: Cannot access memory at address 0xf50b1044>, 
    argv=<error reading variable: Cannot access memory at address 0xf50b1048>)
    at hello.c:6
6               printf("%d\n", argc);
(gdb) l
1       #include <stdio.h>
2       
3       int
4       main(int argc, char **argv)
5       {
6               printf("%d\n", argc);
7               return 0;
8       }
(gdb) i r
...
l0             0x65e5e8            6677992
l1             0x65e5e8            6677992
l2             0x65e5e8            6677992
l3             0x65e5e8            6677992
l4             0x65e5e8            6677992
l5             0x65e5e8            6677992
l6             0x65e5e8            6677992
l7             0x65e5e8            6677992
i0             0x65e5e8            6677992
i1             0x65e5e8            6677992
i2             0x65e5e8            6677992
i3             0x65e5e8            6677992
i4             0x65e5e8            6677992
i5             0x65e5e8            6677992
fp             0x65e5e8            0x65e5e8
i7             0x65e5e8            6677992
...

-uwe


Home | Main Index | Thread Index | Old Index