aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2008-06-06*** empty log message ***gdbadmin1-1/+1
2008-06-052008-06-05 Vladimir Prus <vladimir@codesourcery.com>Joseph Myers20-29/+471
Nathan Sidwell <nathan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * acinclude.m4: Include ../config/acx.m4. * configure.ac: Use ACX_PKGVERSION and ACX_BUGURL. * configure, config.in: Regenerate. * main.c (print_gdb_help): Use REPORT_BUGS_TO for bug-reporting address. * top.c (print_gdb_version): Use PKGVERSION and REPORT_BUGS_TO. doc: 2008-06-05 Vladimir Prus <vladimir@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure.ac: Include ../../config/acx.m4. Use ACX_PKGVERSION and ACX_BUGURL. * configure: Regenerate. * Makefile.in (PKGVERSION, BUGURL_TEXI): Define. (GDBvn.texi): Define VERSION_PACKAGE, BUGURL and BUGURL_DEFAULT. * gdb.texinfo: Use VERSION_PACKAGE and BUGURL. Remove mailing-list-specific text about bug reporting unless BUGURL_DEFAULT. gdbserver: 2008-06-05 Vladimir Prus <vladimir@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * acinclude.m4: Include ../../config/acx.m4. * configure.ac: Use ACX_PKGVERSION and ACX_BUGURL. * configure, config.in: Regenerate. * Makefile.in (gdbreplay$(EXEEXT)): Add version.o. * server.c (gdbserver_version): Print PKGVERSION. (gdbsrever_usage): Add stream parameter. Print REPORT_BUGS_TO. (main): Adjust gdbserver_usage calls. * gdbreplay.c (version, host_name): Add declarations. (gdbreplay_version, gdbreplay_usage): New. (main): Accept --version and --help options.
2008-06-05 Replace 'target async' by 'maintenance set remote-async' andPedro Alves4-437/+167
'target remote' combination. * remote.c (remote_async_wait): Merge into remote_wait, and remove. (remote_async_permitted, remote_async_permitted_set): New variables. (set_maintenance_remote_async_permitted) (show_maintenance_remote_async_permitted): New functions. (remote_async_ops, extended_async_remote_ops): Delete. (remote_async_open, extended_remote_async_open): Delete. (remote_open_1): Drop async_p parameter. Update callers. Replace async_p with remote_async_permitted checks. (extended_async_remote_attach): Delete. (remote_resume, remote_async_resume): Merge and leave remote_resume. (remote_async_terminal_inferior): Rename to... (remote_terminal_inferior): ... this, and add remote_async_termitted check. (remote_async_terminal_ours): Rename to... (remote_terminal_ours): ... this, and add remote_async_termitted check. (remote_wait, remote_async_wait): Merge and leave remote_wait only. (remote_kill, remote_async_kill): Merge and leave remote_kill only. (remote_async_mourn, extended_async_remote_mourn): Delete. (extended_remote_create_inferior_1): Drop async_p parameter. Update callers. Always use extended_remote_ops. (extended_remote_async_create_inferior): Delete. (remote_return_zero): Delete. (init_remote_ops): Register remote_can_async_p, remote_async, remote_async_mask, remote_terminal_inferior and remote_terminal_ours. (remote_can_async_p, remote_is_async_p): Check for remote_async_permitted. (init_remote_async_ops, init_extended_async_remote_ops): Remove. (set_remote_cmd): Don't add async and extended-async targets. (_initialize_remote): Add set/show remote-async maintenance commands. gdb/doc/ * gdb.texinfo (-target-select): Remove reference to target async. (Maintenance Commands): Document "maint set/show remote-async".
2008-06-05 * remote.c (kill_kludge): Delete.Pedro Alves2-24/+6
(remote_wait, remote_async_wait): Don't set it. (remote_kill, remote_async_kill): Don't do anything with it.
2008-06-05gdb/Pedro Alves6-1/+169
* linux-thread-db.c (thread_db_wait): Don't trim event ptid. testsuite/ * gdb.threads/execl.c, gdb.threads/execl1.c, gdb.threads/execl.exp: New tests.
2008-06-05 * bcache.c (bcache_data): Call deprecated_bcache_added function.Aleksandar Ristovski4-45/+122
(deprecated_bcache_added): New function name. Body of function bcache_data is used here with the addition of 'added' argument. * bcache.h (deprecated_bcache_added): New function. * symfile.c (add_psymbol_to_bcache): New helper function, takes part of work from add_psymbol_to_list - initialises partial symbol and stashes it in objfile's cache. (append_psymbol_to_list): New helper function, takes other part of work from add_psymbol_to_list - adds partial symbol to the given list. (add_psymbol_to_list): Call helper functions instead of doing work here. If adding to global list, do not duplicate partial symbols in the partial symtab.
2008-06-05 * gdb.cp/exception.exp: Activate test, make it work with pendingAleksandar Ristovski2-52/+63
catchpoints.
2008-06-05 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.Jan Kratochvil3-0/+367
2008-06-05 * breakpoint.c (print_exception_catchpoint): Put 'exception' back toAleksandar Ristovski2-2/+7
'exception caught|thrown' message.
2008-06-05 * Makefile.in: Update dependencies.Jan Kratochvil3-1/+26
* dwarf2expr.c: New include "gdb_assert.h". (new_dwarf_expr_context): Initialize MAX_RECURSION_DEPTH. (dwarf_expr_eval): Sanity check the RECURSION_DEPTH count. (execute_stack_op): Error out on too large RECURSION_DEPTH. Increase/decrease RECURSION_DEPTH around the function.
2008-06-05 * remote.c (get_offsets): Handle a single segment.Daniel Jacobowitz3-10/+19
* symfile.c (symfile_map_offsets_to_segments): Allow more bases than segments.
2008-06-05*** empty log message ***gdbadmin1-1/+1
2008-06-042008-06-04 Marc Khouzam <marc.khouzam@ericsson.com>Marc Khouzam2-1/+6
* gdb.texinfo (GDB/MI File Transfer Commands): Typo in -target-file-get section.
2008-06-04 * linux-arm-low.c (thumb_breakpoint, thumb_breakpoint_len): New.Daniel Jacobowitz2-9/+37
(arm_breakpoint_at): Handle Thumb. (the_low_target): Add comment.
2008-06-04*** empty log message ***gdbadmin1-1/+1
2008-06-03 * solib-svr4.c (struct lm_info): Add lm_addr.Daniel Jacobowitz2-65/+38
(main_lm_addr): New. (svr4_default_sos): Set lm_addr. (svr4_current_sos): Set lm_addr and main_lm_addr. (svr4_fetch_objfile_link_map): Rewrite. (svr4_clear_solib): Clear main_lm_addr.
2008-06-032008-06-03 Michael Snyder <msnyder@redhat.com>Joseph Myers2-2/+57
Joseph Myers <joseph@codesourcery.com> * mips-tdep.c (mips_eabi_return_value): Replace stub that always returned RETURN_VALUE_STRUCT_CONVENTION with a real function.
2008-06-03*** empty log message ***gdbadmin1-1/+1
2008-06-02 * m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Fix incorrect test.Joel Brobecker2-1/+5
2008-06-02 * m68k-tdep.c (m68k_analyze_prologue): Fix length of lea insn.Joel Brobecker2-1/+5
2008-06-02 * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Do notJoel Brobecker2-4/+21
treat pointers in data space as function descriptors if the target address is also in the data space.
2008-06-02*** empty log message ***gdbadmin1-1/+1
2008-06-01*** empty log message ***gdbadmin1-1/+1
2008-05-31*** empty log message ***gdbadmin1-1/+1
2008-05-30 * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): SetJoel Brobecker2-0/+10
the trad-frame register value for the SP register.
2008-05-30*** empty log message ***gdbadmin1-1/+1
2008-05-29* sparcnbsd-tdep.c, sparcobsd-tdep.c: Update for unwinder changes.Mark Kettenis3-66/+71
2008-05-29 * linux-ppc-low.c (ppc_collect_ptrace_register): Clear buffer.Ulrich Weigand2-0/+7
2008-05-29 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Improve the heuristicJoel Brobecker2-4/+16
that identifies function descriptors outside of the .opd section.
2008-05-29*** empty log message ***gdbadmin1-1/+1
2008-05-28 * breakpoint.c (print_exception_catchpoint): In CLI add 'Temporary' forAleksandar Ristovski2-12/+43
temporary catchpoints. In MI add missing fields 'reason', 'disp', 'bkptno'. (print_mention_exception_catchpoint): Add 'Temporary' for temporary catchpoints. (handle_gnu_v3_exceptions): Use tempflag.
2008-05-28 Refactor varobj_update interface.Vladimir Prus7-103/+100
* varobj.c (varobj_update): Report changes as vector. Also return not just a list of varobj, but a list of special structures that tell what exactly has changed. * varobj.h (enum varobj_update_error): Rename to varobj_scope_status. (struct varobj_update_result_t): New. (varobj_update): Adjust prototype. * mi/mi-cmd-var.c: Adjust for changes.
2008-05-28 * varobj.c (varobj_update): Fix comment typo.Vladimir Prus2-9/+14
Fix indentation.
2008-05-28*** empty log message ***gdbadmin1-1/+1
2008-05-27 Set the symtab field of symbols read from ECOFF debugging entries.Joel Brobecker2-11/+18
* mdebugread.c (add_symbol): Add new parameter symtab. (parse_symbol): Update calls to add_symbol throughout.
2008-05-27 * symtab.h (enum address_class): Remove LOC_REGPARM andAndreas Schwab21-237/+144
LOC_COMPUTED_ARG. (struct symbol): Add is_argument. (SYMBOL_IS_ARGUMENT): Define. * ada-lang.c (ada_add_block_symbols): Use SYMBOL_IS_ARGUMENT. * buildsym.c (finish_block): Likewise. * stack.c (print_frame_args, print_block_frame_locals) (print_frame_arg_vars): Likewise. * symtab.c (lookup_block_symbol): Likewise. * tracepoint.c (add_local_symbols): Likewise. * mi/mi-cmd-stack.c (list_args_or_locals): Likewise. * coffread.c (process_coff_symbol): Set SYMBOL_IS_ARGUMENT. * dwarf2read.c (new_symbol): Likewise. * mdebugread.c (parse_symbol): Likewise. * stabsread.c (define_symbol): Likewise. * ada-exp.y (select_possible_type_sym): Don't handle LOC_REGPARM and LOC_COMPUTED_ARG. * ada-lang.c (resolve_subexp, symtab_for_sym): Likewise. * ax-gdb.c (gen_var_ref): Likewise. * eval.c (evaluate_subexp_for_address): Likewise. * findvar.c (symbol_read_needs_frame, read_var_value): Likewise. * m2-exp.y (yylex): Likewise. * printcmd.c (address_info): Likewise. * symmisc.c (print_symbol, print_partial_symbols): Likewise. * tracepoint.c (collect_symbol, scope_info): Likewise. testsuite/: * gdb.base/frame-args.exp: Handle arguments that are optimized out.
2008-05-27*** empty log message ***gdbadmin1-1/+1
2008-05-26 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failureLuis Machado2-2/+7
quiet for ppc32 and group options into a single variable.
2008-05-26*** empty log message ***gdbadmin1-1/+1
2008-05-25*** empty log message ***gdbadmin1-1/+1
2008-05-24 * gdbarch.sh: Added new gdbarch structCarlos Eduardo Seo11-30/+145
core_regset_sections. * gdbarch.c: Refreshed. * gdbarch.h: Refreshed. * regset.h (core_regset_section): Declared. * linux-nat.c (linux_nat_do_thread_registers): Added support for the new gdbarch struct core_regset_sections. * utils.c (host_address_to_string): New function. * defs.h (host_address_to_string): New prototype. * i386-linux-tdep.c (i386_regset_rections): New register sections list for i386. (i386_linux_init_abi): Initialized new gdbarch struct core_regset_sections. * Makefile.in: Updated to reflect dependency changes. * ppc-linux-tdep.c (ppc_regset_sections): Register sections list for ppc. (ppc_linux_init_abi): Initialized new gdbarch struct core_regset_sections
2008-05-24*** empty log message ***gdbadmin1-1/+1
2008-05-23* linespec.c (decode_objc): Save current language around call toAndreas Schwab2-2/+15
get_selected_block.
2008-05-23 * gdb.ada/null_array/foo.adb: Add multi-dimensional arrayJoel Brobecker3-3/+16
of zero-size elements. * gdb.ada/null_array.exp: Test printing this new array.
2008-05-23 * valprint.h (get_array_bounds): Renames get_array_low_bound.Joel Brobecker4-90/+152
* valprint.c (get_array_bounds): Renames get_array_low_bound. Return the proper bound value if the array index type is an enumerated type. Compute the high bound if requested. (val_print_array_elements): Handle the case when the array element has a null size. * ada-valprint.c (print_optional_low_bound): Add handling for empty arrays or arrays of zero-size elements. (ada_val_print_array): New function, extracted out from ada_val_print_1 case TYPE_CODE_ARRAY, and enhanced to handle empty arrays and arrays of zero-size elements. (ada_val_print_1)[case TYPE_CODE_ARRAY]: Replace extracted-out code by call to ada_val_print_array. (ada_value_print): Remove handling of null array. The handling was incomplete and is now better handled by ada_val_print_array.
2008-05-23 * annotate.c (annotate_source, annotate_frame_begin): ReplaceMarkus Deuling7-55/+27
deprecated_print_address_numeric with paddress. * cli/cli-cmds.c (list_command, edit_command): Likewise. * tui/tui-stack.c (tui_make_status_line): Likewise. * defs.h (deprecated_print_address_numeric): Remove. * printcmd.c (deprecated_print_address_numeric): Remove. * maint.c (maint_print_section_info): Fix comment.
2008-05-23 * valprint.c (print_hex_chars, print_octal_chars, print_decimal_chars,Markus Deuling4-30/+43
print_binary_chars, print_char_chars): Add byte_order parameter and replace gdbarch_byte_order. (print_decimal_chars): Replace START_P, NOT_END_P and NEXT_P by their expressions and remove them. Remove unused TWO_TO_FOURTH. (val_print_type_code_int): Introduce gdbarch_byte_order to get at the endianness. Update call to print_hex_chars. * valprint.h (print_hex_chars, print_octal_chars, print_decimal_chars, print_binary_chars, print_char_chars): Add byte_order parameter. * printcmd.c (print_scalar_formatted): Introduce gdbarch_byte_order to get at the endianness. Update print_*_char calls to use byte_order.
2008-05-23*** empty log message ***gdbadmin1-1/+1
2008-05-22 * gdb.texinfo (vAttach, vRun): Re-remove requirement of the stubPedro Alves2-3/+3
killing the inferior when it is already debugging a process.
2008-05-22 * gdb.texinfo (vAttach): Re-remove requirement of the stub killingPedro Alves2-2/+7
the inferior when it is already debugging a process.