Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by NAKAJI Hiroyuki
Fri, 05 Jan 1996 00:00
gcc-2.7.2, binutils-2.6 & gdb-4.15.1 on mips-sony-bsd
Author: NAKAJI Hiroyuki
Date: Fri, 05 Jan 1996 00:00
Date: Fri, 05 Jan 1996 00:00
70 lines
2812 bytes
2812 bytes
Hi, I have some questions and want HELP. And I apologize my English. I'm not sure my problem is because of gcc, binutils, or gdb, OR because of our machine. The problem is about debugging. I'm working on SONY NWS-5000 running NEWS-OS 4.2.1aRD. I made binutils-2.6, gcc-2.7.2 and gdb-4.15.1. Each was configured; binutils) ./configure --prefix=/usr/GNU (CC=cc) gcc (and g77)) ./configure --prefix=/usr/GNU --with-gnu-as --with-gnu-ld (stage3/xgcc was installed) gdb) ./configure --prefix=/usr/GNU (CC=cc) Each was found to be mips-sony-bsd by config.guess etc. Gcc seems to be working well. But when the program compiled by this gcc exits with core dumped, our dbx cannot handle 'core' as following: nakaji@zeisei3$ dbx ./pdconv core dbx version 2.11 Copyright 1988, 1989 MIPS Computer Systems Inc. Type 'help' for help. Corefile produced from file "pdconv" Child died at pc 0x404aa8 of signal : Segmentation fault reading symbolic information ... dbx: internal error: Proc symbol ($Lb1) without proc table entry nakaji@zeisei3$ This is the first problem. Next, 'make check' of gdb fails. Much of this failure occurs when handling 'core', for example (gdb.log), backtrace #0 0x56a498 in sigsetmask () at sigsetmask.s:14 #1 0x54e1f8 in rl_signal_handler (sig=2) at signals.c:161 warning: Hit heuristic-fence-post without finding warning: enclosing function for address 0x7ffff07c This warning occurs if you are debugging a function without any symbols (for example, in a stripped executable). In that case, you may wish to increase the size of the search with the `set heuristic-fence-post' command. Otherwise, you told GDB there was a function where there isn't one, or (more likely) you have encountered a bug in GDB. (gdb) FAIL: backtrace through signal handler Of cource this gdb cannot handle 'core' made from a program compiled by /bin/cc. Question: 1) What is the reason I cannot debug using these tools? 2) What should I do to solve these problem or to check what is happenning? 3) Will mips-sony-newsos4 be supported in the future? and 4) Binutils, gdb and some other utils don't have the target 'uninstall' in their Makefile. Why? Any help will be appreciated. Thanks in advance. ------ NAKAJI Hiroyuki
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads