This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Removing (some) annotations.


I have no particular wish to see any annotations removed from GDB but if some
have to go, I would rather they were removed sooner rather than later so that
there is still time to pretest the consequences before the next release (of
GDB).

Here is one problem that I have noticed with level 3 annotations:

Using M-x gdba with Emacs 21.3.50 (the version in the CVS repository on an
inferior that uses threads, it is possible the display a buffer with a
selectable list of threads in similar manner to Insight. This works properly
with level 2 annotations but becomes jumbled with level 3. Even typing `info
threads' in the GUD buffer jumbles the list in this case.

I have traced this problem to the fact that, for some reason, the
frames-invalid annotation is printed using printf_unfiltered while all the
other annotations, apart from breakpoints-invalid, are printed using
printf_filtered. I don't understand how this causes a problem, but if I
replace printf_unfiltered with printf_filtered, the list is printed properly.

I don't even use frames-invalid or breakpoints-invalid now but if I remove them
from GDB the list becomes jumbled again.

So is there a timetable/plan for annotations that can be discussed?


    Nick                                         http://www.nick.uklinux.net


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]