From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 73878 invoked by alias); 17 Jul 2015 14:32:54 -0000 Mailing-List: contact gdb-testers-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-testers-owner@sourceware.org Received: (qmail 73866 invoked by uid 89); 17 Jul 2015 14:32:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: kwanyin.sergiodj.net Received: from kwanyin.sergiodj.net (HELO kwanyin.sergiodj.net) (176.31.208.32) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 17 Jul 2015 14:32:52 +0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [binutils-gdb] Use debug_printf to print debug message From: sergiodj+buildbot@redhat.com To: gdb-testers@sourceware.org Message-Id: <25abf97969e50190cb5532b25b8e1deef3ab3bde@gdb-build> Date: Fri, 17 Jul 2015 14:32:00 -0000 X-SW-Source: 2015-q3/txt/msg02172.txt.bz2 *** TEST RESULTS FOR COMMIT 25abf97969e50190cb5532b25b8e1deef3ab3bde *** Author: Yao Qi Branch: master Commit: 25abf97969e50190cb5532b25b8e1deef3ab3bde Use debug_printf to print debug message Some functions in aarch64-linux-nat.c and linux-aarch64-low.c looks the same except for the code printing debug message. In GDB, we use fprintf_unfiltered (gdb_stdlog, ...) while in GDBserver, we use fprintf (stderr, ...). This patch is to change them to use debug_printf so that these functions are the same, and I can move them to a common place in the following patch. gdb: 2015-07-17 Yao Qi * aarch64-linux-nat.c (aarch64_show_debug_reg_state): Use debug_printf. (aarch64_handle_unaligned_watchpoint): Likewise. gdb/gdbserver: 2015-07-17 Yao Qi * linux-aarch64-low.c (aarch64_show_debug_reg_state): Use debug_printf. (aarch64_handle_unaligned_watchpoint): Likewise.