NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/49979: gdb does not work properly on NetBSD-6.1.1/i386
>Number: 49979
>Category: bin
>Synopsis: gdb does not work properly on NetBSD-6.1.1/i386
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 16 12:00:00 +0000 2015
>Originator: Darren Reed
>Release: NetBSD 6.1_STABLE
>Organization:
>Environment:
Architecture: x86_64
Machine: amd64
>Description:
Whilst using gdb to step through a problem and debug an application,
it randomly stops working. e.g.:
(gdb) run -O -d -r test.cap ip
Starting program: /home/darrenr/tcpdump-4.7.4/tcpdump -O -d -r test.cap ip
reading from file test.cap, link-type EN10MB (Ethernet)
Breakpoint 1, flatten_bpfprog (start=0xbfbfebe4) at ./optimize.c:2276
2276 flen = start->bf_len;
(gdb) n
2277 for (slen = 0, fp = start->bf_insns; flen > 0; flen--, fp++)
(gdb)
2278 slen += BPFX_WORDS(fp->code);
(gdb)
0x081d17f3 in ?? ()
netbsd: {790} file tcpdump
tcpdump: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for NetBSD 6.1.1, not stripped
>How-To-Repeat:
Use gdb to debug program.
>Fix:
Home |
Main Index |
Thread Index |
Old Index