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. 635c7e8a0521e985921ea3189ab2db5e05fdd41f


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  635c7e8a0521e985921ea3189ab2db5e05fdd41f (commit)
      from  f26c187e2933a0e99a9fbe1ccbcd97260c74b913 (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=635c7e8a0521e985921ea3189ab2db5e05fdd41f

commit 635c7e8a0521e985921ea3189ab2db5e05fdd41f
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Jun 5 08:25:00 2014 -0600

    make calls to help_list use enumerator
    
    Currently there are many calls to help_list that pass the constant -1
    as the "class" value.  However, the parameter is declared as being of
    type enum command_class, and uses of the constant violate this
    abstraction.
    
    This patch fixes the error everywhere it occurs in the gdb sources.
    
    Tested by rebuilding.
    
    2014-06-13  Tom Tromey  <tromey@redhat.com>
    
    	* cp-support.c (maint_cplus_command): Pass all_commands, not -1,
    	to help_list.
    	* guile/guile.c (info_guile_command): Pass all_commands, not -1,
    	to help_list.
    	* tui/tui-win.c (tui_command): Pass all_commands, not -1, to
    	help_list.
    	* tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
    	help_list.Pass all_commands, not -1, to help_list.
    	* cli/cli-dump.c (dump_command, append_command)
    	(srec_dump_command, ihex_dump_command, tekhex_dump_command)
    	(binary_dump_command, binary_append_command): Pass all_commands,
    	not -1, to help_list.
    	* cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
    	-1, to help_list.
    	* valprint.c (set_print, set_print_raw): Pass all_commands, not
    	-1, to help_list.
    	* typeprint.c (set_print_type): Pass all_commands, not -1, to
    	help_list.
    	* top.c (set_history): Pass all_commands, not -1, to help_list.
    	* target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
    	all_commands, not -1, to help_list.
    	* symfile.c (overlay_command): Pass all_commands, not -1, to
    	help_list.
    	* spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
    	help_list.
    	* serial.c (serial_set_cmd): Pass all_commands, not -1, to
    	help_list.
    	* ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
    	-1, to help_list.
    	* remote.c (remote_command, set_remote_cmd): Pass all_commands,
    	not -1, to help_list.
    	* ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
    	not -1, to help_list.
    	* maint.c (maintenance_command, maintenance_info_command)
    	(maintenance_print_command, maintenance_set_cmd): Pass
    	all_commands, not -1, to help_list.
    	* macrocmd.c (macro_command): Pass all_commands, not -1, to
    	help_list.
    	* language.c (set_check): Pass all_commands, not -1, to help_list.
    	* infcmd.c (unset_command): Pass all_commands, not -1, to
    	help_list.
    	* frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
    	help_list.
    	* dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
    	help_list.
    	* dcache.c (set_dcache_command): Pass all_commands, not -1, to
    	help_list.
    	* breakpoint.c (save_command): Pass all_commands, not -1, to
    	help_list.
    	* ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
    	all_commands, not -1, to help_list.

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

Summary of changes:
 gdb/ChangeLog             |   54 +++++++++++++++++++++++++++++++++++++++++++++
 gdb/ada-lang.c            |    5 ++-
 gdb/breakpoint.c          |    2 +-
 gdb/cli/cli-cmds.c        |    4 +-
 gdb/cli/cli-dump.c        |   15 ++++++-----
 gdb/cp-support.c          |    2 +-
 gdb/dcache.c              |    2 +-
 gdb/dwarf2read.c          |    3 +-
 gdb/frame.c               |    3 +-
 gdb/guile/guile.c         |    2 +-
 gdb/infcmd.c              |    2 +-
 gdb/language.c            |    2 +-
 gdb/macrocmd.c            |    2 +-
 gdb/maint.c               |   11 +++++---
 gdb/ravenscar-thread.c    |    2 +-
 gdb/remote.c              |    4 +-
 gdb/ser-tcp.c             |    4 +-
 gdb/serial.c              |    2 +-
 gdb/spu-tdep.c            |    2 +-
 gdb/symfile.c             |    2 +-
 gdb/target-descriptions.c |    4 +-
 gdb/top.c                 |    2 +-
 gdb/tui/tui-regs.c        |    2 +-
 gdb/tui/tui-win.c         |    2 +-
 gdb/typeprint.c           |    2 +-
 gdb/valprint.c            |    4 +-
 26 files changed, 101 insertions(+), 40 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]