>>>>> "Daniel" == Daniel Jacobowitz writes: > On Thu, Jan 10, 2002 at 07:21:18PM +0000, Jason Merrill wrote: >> The stabs output from gcc ignores const and volatile. There is even a >> comment saying that "stabs does not distinguish const and volatile". >> The method qualifiers are described, and gdb could do the work to apply >> them to the type of 'this', but it's probably fine just to leave it as it >> is. > There are documented extensions to STABS to express both const and > volatile. GDB supports them, and documents them - see info stabs. > They're originally Sun extensions. > Could I persuade you to add them to GCC? It would take you less time > than I. Give this a whirl. The output looks right to me, but gdb doesn't seem to like it much. 2002-01-10 Jason Merrill * dbxout.c (dbxout_type): Support const and volatile.