This is the mail archive of the gdb-patches@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]

Re: [PATCH] Removal of markup annotations


 > >  > Out of all of the annotations that you are removing here, CGDB only
 > >  > depends on annotate_breakpoints_headers, annotate_field,
 > >  > annotate_breakpoints_table, annotate_record and
 > >  > annotate_breakpoints_table_end.
 > > 
 > > These are undocumented annotations and just mark up the output.  Could
 > > you parse it from the syntax instead?
 > 
 > These were documented when I wrote the CGDB annotation subsystem.
 > Between now and then, someone changed the documentation.
 > 
 > This link may work to demonstrate the fact.
 > http://web.archive.org/web/20030627071226/sources.redhat.com/gdb/current/onlinedocs/gdb_toc.html

OK but they still just mark up the output.

 > I could look into parsing the syntax, but I would prefered if these
 > stayed. Is this not desirable for some reason?

They make the code in breakpoint.c harder to read.  It's a question of
balancing the inconvenience of keeping them with that of removing them.

Nick


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