pkgsrc-wip/nios2-gdb/TODO

42 lines
1.7 KiB
Plaintext

- To avoid segmentation fault (shown below),
one function deleted. Meaning it does not honor GNUTARGET,
see patches/patch-gdb_corefile.c
Related thread starts at
http://mail-index.netbsd.org/current-users/2013/05/19/msg022717.html
- make test
You need following package installed to do that:
devel/dejagnu -> lang/tcl-expect
wip/nios2-gcc
wip/nios2-glibc
- Segmentation Fault
GNU gdb (GDB) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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 "x86_64--netbsd".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /export/WRKOBJDIR/wip/nios2-gdb/work/gdb-nios2/gdb/gdb...(no debugging symbols found)...done.
[New process 1]
Core was generated by `gdb'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f7ff68e9e34 in strncmp () from /usr/lib/libc.so.12
(gdb) bt
#0 0x00007f7ff68e9e34 in strncmp () from /usr/lib/libc.so.12
#1 0x00007f7ff68e75cd in __getenvslot () from /usr/lib/libc.so.12
#2 0x00007f7ff68e7721 in __findenvvar () from /usr/lib/libc.so.12
#3 0x00007f7ff68e727c in getenv () from /usr/lib/libc.so.12
#4 0x0000000000522810 in _initialize_core ()
#5 0x0000000000590e3a in initialize_all_files ()
#6 0x000000000056a03f in gdb_init ()
#7 0x00000000004cb962 in captured_main ()
#8 0x00000000004ca4cb in catch_errors ()
#9 0x00000000004cc6a3 in gdb_main ()
#10 0x0000000000405c9a in main ()
(gdb)