Add a New Comment (Rich Markup)
Comment Type & Canned Response: None No canned response available
I cannot see current function name for threads, because DDD is removing everything from the first parenthesis til the last one:
From http://lists.gnu.org/archive/html/bug-ddd/2001-10/msg00023.html...
So, for example, if the output of "info threads" from GDB was:
../../../../../newlib-1.9.0/newlib/libc/stdio/vfprintf.c:193 1 thread 1 (MIPS CPU 0) 0xa0024c44 in _vfprintf_r (data=0xa002b2b8, fp=0x800ff8c0, fmt0=0x1 "\b\200", ap=0x800fffcc) at ../../../../../newlib-1.9.0/newlib/libc/stdio/vfprintf.c:441
then the threads window displayed:
2 thread 2 () at vfprintf.c:193 1 thread 1 () at vfprintf.c:441
When user would expect something like:
2 thread 2 __sprint() at vfprintf.c:193 1 thread 1 _vfprintf_r() at vfprintf.c:441
The following change was proposed there:
--- SourceView.C~ Thu Apr 26 04:08:06 2001 +++ SourceView.C Tue Oct 23 15:41:07 2001 @@ -6962,5 +6962,5 @@ static regex rxarglist("[(][^0-9][^)]*[)]"); #endif - int start = index(line, rxarglist, "("); + int start = index(line, rxarglist, "(", -1); if (start > 0) {
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only logged-in users can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 3 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.9