aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-11-21Fix a 32-bit compile error in the previous checkinStan Shebs1-6/+12
2011-11-21*** empty log message ***gdbadmin1-1/+1
2011-11-20 * NEWS: Mention tracepoint additions.Stan Shebs18-65/+962
* breakpoint.h (struct tracepoint): New field traceframe_usage. * breakpoint.c (print_one_breakpoint_location): Identify tracepoints as such when reporting hit counts, report trace buffer usage. (create_tracepoint_from_upload): Copy status info. * tracepoint.h (struct trace_status): Rename error_desc to stop_desc, add fields user_name, notes, start_time, stop_time. (struct uploaded_tp): Add fields hit_count, traceframe_usage. * tracepoint.c (trace_user): New global. (trace_notes): New global. (trace_stop_notes): New global. (start_tracing): Add argument and trace note handling. (stop_tracing): Ditto. (trace_start_command): Add notes argument. (trace_stop_command): Ditto. (trace_status_command): Report additional status info. (trace_status_mi): Similarly. (trace_save): Update, record tracepoint status. (set_disconnected_tracing): Call target method directly. (send_disconnected_tracing_value): Remove. (set_trace_user): New function. (set_trace_notes): New function. (set_trace_stop_notes): New function. (parse_trace_status): Handle additional status. (parse_tracepoint_status): New function. (parse_tracepoint_definition): Call it. (tfile_get_tracepoint_status): New function. (init_tfile_ops): Use it. (_initialize_tracepoint): Add new setshows. * target.h (struct target_ops): New methods to_get_tracepoint_status and to_set_trace_notes. (target_get_tracepoint_status): New macro. (target_set_trace_notes): New macro. * target.c (update_current_target): Add new methods. * remote.c (remote_get_tracepoint_status): New function. (remote_set_trace_notes): New function. (init_remote_ops): Add them. * mi/mi-main.c (mi_cmd_trace_start): Add argument to call. (mi_cmd_trace_stop): Ditto. * tracepoint.c (struct tracepoint): New field traceframe_usage. (tracing_start_time): New global. (tracing_stop_time): New global. (tracing_user_name): New global. (tracing_notes): New global. (tracing_stop_note): New global. (cmd_qtstart): Set traceframe_usage, start_time. (stop_tracing): Set stop_time. (cmd_qtstatus): Report additional status. (cmd_qtp): New function. (handle_tracepoint_query): Call it. (cmd_qtnotes): New function. (handle_tracepoint_general_set): Call it. (get_timestamp): Rename from tsv_get_timestamp. * gdb.texinfo (Starting and Stopping Trace Experiments): Document note-related options and variables. (Tracepoint Packets): Document packet changes. * gdb.trace/tstatus.exp: New. * gdb.trace/actions.c: Include string.h.
2011-11-20daily updateAlan Modra1-1/+1
2011-11-20gdb/doc/Sanjoy Das2-0/+123
* gdb.texinfo (JIT Interface): Add documentation on writing and usind JIT debug info readers. (Custom Debug Info, Using JIT Debug Info Readers, Writing JIT Debug Info Readers): New nodes.
2011-11-20gdb/Sanjoy Das2-0/+272
* jit.c: Include regcache.h. (jit_gdbarch_data, jit_frame_unwind): New static variables. (jit_unwind_reg_set_impl, free_reg_value_impl) (jit_unwind_reg_get_impl, jit_frame_sniffer) (jit_frame_unwind_stop_reason, jit_frame_this_id) (jit_frame_prev_register, jit_dealloc_cache) (jit_prepend_unwinder, jit_gdbarch_data_init): New functions. (jit_inferior_init): Prepend (new) pseudo unwinder by calling jit_prepend_unwinder. (_initialize_jit): Register new gdbarch data jit_gdbarch_data.
2011-11-20gdb/Sanjoy Das2-13/+480
* jit.c: Include block.h, dictionary.h and frame-unwind.h. (add_objfile_entry, jit_target_read_impl, jit_object_open_impl) (jit_symtab_open_impl, compare_block, jit_block_open_impl) (jit_symtab_line_mapping_add_impl, jit_symtab_close_impl) (finalize_symtab, jit_object_close_impl) (jit_reader_try_read_symtab, jit_bfd_try_read_symtab) (free_objfile_data): New functions. (_initialize_jit): Register jit_objfile_data with a proper cleanup function.
2011-11-20gdb/Sanjoy Das2-0/+109
* jit.c: Include gdb-dlfcn.h. (loaded_jit_reader, reader_init_fn_sym): New static variables. (jit_reader_load, jit_reader_load_command) (jit_reader_unload_command): New functions. (_initialize_jit): Add commands "jit-reader-load" and "jit-reader-unload".
2011-11-20gdb/Sanjoy Das7-5/+268
* Makefile.in: Add gdb-dlfcn.c and gdb-dlfcn.h to build system. * config.in: Add new #define HAVE_LIBDL. * configure.ac: Add check for -ldl. * configure: Re-generated by autoconf. * gdb-dlfcn.c: New file. * gdb-dlfcn.h: New file.
2011-11-20gdb/Sanjoy Das5-0/+74
* config.in: Add new #defines: JIT_READER_DIR and JIT_READER_DIR_RELOCATABLE. * configure.ac: New GDB directory entry for jit-reader-dir. * configure: Re-generated by autoconf. * jit.c: New static variable: const char *jit_reader_dir. (_initialize_jit): Relocate jit_reader_dir.
2011-11-20gdb/Sanjoy Das6-4/+511
* Makefile.in: Add jit-reader.h as a header. Have it installed in $(includedir)/gdb. * configure.ac: Generate a correct value for TARGET_PTR for jit-reader.h. Tell configure to generate jit-reader.h from jit-reader.in. * configure: Re-generated by autoconf. * jit-reader.in: New file. * jit.c: Include jit-reader.h.
2011-11-20gdb/Sanjoy Das2-0/+5
* MAINTAINERS (Write After Approval): Add myself to the list.
2011-11-20*** empty log message ***gdbadmin1-1/+1
2011-11-19daily updateAlan Modra1-1/+1
2011-11-19*** empty log message ***gdbadmin1-1/+1
2011-11-18daily updateAlan Modra1-1/+1
2011-11-18 * findvar.c (read_frame_register_value): Respect value_offsetUlrich Weigand2-12/+23
of the register value. Remove big-endian special case.
2011-11-18 PR build/7196:Tom Tromey2-1/+15
* remote.c (putpkt_for_catch_errors): New function. (remote_kill): Use it.
2011-11-18gdb/Yao Qi11-18/+875
* breakpoint.c (create_breakpoint): Produce query message according to breakpoint's type. Allocate tracepoint per correct type. Don't check SALs for pending fast tracepoints. * tracepoint.c (process_tracepoint_on_disconnect): New. (disconnect_tracing): Call process_tracepoint_on_disconnect. gdb/doc/ * gdb.texinfo (Create and Delete Tracepoints): Mention pending tracepoint. gdb/testsuite/ * gdb.trace/pending.exp: New. * gdb.trace/pending.c: New. * gdb.trace/pendshr1.c: New. * gdb.trace/pendshr2.c: New. * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one tracepoint location becomes pending. (tracepoint_change_loc_2): New.
2011-11-18 * breakpoint.c (install_breakpoint): Add one more parameter so thatYao Qi4-11/+27
update_global_location_list is called conditionally. (create_fork_vfork_event_catchpoint): Update. (create_syscall_event_catchpoint): Update. (create_breakpoint_sal): Update. (create_breakpoint_sal): Update. Call do_cleanups before install_breakpoint. * ada-lang.c (create_ada_exception_catchpoint): Update. * breakpoint.h (install_breakpoint): Update declaration.
2011-11-18*** empty log message ***gdbadmin1-1/+1
2011-11-17daily updateAlan Modra1-1/+1
2011-11-172011-11-17 Sterling Augustine <saugustine@google.com>Sterling Augustine4-9/+60
* script.cc (script_include_directive): Implement. (read_script_file): New local variables name and search_path. Update comment. Call IS_ABSOLUTE_PATH and Dirsearch::find_file_in_dir_list. * dirsearch.h (Dirsearch::find_file_in_dir_list): Declare new method. * dirsearch.cc (Dirsearch::find_file_in_dir_list): Implement it.
2011-11-17 * config/tc-sparc.c (md_apply_fix): Handle BFD_RELOC_8.David S. Miller2-2/+10
2011-11-17 * elf32-arm.c (elf32_thumb_to_arm_stub): Sync message so that itAlan Modra2-1/+6
needs to be translated only once.
2011-11-17*** empty log message ***gdbadmin1-1/+1
2011-11-16daily updateAlan Modra1-1/+1
2011-11-16 * spu-tdep.c (spu_return_value): Fix handling ofUlrich Weigand2-5/+18
TYPE_CALLING_CONVENTION annotation.
2011-11-16 * skip.c (skip_function_command): Work around uninitializedUlrich Weigand2-2/+7
variable warning.
2011-11-16 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero whenDavid S. Miller2-1/+6
target is sparc*-*-linux*
2011-11-16 * utils.c (report_command_stats): Cast delta_wall_time 'tv_sec' andDavid S. Miller2-1/+8
'tv_usec' to long for printf since these fields have a type which varies.
2011-11-16 gas/Maciej W. Rozycki14-95/+116
* config/tc-mips.c (macro): Fix unsupported opcode message capitalization. (mips_ip, mips16_ip): Likewise. gas/testsuite/ * gas/mips/mips-double-float-flag.l: Adjust according to unsupported opcode message capitalization fix. * gas/mips/mips-hard-float-flag.l: Likewise. * gas/mips/mips-macro-ill-nofp.l: Likewise. * gas/mips/mips-macro-ill-sfp.l: Likewise. * gas/mips/mips1-fp.l: Likewise. * gas/mips/mips16e-64.l: Likewise. * gas/mips/mips32-sf32.l: Likewise. * gas/mips/mips32r2-fp32.l: Likewise. * gas/mips/mips4-branch-likely.l: Likewise. * gas/mips/mips4-fp.l: Likewise. * gas/mips/octeon-ill.l: Likewise.
2011-11-16 * config/tc-mips.c (ISA_SUPPORTS_MCU_ASE): Also set if microMIPSMaciej W. Rozycki2-1/+7
mode.
2011-11-16 * config/tc-mips.c (macro_build_jalr): Reverse a negativeMaciej W. Rozycki2-6/+12
conditional. (mips_ip): Likewise.
2011-11-16 * micromips-opc.c (micromips_opcodes): Use NODS rather than TRAPMaciej W. Rozycki2-2/+7
for "alnv.ps".
2011-11-16 * config/tc-mips.c (mips_cpu_info_table): Add "m14ke" andMaciej W. Rozycki3-0/+14
"m14kec". * doc/c-mips.texi (MIPS architecture options): Add "m14ke" and "m14kec" to the list of -march options.
2011-11-16 * elf64-mips.c (mips_elf64_howto_table_rela): Set src_mask toMaciej W. Rozycki3-72/+82
zero throughout. (mips16_elf64_howto_table_rela): Likewise. (micromips_elf64_howto_table_rela): Likewise. * elfn32-mips.c (elf_mips_howto_table_rela): Likewise. (elf_mips16_howto_table_rela): Likewise. (elf_micromips_howto_table_rela): Likewise.
2011-11-16*** empty log message ***gdbadmin1-1/+1
2011-11-15 * buildsym.c (add_symbol_to_list): Delete outdated comment.Doug Evans2-5/+6
2011-11-15daily updateAlan Modra1-1/+1
2011-11-15Obvious: Fix error in name of concerned macro ETIMEDOUTPierre Muller1-1/+1
2011-11-15* gdb.python/py-type.exp: New testcases for exceptions on scalar typesPaul Koning2-0/+15
2011-11-15* python/py-type.c (typy_get_composite): New function.Paul Koning2-29/+137
(typy_nonzero): New function. (typy_values): Rename from typy_fields. (typy_fields): New function. (typy_length): Raise exception if not struct, union, or enum type. (typy_getitem): Ditto. (typy_has_key): Ditto. (typy_make_iter): Ditto.
2011-11-15* ld/ldlang.c (insert_pad): Change alignment_needed argument toAndreas Schwab3-3/+12
bfd_size_type. (size_input_section): Change alignment_needed varible to bfd_size_type. * ld/ldlang.h (lang_padding_statement_type): Change size field to bfd_size_type.
2011-11-15 * NEWS: Mention new parameter basenames-may-differ.Doug Evans8-2/+97
* dwarf2read.c (dw2_lookup_symtab): Avoid calling gdb_realpath if ! basenames_may_differ. * psymtab.c (lookup_partial_symtab): Ditto. * symtab.c (lookup_symtab): Ditto. (basenames_may_differ): New global. (_initialize_symtab): New parameter basenames-may-differ. * symtab.h (basenames_may_differ): Declare. doc/ * gdb.texinfo (Files): Document basenames-may-differ.
2011-11-152011-11-15 Pedro Alves <pedro@codesourcery.com>Luis Machado2-16/+117
Luis Machado <lgustavo@codesourcery.com> * auxv.c: Include observer.h. (auxv_inferior_data_cleanup): New. (invalidate_auxv_cache_inf): New. (invalidate_auxv_cache): New. (get_auxv_inferior_data): New. (auxv_inferior_data): New static global. (auxv_info): New structure. (target_auxv_search): Use get_auxv_inferior_data instead of target_read_alloc and don't free cached buffers. (fprint_target_auxv): Likewise (_initialize_auxv): Register per-inferior auxv cache and register observers to invalidate auxv cache when needed.
2011-11-15 * write.c (dump_section_relocs): Don't convert PC-relative relocsMaciej W. Rozycki2-4/+22
that have an in-place addend narrower than the addresses used.
2011-11-15Fix a typo.Maciej W. Rozycki1-1/+1
2011-11-15 * elflink.c (_bfd_elf_create_got_section): ReplaceAlan Modra3-39/+48
bfd_make_section_with_flags with bfd_make_section_anyway_with_flags. (_bfd_elf_link_create_dynamic_sections): Likewise. * elf32-ppc.c (ppc_elf_create_glink): Likewise. (ppc_elf_create_dynamic_sections): Likewise.
2011-11-15 Make "!" an alias for "shell".Doug Evans8-11/+59
* NEWS: Add mention. * cli/cli-cmds.c (init_cli_cmds): Remove xdb_commands condition on adding "!" command, always add it. * cli/cli-decode.c (find_command_name_length): Recognize "!" as a command of length one. doc/ * gdb.texinfo (Shell Commands): Document "!". testsuite/ * gdb.base/shell.exp: New file.