From patchwork Tue Sep 19 09:20:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 22936 Received: (qmail 121077 invoked by alias); 19 Sep 2017 09:20:36 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 117724 invoked by uid 89); 19 Sep 2017 09:20:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.4 required=5.0 tests=BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-spam-relays-external:74.125.82.66, H*RU:74.125.82.66, H*r:sk:clients, H*r:sk:static. X-HELO: mail-wm0-f66.google.com Received: from mail-wm0-f66.google.com (HELO mail-wm0-f66.google.com) (74.125.82.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 19 Sep 2017 09:20:31 +0000 Received: by mail-wm0-f66.google.com with SMTP id f4so3240433wmh.4 for ; Tue, 19 Sep 2017 02:20:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=LU06AWaBJd5a1CZ5P2uDQLt8SDRuABw0Wy3mZaaAXT0=; b=ugD0XGnVzPkJHb5wUirEB2o+ViVhDtZBwKWjteGin4ugptSVb+H34Y5vFXgLIfq6qj KbkRyKwt3DbNLj2VnCwMf6HVTGJqI6yXWgdUui9B+braUqpqj4VFjGFdHIMsaUjxoEkd du5+T5BTZ7punqrXkFNQ+LfjjwZE8Dmvh8jSEeSGZUA++6d0Cw97yoxQ1Y7iub5kphZh cidUAA/tx5MFAScrNHXxZif0gPS0cIovuJAOglKFQVYwNBWJftI+PMnuJ09J2d1YHWSd A1LPxEC6syP7AAt5+U9v7w9H3sZQMNn2NpSbpB8SIjFtPJiHbDWD2HAN1qzQrmpUvYWG G1ig== X-Gm-Message-State: AHPjjUgxGOsP8df7UbB/36XJD386e92Ca47ZOp+YAYqIXd45eiicmoE5 IyXEXC/oTqO3mNBQiGS50pAfig== X-Google-Smtp-Source: AOwi7QDfgZTr9W40Tflj3l3z20s5oDcN/lTUSdZyIeakas3PjcFLr6o3kDQP+wpfLgVSWxGifh940A== X-Received: by 10.28.57.215 with SMTP id g206mr480482wma.117.1505812828636; Tue, 19 Sep 2017 02:20:28 -0700 (PDT) Received: from E107787-LIN.cambridge.arm.com (static.42.136.251.148.clients.your-server.de. [148.251.136.42]) by smtp.gmail.com with ESMTPSA id x185sm673593wmx.35.2017.09.19.02.20.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Sep 2017 02:20:28 -0700 (PDT) From: Yao Qi X-Google-Original-From: Yao Qi To: gdb-patches@sourceware.org Subject: [PATCH OBV] Remove one explicit rule for monitor.o Date: Tue, 19 Sep 2017 10:20:24 +0100 Message-Id: <1505812824-4183-1-git-send-email-yao.qi@linaro.org> X-IsSubscribed: yes gdb/monitor.c was removed by 40e0b27 (Delete the remaining ROM monitor targets). gdb: 2017-09-19 Yao Qi * Makefile.in (monitor.o): Remove the rule. --- gdb/ChangeLog | 4 ++++ gdb/Makefile.in | 11 ----------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ab982ab..4779273 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2017-09-19 Yao Qi + * Makefile.in (monitor.o): Remove the rule. + +2017-09-19 Yao Qi + * annotate.h (struct annotate_arg_emitter): Use DISABLE_COPY_AND_ASSIGN. * common/refcounted-object.h (refcounted_object): Likewise. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 9dfc117..5740d43 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -2711,17 +2711,6 @@ ALLDEPFILES = \ # Some files need explicit build rules (due to -Werror problems) or due # to sub-directory fun 'n' games. -# FIXME: cagney/2003-08-10: "monitor.c" gets -Wformat-nonliteral -# errors. It turns out that that is the least of monitor.c's -# problems. The function print_vsprintf appears to be using -# va_arg(long) to extract CORE_ADDR parameters - something that -# definitly will not work. "monitor.c" needs to be rewritten so that -# it doesn't use format strings and instead uses callbacks. -monitor.o: $(srcdir)/monitor.c - $(COMPILE.pre) $(INTERNAL_CFLAGS) $(GDB_WARN_CFLAGS_NO_FORMAT) \ - $(COMPILE.post) $(srcdir)/monitor.c - $(POSTCOMPILE) - # Do not try to build "printcmd.c" with -Wformat-nonliteral. It manually # checks format strings. printcmd.o: $(srcdir)/printcmd.c