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

[PATCH] Removal of markup annotations


Nick Roberts (Wed, 15 Jun 2005 15:16:03 +1200) writes:
 > 
 > Here's the patch for the removal of some of the level 2 annotations that I
 > referred to yesterday.  It primarily removes the markup annotations that
 > worked just with level (annotation_level == 2) and leaves those which also
 > worked with level 3 (annotation_level > 2)...  

Since no-one seems that interested, I would like to submit this much smaller
patch that just removes the breakpoints-invalid and frames-invalid from level
3, which AFAIK only Emacs uses.

Nick


2005-09-28  Nick Roberts  <nickrob@snap.net.nz>

	* annotate.c (breakpoints_changed, annotate_frames_invalid)
	(_initialize_annotate): Print breakpoints-invalid and
	frames-invalid for level 2 annotations only.


*** annotate.c	15 Feb 2005 03:37:37 +1300	1.9
--- annotate.c	28 Sep 2005 12:06:16 +1200	
***************
*** 55,61 ****
  void
  breakpoints_changed (void)
  {
!   if (annotation_level > 1)
      {
        target_terminal_ours ();
        printf_unfiltered (("\n\032\032breakpoints-invalid\n"));
--- 55,61 ----
  void
  breakpoints_changed (void)
  {
!   if (annotation_level == 2)
      {
        target_terminal_ours ();
        printf_unfiltered (("\n\032\032breakpoints-invalid\n"));
***************
*** 228,234 ****
  void
  annotate_frames_invalid (void)
  {
!   if (annotation_level > 1)
      {
        target_terminal_ours ();
        printf_unfiltered (("\n\032\032frames-invalid\n"));
--- 228,234 ----
  void
  annotate_frames_invalid (void)
  {
!   if (annotation_level == 2)
      {
        target_terminal_ours ();
        printf_unfiltered (("\n\032\032frames-invalid\n"));
***************
*** 577,583 ****
  void
  _initialize_annotate (void)
  {
!   if (annotation_level > 1)
      {
        deprecated_delete_breakpoint_hook = breakpoint_changed;
        deprecated_modify_breakpoint_hook = breakpoint_changed;
--- 577,583 ----
  void
  _initialize_annotate (void)
  {
!   if (annotation_level == 2)
      {
        deprecated_delete_breakpoint_hook = breakpoint_changed;
        deprecated_modify_breakpoint_hook = breakpoint_changed;


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