Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Eberhard Mattes
Sun, 03 Jan 1993 16:56
More MKTEMP_EACH_FILE trouble
Author: Eberhard Mattes
Date: Sun, 03 Jan 1993 16:56
Date: Sun, 03 Jan 1993 16:56
18 lines
1334 bytes
1334 bytes
When using MKTEMP_EACH_FILE for GCC 2.3.3 with DBX debugging info, GDB no longer works correctly as it explicitely checks for ".o" at the end of symbols. For instance, the backtrace command is affected. Quotation from partial-stab.h of GDB 4.7: if ((namestring[0] == '-' && namestring[1] == 'l') || (namestring [(nsl = strlen (namestring)) - 1] == 'o' && namestring [nsl - 2] == '.') (BTW this is a bad idea if the length of namestring is less than 2.) I solved the problem by letting ld append `.o' to the symbol indicating the start of the text segment unless that symbol starts with `-l' or already ends with `.o'. (I'm still using the pre-BFD version of GNU ld.) Eberhard Mattes (mattes@azu.informatik.uni-stuttgart.de)
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