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. 014f9477f4bdb04ca3accad0a7c986c2dff90e1f


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  014f9477f4bdb04ca3accad0a7c986c2dff90e1f (commit)
       via  e799154c3bf1aac0bffd869df5eed7a959305d00 (commit)
       via  5f08566b92f63e60559577dedfabf9ed517a3ddf (commit)
      from  8981c75857ec8ef645ccb4f7ccc70fccc609085d (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=014f9477f4bdb04ca3accad0a7c986c2dff90e1f

commit 014f9477f4bdb04ca3accad0a7c986c2dff90e1f
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Jul 22 10:56:01 2014 -0600

    constify to_open
    
    This makes target_ops::to_open take a const string and then fixes the
    fallout.
    
    There were a few of these I could not build.  However I eyeballed it
    and in any case the fixes should generally be trivial.
    
    This is based on the patch to fix up the target debugging for to_open,
    because that changes gdb to not directly install to_open as the target
    command
    
    2014-07-30  Tom Tromey  <tromey@redhat.com>
    
    	* bsd-kvm.c (bsd_kvm_open): Constify.
    	* corelow.c (core_open): Constify.
    	* ctf.c (ctf_open): Constify.
    	* dbug-rom.c (dbug_open): Constify.
    	* exec.c (exec_open): Constify.
    	* m32r-rom.c (m32r_open, mon2000_open): Constify.
    	* microblaze-rom.c (picobug_open): Constify.
    	* nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
    	Constify.
    	* ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
    	* record-btrace.c (record_btrace_open): Constify.
    	* record-full.c (record_full_core_open_1, record_full_open_1)
    	(record_full_open): Constify.
    	* remote-m32r-sdi.c (m32r_open): Constify.
    	* remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
    	(rockhopper_open, lsi_open): Constify.
    	* remote-sim.c (gdbsim_open): Constify.
    	* remote.c (remote_open, extended_remote_open, remote_open_1):
    	Constify.
    	* target.h (struct target_ops) <to_open>: Make "arg" const.
    	* tracefile-tfile.c (tfile_open): Constify.

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

commit e799154c3bf1aac0bffd869df5eed7a959305d00
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Jul 22 10:47:53 2014 -0600

    constify some cli-utils stuff
    
    This constifies a few functions in cli-utils -- get_number_trailer and
    friends -- and then fixes the fallout.
    
    2014-07-30  Tom Tromey  <tromey@redhat.com>
    
    	* breakpoint.c (map_breakpoint_numbers): Update.
    	* cli/cli-utils.c (get_number_trailer): Make "pp" const.  Update.
    	(get_number_const): New function.
    	(get_number): Rewrite using get_number_const.
    	(init_number_or_range): Make "string" const.
    	(number_is_in_list): Make "list" const.
    	* cli/cli-utils.h (get_number_const): Declare.
    	(struct get_number_or_range_state) <string, end_ptr>: Now const.
    	(init_number_or_range, number_is_in_list): Update.
    	* printcmd.c (map_display_numbers): Update.
    	* value.c (value_from_history_ref): Constify.
    	* value.h (value_from_history_ref): Update.

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

commit 5f08566b92f63e60559577dedfabf9ed517a3ddf
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Jul 22 10:09:27 2014 -0600

    constify exec_file_attach
    
    This constifies exec_file_attach and updates the rest of gdb.
    
    Insight will need some minor tweaks after this, though it's worth
    noting that I think all that hook stuff can actually just go away.  I
    sent a patch to this effect once, but since the Insight source
    repository situation isn't currently resolved there wasn't a
    convenient way to test it.
    
    2014-07-30  Tom Tromey  <tromey@redhat.com>
    
    	* corefile.c (hook_type, call_extra_exec_file_hooks)
    	(specify_exec_file_hook): Constify.
    	* exec.c (exec_file_attach): Make "filename" const.
    	* gdbcore.h (deprecated_exec_file_display_hook)
    	(specify_exec_file_hook, exec_file_attach): Constify.
    	* main.c (captured_main): Use catch_command_errors_const.

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

Summary of changes:
 gdb/ChangeLog         |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 gdb/breakpoint.c      |    2 +-
 gdb/bsd-kvm.c         |    7 ++++---
 gdb/cli/cli-utils.c   |   33 +++++++++++++++++++++++----------
 gdb/cli/cli-utils.h   |   12 ++++++++----
 gdb/corefile.c        |    7 +++----
 gdb/corelow.c         |    9 ++++-----
 gdb/ctf.c             |    4 ++--
 gdb/dbug-rom.c        |    4 +---
 gdb/dink32-rom.c      |    4 +---
 gdb/exec.c            |    4 ++--
 gdb/gdbcore.h         |    6 +++---
 gdb/inf-child.c       |    2 +-
 gdb/m32r-rom.c        |    7 ++-----
 gdb/main.c            |    8 ++++----
 gdb/microblaze-rom.c  |    2 +-
 gdb/nto-procfs.c      |    6 +++---
 gdb/ppcbug-rom.c      |    4 ++--
 gdb/printcmd.c        |    2 +-
 gdb/record-btrace.c   |    2 +-
 gdb/record-full.c     |    6 +++---
 gdb/remote-m32r-sdi.c |    2 +-
 gdb/remote-mips.c     |   20 ++++++--------------
 gdb/remote-sim.c      |    2 +-
 gdb/remote.c          |   13 +++++--------
 gdb/target.h          |    2 +-
 gdb/tracefile-tfile.c |    7 ++++---
 gdb/value.c           |   16 +++++++++++++---
 gdb/value.h           |    2 +-
 29 files changed, 150 insertions(+), 93 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]