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

gdb and binutils branch master updated. 0e58ee40a2cec3c4bf796980fb05f93540e40ec2


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  0e58ee40a2cec3c4bf796980fb05f93540e40ec2 (commit)
      from  d190df30a147b90e2f189c2038b8ffab5fd8af60 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0e58ee40a2cec3c4bf796980fb05f93540e40ec2

commit 0e58ee40a2cec3c4bf796980fb05f93540e40ec2
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Fri Jun 6 11:28:27 2014 -0400

    thinko in serial.c::serial_write debug trace
    
    I noticed that, when using 'set debug serial 1', the "write" traces
    would always be NUL characters:
    
        [
        w \x00][\x00][\x00][\x00][\x00][etc]
    
    This is due to a small thinko in the loop that output each character,
    where we accidently used the loop boundary instead of the loop index
    to index the character to be printed.
    
    After this patch is applied, the output now becomes:
    
        [
        w $][v][C][o][n][t][?][#][4][9]
    
    gdb/ChangeLog:
    
    	* serial.c (serial_write): Fix index of character to be printed
    	in call to serial_logchar when serial debug traces are enabled.

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog |    5 +++++
 gdb/serial.c  |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
gdb and binutils


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