This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. e9e7f7240542809f82286e4043ca05409dc761a9
- From: tromey at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 24 Jul 2014 17:45:59 -0000
- Subject: gdb and binutils branch master updated. e9e7f7240542809f82286e4043ca05409dc761a9
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 e9e7f7240542809f82286e4043ca05409dc761a9 (commit)
via 1947513d924efec8b839718cda515ecfc21dd293 (commit)
via 64e61d290ec53c27767d0d828f01ab6ae95a7478 (commit)
via 429e55ea941f54f8e0481dd2048dc15af751ed71 (commit)
via 64669f3b4bab4096df75b7279c5b2d0a4784b835 (commit)
via d3d3328bca04f0a5d0c9216c53f737d94f5f947b (commit)
via 414842dc7ae1d398fca1bda9a20a89d51b7c2f09 (commit)
via baa336ce7b5d6e56bd52d7493c3f77b0953a7f18 (commit)
via 5a19e2d0fe40c852ea1ccc46c596764bb35d4d7d (commit)
via fc4baa5e1f016c27eab4b2593a1ba9db60e11bee (commit)
via 0d5f0dbeb03bab0ce02bf9a4e61d298ad7f1c9bb (commit)
via 41c77899672db7a30d09d2e68524f0eb3faf937b (commit)
via 93db0d79de0c2676edffb8e36109ca3f6faa822b (commit)
from 36d6eb95c1de72b1c5703c5204124abe589d34b1 (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=e9e7f7240542809f82286e4043ca05409dc761a9
commit e9e7f7240542809f82286e4043ca05409dc761a9
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Jul 21 20:57:15 2014 -0600
constify target fields
This constifies the target_ops fields to_shortname, to_longname, and
to_doc.
2014-07-24 Tom Tromey <tromey@redhat.com>
* monitor.c (compile_pattern): Update.
* target.h (struct target_ops) <to_shortname, to_longname,
to_doc>: Now const.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1947513d924efec8b839718cda515ecfc21dd293
commit 1947513d924efec8b839718cda515ecfc21dd293
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Jul 21 20:55:16 2014 -0600
constify command docs
This makes the command "doc" parameter const.
2014-07-24 Tom Tromey <tromey@redhat.com>
* cli/cli-decode.c (add_cmd, add_prefix_cmd)
(add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
(add_info_alias, add_com): Make "doc" const.
(print_doc_line): Make "str" const.
(delete_cmd): Update.
* cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
(print_doc_line): Update.
* cli/cli-script.c (document_command): Update.
* command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
(add_com, add_info, add_info_alias): Update.
* guile/scm-cmd.c (cmdscm_destroyer): Update.
* python/py-cmd.c (cmdpy_destroyer): Update.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=64e61d290ec53c27767d0d828f01ab6ae95a7478
commit 64e61d290ec53c27767d0d828f01ab6ae95a7478
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Jul 21 20:43:04 2014 -0600
constify command prefix
This constifies the "prefix" argument to the various command-adding
functions.
2014-07-24 Tom Tromey <tromey@redhat.com>
* cli/cli-decode.c (print_help_for_command): Make "prefix" const.
(add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
(help_cmd_list): Constify.
(lookup_cmd): Update.
* cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
const.
(help_cmd_list, apropos_cmd): Update.
* cli/cli-script.c (show_user): Update.
* cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
* cli/cli-setshow.h (cmd_show_list): Update.
* command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
(cmd_show_list): Update.
* guile/scm-cmd.c (cmdscm_destroyer): Update.
* python/py-cmd.c (cmdpy_destroyer): Update.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=429e55ea941f54f8e0481dd2048dc15af751ed71
commit 429e55ea941f54f8e0481dd2048dc15af751ed71
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Jul 21 20:37:34 2014 -0600
constify deprecate_cmd
This constifies deprecate_cmd and the "replacement" field in struct
cmd_list_element.
2014-07-24 Tom Tromey <tromey@redhat.com>
* cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
* cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
const.
* command.h (deprecate_cmd): Update.
* maint.c (maintenance_do_deprecate): Add casts.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=64669f3b4bab4096df75b7279c5b2d0a4784b835
commit 64669f3b4bab4096df75b7279c5b2d0a4784b835
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Jul 21 17:35:10 2014 -0600
constify help_cmd
This constifies help_cmd.
2014-07-24 Tom Tromey <tromey@redhat.com>
* cli/cli-decode.c (help_cmd): Make parameter "const".
* cli/cli-decode.h (help_cmd): Update.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d3d3328bca04f0a5d0c9216c53f737d94f5f947b
commit d3d3328bca04f0a5d0c9216c53f737d94f5f947b
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Jul 21 17:06:20 2014 -0600
constify stack.c
This constifies a couple of functions in stack.c.
2014-07-24 Tom Tromey <tromey@redhat.com>
* stack.c (up_silently_base, down_silently_base): Make argument
const.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=414842dc7ae1d398fca1bda9a20a89d51b7c2f09
commit 414842dc7ae1d398fca1bda9a20a89d51b7c2f09
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Jul 21 17:05:16 2014 -0600
constify solib_add
This constifies the "pattern" argument to solib_add.
2014-07-24 Tom Tromey <tromey@redhat.com>
* solib.c (solib_add): Make "pattern" const.
* solib.h (solib_add): Update.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=baa336ce7b5d6e56bd52d7493c3f77b0953a7f18
commit baa336ce7b5d6e56bd52d7493c3f77b0953a7f18
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Jul 21 17:01:55 2014 -0600
constify remote.c
This does some more constification in remote.c.
2014-07-24 Tom Tromey <tromey@redhat.com>
* remote.c (remote_serial_open, print_packet, putpkt)
(putpkt_binary): Constify.
* remote.h (putpkt): Update.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5a19e2d0fe40c852ea1ccc46c596764bb35d4d7d
commit 5a19e2d0fe40c852ea1ccc46c596764bb35d4d7d
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Jul 21 16:56:28 2014 -0600
constify monitor_open
This constifies an argument to monitor_open.
2014-07-24 Tom Tromey <tromey@redhat.com>
* monitor.c (monitor_open): Make "args" const.
* monitor.h (monitor_open): Update.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fc4baa5e1f016c27eab4b2593a1ba9db60e11bee
commit fc4baa5e1f016c27eab4b2593a1ba9db60e11bee
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Jul 21 16:54:06 2014 -0600
constify maint.c
This does a bit of constification in maint.c, making
print_bfd_section_info a bit cleaner in the process.
2014-07-24 Tom Tromey <tromey@redhat.com>
* maint.c (match_bfd_flags): Make "string" const.
(print_bfd_section_info): Remove casts.
(print_objfile_section_info): Make "string" const.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0d5f0dbeb03bab0ce02bf9a4e61d298ad7f1c9bb
commit 0d5f0dbeb03bab0ce02bf9a4e61d298ad7f1c9bb
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Jul 21 16:49:09 2014 -0600
constify inf_child_open_target
This constifies an argument to inf_child_open_target.
2014-07-24 Tom Tromey <tromey@redhat.com>
* inf-child.c (inf_child_open_target): Make "arg" const.
* inf-child.h (inf_child_open_target): Update.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=41c77899672db7a30d09d2e68524f0eb3faf937b
commit 41c77899672db7a30d09d2e68524f0eb3faf937b
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Jul 21 16:33:21 2014 -0600
constify unset_in_environ
This constifies an argument to unset_in_environ.
2014-07-24 Tom Tromey <tromey@redhat.com>
* environ.c (unset_in_environ): Make "var" const.
* environ.h (unset_in_environ): Update.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=93db0d79de0c2676edffb8e36109ca3f6faa822b
commit 93db0d79de0c2676edffb8e36109ca3f6faa822b
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Jul 21 16:20:24 2014 -0600
constify cli-dump.c
This does some minor constification in cli-dump.c.
2014-07-24 Tom Tromey <tromey@redhat.com>
* cli/cli-dump.c (scan_expression_with_cleanup): Return const.
Make "cmd" const.
(scan_filename_with_cleanup): Likewise.
(dump_memory_to_file, dump_value_to_file, restore_binary_file):
Make arguments const.
(restore_command): Update.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 97 +++++++++++++++++++++++++++++++++++++++++++++++++
gdb/cli/cli-decode.c | 46 ++++++++++++------------
gdb/cli/cli-decode.h | 14 ++++----
gdb/cli/cli-dump.c | 35 +++++++++---------
gdb/cli/cli-script.c | 15 +++++---
gdb/cli/cli-setshow.c | 2 +-
gdb/cli/cli-setshow.h | 2 +-
gdb/command.h | 23 ++++++------
gdb/environ.c | 2 +-
gdb/environ.h | 2 +-
gdb/guile/scm-cmd.c | 4 +-
gdb/inf-child.c | 3 +-
gdb/inf-child.h | 2 +-
gdb/maint.c | 17 +++++----
gdb/monitor.c | 4 +-
gdb/monitor.h | 3 +-
gdb/python/py-cmd.c | 4 +-
gdb/remote.c | 12 +++---
gdb/remote.h | 2 +-
gdb/solib.c | 2 +-
gdb/solib.h | 2 +-
gdb/stack.c | 4 +-
gdb/target.h | 6 ++--
gdb/value.c | 2 +-
24 files changed, 205 insertions(+), 100 deletions(-)
hooks/post-receive
--
gdb and binutils