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. 9d2d0b8b042cfb82c2ac600bff13f473a78a4c7f


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  9d2d0b8b042cfb82c2ac600bff13f473a78a4c7f (commit)
       via  a7191e8bd7f4188d608764389d5a73fcf4b0e8da (commit)
       via  ff0e980e6f720fe49608a5a0a37be3a28258c9d7 (commit)
       via  e9371aff2d8c31adf23483aebe85018e11f534f3 (commit)
       via  971dc0b89de28feaa5efade1f1f8675be223fabd (commit)
       via  0a822afbcdf6aee6c25a840e4785ad3af56a94fd (commit)
       via  9f1b45b0da430a7a7abf9e54acbe6f2ef9d3a763 (commit)
       via  9c3d65319a230a106392e4b67c8c89c8f5e2929f (commit)
       via  01fd3ea573324b8248efbb236d994420641e3d32 (commit)
      from  9fb5010805bdfe0eb8fc5db01e7f4c93b04c8f29 (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=9d2d0b8b042cfb82c2ac600bff13f473a78a4c7f

commit 9d2d0b8b042cfb82c2ac600bff13f473a78a4c7f
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Jan 20 10:38:07 2014 -0700

    update rsp-low comments
    
    This updates all the comments in rsp-low.[ch], now that the
    unification has been completed.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* common/rsp-low.c: Update comments.
    	* common/rsp-low.h: Update comments.

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

commit a7191e8bd7f4188d608764389d5a73fcf4b0e8da
Author: Tom Tromey <tromey@redhat.com>
Date:   Sat Jan 18 19:42:15 2014 -0700

    replace convert_ascii_to_int with hex2bin
    
    convert_ascii_to_int is identical to hex2bin.
    This removes the former.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* common/rsp-low.c (convert_ascii_to_int): Remove.
    	* common/rsp-low.h (convert_ascii_to_int): Don't declare.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* ax.c (gdb_parse_agent_expr): Use hex2bin, not
    	convert_ascii_to_int.
    	* regcache.c (registers_to_string): Likewise.
    	* remote-utils.c (decode_M_packet): Likewise.
    	* server.c (process_serial_event): Likewise.

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

commit ff0e980e6f720fe49608a5a0a37be3a28258c9d7
Author: Tom Tromey <tromey@redhat.com>
Date:   Sat Jan 18 19:41:08 2014 -0700

    replace unhexify with hex2bin
    
    unhexify and hex2bin are identical, so this removes unhexify.  The
    particular choice of which to keep was made on the basis of
    parallelism with the earlier patch that removed hexify.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* common/rsp-low.h (unhexify): Don't declare.
    	* common/rsp-low.c (unhexify): Remove.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* server.c (handle_query, handle_v_run): Use hex2bin, not
    	unhexify.
    	* tracepoint.c (cmd_qtdpsrc, cmd_qtdv, cmd_qtnotes): Likewise.

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

commit e9371aff2d8c31adf23483aebe85018e11f534f3
Author: Tom Tromey <tromey@redhat.com>
Date:   Sat Jan 18 19:34:15 2014 -0700

    replace convert_int_to_ascii with bin2hex
    
    convert_int_to_ascii is identical to bin2hex.  This removes the
    former.  In this case I made the choice of which to keep on the basis
    that I consider the name bin2hex to be superior to
    convert_int_to_ascii.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* common/rsp-low.h (convert_int_to_ascii): Don't declare.
    	* common/rsp-low.c (convert_int_to_ascii): Remove.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* ax.c (gdb_unparse_agent_expr): Use bin2hex, not
    	convert_int_to_ascii.
    	* regcache.c (registers_to_string, collect_register_as_string):
    	Likewise.
    	* remote-utils.c (look_up_one_symbol, relocate_instruction):
    	Likewise.
    	* server.c (process_serial_event): Likewise.
    	* tracepoint.c (cmd_qtstatus, response_source, response_tsv)
    	(cmd_qtbuffer, cstr_to_hexstr): Likewise.

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=971dc0b89de28feaa5efade1f1f8675be223fabd

commit 971dc0b89de28feaa5efade1f1f8675be223fabd
Author: Tom Tromey <tromey@redhat.com>
Date:   Sat Jan 18 19:30:20 2014 -0700

    replace hexify with bin2hex
    
    This removes hexify in favor of bin2hex.
    The choice of which to keep was arbitrary.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* common/rsp-low.h (hexify): Don't declare.
    	* common/rsp-low.c (hexify): Remove.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* remote-utils.c (look_up_one_symbol, monitor_output): Use
    	bin2hex, not hexify.
    	* tracepoint.c (cmd_qtstatus): Likewise.

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

commit 0a822afbcdf6aee6c25a840e4785ad3af56a94fd
Author: Tom Tromey <tromey@redhat.com>
Date:   Sat Jan 18 19:25:57 2014 -0700

    don't let hexify call strlen
    
    hexify had the same issue as bin2hex; and the fix is the same.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* common/rsp-low.c (hexify): Never take strlen of argument.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* remote-utils.c (monitor_output): Pass explicit length to
    	hexify.

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9f1b45b0da430a7a7abf9e54acbe6f2ef9d3a763

commit 9f1b45b0da430a7a7abf9e54acbe6f2ef9d3a763
Author: Tom Tromey <tromey@redhat.com>
Date:   Sat Jan 18 14:42:54 2014 -0700

    don't let bin2hex call strlen
    
    Currently bin2hex may call strlen if the length argument is zero.
    This prevents some function unification; and also it seems cleaner to
    me not to have a special meaning for a zero length.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* common/rsp-low.c (bin2hex): Never take strlen of argument.
    	* remote.c (extended_remote_run, remote_rcmd)
    	(remote_download_trace_state_variable, remote_save_trace_data)
    	(remote_set_trace_notes): Update.
    	* tracepoint.c (encode_source_string, tfile_write_status)
    	(tfile_write_uploaded_tsv): Update.

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9c3d65319a230a106392e4b67c8c89c8f5e2929f

commit 9c3d65319a230a106392e4b67c8c89c8f5e2929f
Author: Tom Tromey <tromey@redhat.com>
Date:   Sat Jan 18 14:32:47 2014 -0700

    move some rsp bits into rsp-low.h
    
    This moves various low-level remote serial protocol bits into
    common/rsp-low.[ch].
    
    This is as close to a pure move as possible.  There are some
    redundancies remaining but those will be dealt with in a subsequent
    patch.
    
    Note that the two variants of remote_escape_output disagreed on the
    treatment of "*".  On the theory that quoting cannot hurt but the
    absence possibly can, I chose the gdbserver variant to be the
    canonical one.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* tracepoint.c: Include rsp-low.h.
    	* remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
    	* remote.c: Include rsp-low.h.
    	(hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
    	(fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
    	(remote_unescape_input): Move to common/rsp-low.c.
    	* common/rsp-low.h: New file.
    	* common/rsp-low.c: New file.
    	* Makefile.in (SFILES): Add common/rsp-low.c.
    	(HFILES_NO_SRCDIR): Add common/rsp-low.h.
    	(COMMON_OBS): Add rsp-low.o.
    	(rsp-low.o): New target.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* tracepoint.c: Include rsp-low.h.
    	* server.c: Include rsp-low.h.
    	* remote-utils.h (convert_ascii_to_int, convert_int_to_ascii)
    	(unhexify, hexify, remote_escape_output, unpack_varlen_hex): Don't
    	declare.
    	* remote-utils.c: Include rsp-low.h.
    	(fromhex, hexchars, ishex, unhexify, tohex, hexify)
    	(remote_escape_output, remote_unescape_input, unpack_varlen_hex)
    	(convert_int_to_ascii, convert_ascii_to_int): Move to
    	common/rsp-low.c.
    	* regcache.c: Include rsp-low.h.
    	* ax.c: Include rsp-low.h.
    	* Makefile.in (SFILES): Add common/rsp-low.c.
    	(OBS): Add rsp-low.o.
    	(rsp-low.o): New target.

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=01fd3ea573324b8248efbb236d994420641e3d32

commit 01fd3ea573324b8248efbb236d994420641e3d32
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Jan 16 21:41:58 2014 -0700

    share "cell" code
    
    The "cell"-based printing code, like phex, was duplicated in both gdb
    and gdbserver.  This patch merges the two implementations into a new
    file in common/.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* utils.h: Include print-utils.h.
    	(host_address_to_string, plongest, pulongest, phex, phex_nz)
    	(int_string, core_addr_to_string, core_addr_to_string_nz)
    	(hex_string, hex_string_custom): Don't declare.
    	* utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
    	(plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
    	(hex_string_custom, int_string, core_addr_to_string)
    	(core_addr_to_string_nz, host_address_to_string): Move to
    	common/print-utils.c.
    	* common/print-utils.h: New file.
    	* common/print-utils.c: New file
    	* Makefile.in (SFILES): Add common/print-utils.c.
    	(HFILES_NO_SRCDIR): Add common/print-utils.h.
    	(COMMON_OBS): Add print-utils.o.
    	(print-utils.o): New target.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* utils.h (pulongest, plongest, phex_nz): Don't declare.
    	Include print-utils.h.
    	* utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
    	(plongest, thirty_two, phex_nz): Remove.
    	* Makefile.in (SFILES): Add common/print-utils.c.
    	(OBS): Add print-utils.o.
    	(print-utils-ipa.o): New target.
    	(print-utils.o): New target.
    	(IPA_OBJS): Add print-utils-ipa.o.

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

Summary of changes:
 gdb/ChangeLog                |   71 +++++++++
 gdb/Makefile.in              |   16 ++-
 gdb/common/print-utils.c     |  334 ++++++++++++++++++++++++++++++++++++++++++
 gdb/common/print-utils.h     |   70 +++++++++
 gdb/common/rsp-low.c         |  224 ++++++++++++++++++++++++++++
 gdb/common/rsp-low.h         |   83 +++++++++++
 gdb/gdbserver/ChangeLog      |   67 +++++++++
 gdb/gdbserver/Makefile.in    |   16 ++-
 gdb/gdbserver/ax.c           |    5 +-
 gdb/gdbserver/regcache.c     |   10 +-
 gdb/gdbserver/remote-utils.c |  226 +---------------------------
 gdb/gdbserver/remote-utils.h |    9 -
 gdb/gdbserver/server.c       |   12 +-
 gdb/gdbserver/tracepoint.c   |   27 ++--
 gdb/gdbserver/utils.c        |  117 ---------------
 gdb/gdbserver/utils.h        |    5 +-
 gdb/remote.c                 |  235 ++----------------------------
 gdb/remote.h                 |    6 -
 gdb/tracepoint.c             |   11 +-
 gdb/utils.c                  |  296 -------------------------------------
 gdb/utils.h                  |   22 +---
 21 files changed, 933 insertions(+), 929 deletions(-)
 create mode 100644 gdb/common/print-utils.c
 create mode 100644 gdb/common/print-utils.h
 create mode 100644 gdb/common/rsp-low.c
 create mode 100644 gdb/common/rsp-low.h


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]