From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6138 invoked by alias); 28 Sep 2005 00:17:53 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 6119 invoked by uid 22791); 28 Sep 2005 00:17:47 -0000 Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 28 Sep 2005 00:17:47 +0000 Received: from kahikatea.snap.net.nz (p251-tnt1.snap.net.nz [202.124.110.251]) by viper.snap.net.nz (Postfix) with ESMTP id C2674688CE0 for ; Wed, 28 Sep 2005 12:17:40 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id A76A383B3; Wed, 28 Sep 2005 12:16:44 +1200 (NZST) From: Nick Roberts To: gdb-patches@sources.redhat.com Subject: [PATCH] Removal of markup annotations In-Reply-To: <17071.40307.949193.158796@farnswood.snap.net.nz> References: <17071.40307.949193.158796@farnswood.snap.net.nz> Message-Id: <20050928001644.A76A383B3@kahikatea.snap.net.nz> Date: Wed, 28 Sep 2005 00:17:00 -0000 X-SW-Source: 2005-09/txt/msg00263.txt.bz2 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 * 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;