[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | Digital Ladebug debugger |
|
Moderator: | TLE::LUCIA |
|
Created: | Fri Feb 28 1992 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 969 |
Total number of notes: | 3959 |
898.0. "Mashed template parameter type" by DECC::MJHANS (Matthew Hanselman, DEC C/C++) Mon Mar 24 1997 16:59
ladebug 4.0-33:
Ladebug is incorrectly pushing together the words "unsigned char" for
this template. Note that the demangler gets this name right, as an
stdump will show the correct name.
+++++++++++++++++++++++++++++++++++++
// tmp.cxx
template <class T1> class AAAA {
T1 data;
};
AAAA<unsigned char> a;
main(){}
+++++++++++++++++++++++++++++++++++++
% ladebug a.out
Welcome to the Ladebug Debugger Version 4.0-33
------------------
object file name: a.out
Reading symbolic information ...done
(ladebug) whatis a
class AAAA<unsignedchar> {
unsigned char data;
} a
+++++++++++++++++++++++++++++++++++++
% stdump a.out | grep AAAA
1. ( 1)( 0) AAAA<unsigned char> Tag Info [ 4] Class(extended file 0, index 2)
2. ( 1)( 0x1) AAAA<unsigned char> Block Info symref 9
4. ( 2)( 0) AAAA<unsigned char>::operator =(const AAAA<unsigned char>&) Proc Info [11] endref 8, Reference Class(extended file 0, index 2)
7. ( 2)( 0) AAAA<unsigned char>::operator =(const AAAA<unsigned char>&) End Info symref 4
8. ( 1)( 0) AAAA<unsigned char> End Info symref 2
- Matt
T.R | Title | User | Personal Name | Date | Lines |
---|
898.1 | We'll look into it | TLE::MERRITT | Steve Merritt, Ladebug Team | Wed Mar 26 1997 15:09 | 7 |
|
Thanks for the report...
I've added this to the open items list and we'll
look at it shortly.
-Steve
|