NetBSD-Bugs archive

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

port-arm/51677: gdb can not debug threaded programs

>Number:         51677
>Category:       port-arm
>Synopsis:       gdb can not debug threaded programs
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 01 08:40:00 +0000 2016
>Originator:     Martin Husemann
>Release:        NetBSD 7.99.43
The NetBSD Foundation, Inc.
System: NetBSD 7.99.43 NetBSD 7.99.43 (UNPLUGED) #34: Wed Nov 30 12:36:49 CET 2016 evbarm
Architecture: earm
Machine: evbarm

Trying to run a pthread'ed program under gdb crashes:

[~] martin@unpluged > gdb dig
GNU gdb (GDB) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm--netbsdelf-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from dig...Reading symbols from /usr/libdata/debug//usr/bin/dig.debug...done.
(gdb) run
Starting program: /usr/bin/dig 

Program received signal SIGILL, Illegal instruction.
0xbb9472c0 in ?? ()



Home | Main Index | Thread Index | Old Index