hppa-hpux-tdep.c: Fix host dependency.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 3211a431649809066157728bd241396968fb5a4a..7b5bb6c22ead5fe09bd4372a4f0745cf403231a2 100644 (file)
@@ -1,3 +1,114 @@
+2013-03-22  Pedro Alves  <palves@redhat.com>
+
+       * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Define INSN macro,
+       use it to rewrite the trampoline buffers with type gdb_byte[], and
+       undefine the macro.  Remove char* cast.
+
+2013-03-21  Doug Evans  <dje@google.com>
+
+       New commands "mt set per-command {space,time,symtab} {on,off}".
+       * NEWS: Add entry.
+       * event-top.c: #include "maint.h".
+       * main.c: #include "maint.h".
+       * maint.c: #include <sys/time.h>, <time.h>, block.h, top.h,
+       timeval-utils.h, maint.h, cli/cli-setshow.h.
+       (per_command_time, per_command_space): New static globals.
+       (per_command_symtab): New static global.
+       (per_command_setlist, per_command_showlist): New static globals.
+       (struct cmd_stats): Move here from utils.c.
+       (set_per_command_time): Renamed from set_display_time in utils.c
+       and moved here.  All callers updated.
+       (set_per_command_space): Renamed from set_display_space in utils.c
+       and moved here.  All callers updated.
+       (count_symtabs_and_blocks): New function.
+       (report_command_stats): Moved here from utils.c.  Add support for
+       printing symtab stats.  Only print data if enabled before command
+       executed.
+       (make_command_stats_cleanup): Ditto.
+       (sert_per_command_cmd, show_per_command_cmd): New functions.
+       (_initialize_maint_cmds): Add new commands
+       mt set per-command {space,time,symtab} {on,off}.
+       * maint.h: New file.
+       * top.c: #include "maint.h".
+       * utils.c (reset_prompt_for_continue_wait_time): New function.
+       (get_prompt_for_continue_wait_time): New function.
+       * utils.h (reset_prompt_for_continue_wait_time): Declare
+       (get_prompt_for_continue_wait_time): Declare.
+       (make_command_stats_cleanup): Moved to maint.h.
+       (set_display_time, set_display_space): Moved to maint.h and renamed
+       to set_per_command_time, set_per_command_space.
+       * cli/cli-setshow.c (parse_cli_boolean_value): Renamed from
+       parse_binary_operation and made non-static.  Don't call error,
+       just return an error marker.  All callers updated.
+       * cli/cli-setshow.h (parse_cli_boolean_value): Declare.
+
+2013-03-21  Tom Tromey  <tromey@redhat.com>
+
+       * symfile.c (alloc_section_addr_info): Update header.  Don't set
+       'num_sections' field.
+       (build_section_addr_info_from_section_table): Set 'num_sections'.
+       (build_section_addr_info_from_bfd): Likewise.
+       (build_section_addr_info_from_objfile): Remove dead loop
+       condition.
+       (free_section_addr_info): Unconditionally call xfree.
+       (relative_addr_info_to_section_offsets, addrs_section_sort)
+       (addr_info_make_relative, syms_from_objfile_1): Remove dead loop
+       condition.
+       (syms_from_objfile_1): Remove dead 'if' condition.  Check
+       'num_sections'.
+       (add_symbol_file_command): Set 'num_sections'.
+       * symfile-mem.c (symbol_file_add_from_memory): Set
+       'num_sections'.
+       * somread.c (som_symfile_offsets): Remove dead loop condition.
+       * machoread.c (macho_symfile_offsets): Remove dead 'if'.
+       * jit.c (jit_bfd_try_read_symtab): Set 'num_sections'.
+
+2013-03-21  Tom Tromey  <tromey@redhat.com>
+
+       * tracepoint.h (decode_agent_options): Add 'trace_string'
+       argument.
+       * tracepoint.c (decode_agent_options): Add 'trace_string'
+       argument.
+       (validate_actionline): Update.
+       (collect_symbol): Add 'trace_string' argument.
+       (struct add_local_symbols_data) <trace_string>: New field.
+       (do_collect_symbol): Update.
+       (add_local_symbols): Add 'trace_string' argument.
+       (encode_actions_1): Update.
+       (trace_dump_actions): Update.
+       * dwarf2loc.c (access_memory): Update.
+       * ax.h (struct agent_expr) <tracing, trace_string>: New fields.
+       * ax-general.c (new_agent_expr): Update.
+       * ax-gdb.h (gen_trace_for_expr, gen_trace_for_var)
+       (gen_trace_for_return_address): Add argument.
+       (trace_kludge, trace_string_kludge): Remove.
+       * ax-gdb.c (trace_kludge, trace_string_kludge): Remove.
+       (gen_traced_pop, gen_fetch, gen_bitfield_ref, gen_expr): Update.
+       (gen_trace_for_var): Add 'trace_string' argument.
+       (gen_trace_for_expr, gen_trace_for_return_address): Likewise.
+       (gen_printf, agent_eval_command_one): Update.
+
+2013-03-21  Tom Tromey  <tromey@redhat.com>
+
+       PR exp/15109:
+       * c-exp.y (yylex): Rewrite to push all tokens onto the FIFO.
+       Handle FILENAME token.
+
+2013-03-21  Tom Tromey  <tromey@redhat.com>
+
+       * c-exp.y (YYPRINT): Define.
+       (c_print_token): New function.
+
+2013-03-21  Tom Tromey  <tromey@redhat.com>
+
+       * c-exp.y (%union) <sym, ivar, ivec>: Remove.
+
+2013-03-21  Yao Qi  <yao@codesourcery.com>
+
+       * ctf.c: Include "gdb_stat.h".
+       [USE_WIN32API]: New macro 'mkdir'.
+       (ctf_start): Use permission bits macros if they are defined.
+
 2013-03-20  Keith Seitz  <keiths@redhat.com>
 
        * breakpoint.h (struct breakpoint): Add comment to
This page took 0.04288 seconds and 4 git commands to generate.