aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2007-09-17 * infrun.c (insert_step_resume_breakpoint_at_frame): Add assertionJoel Brobecker1-0/+5
that return_frame is not null.
2007-09-17 * solib-svr4.c: Add include of "auxv.h".Joel Brobecker1-0/+6
(enable_break): Use the AT_BASE auxiliary entry if available. * Makefile.in (solib-svr4.o): Update dependencies.
2007-09-17 * NEWS: Create a new section for the next release branch.Joel Brobecker1-0/+6
Rename the section of the current branch, now that it has been cut.
2007-09-17 * dwarf2loc.c (dwarf_expr_frame_base): Guard against NULL.Jerome Guitton1-0/+5
* Makefile.in (dwarf2loc.o): Depend on gdb_assert.h.
2007-09-16 * mi/mi-cmds.c (mi_cmds): Register -list-features.Vladimir Prus1-0/+6
* mi/mi-cmds.h (mi_cmd_list_features): New. * mi/mi-main.c (mi_cmd_list_features): New.
2007-09-11Record GDB 6.7 branch creation. Bump version number to 6.7.50-20070911-cvs.gdbadmin1-0/+5
2007-09-10 * thread.c (free_thread): Do not delete the step resume breakpointDaniel Jacobowitz1-0/+5
right away.
2007-09-10 * arch-utils.c (gdbarch_info_fill): Also try core_bfd.Daniel Jacobowitz1-0/+14
* corelow.c (core_read_description): New. (init_core_ops): Set to_read_description. * gdbarch.sh: Add gdbarch_core_read_description. * mips-linux-tdep.c (mips_linux_core_read_description): New. (mips_linux_init_abi): Call set_gdbarch_core_read_description. * mips-tdep.c (mips_tdesc_gp32, mips_tdesc_gp64): New. (mips_register_g_packet_guesses): Use them. (_initialize_mips_tdep): Initialize them. * mips-tdep.h (mips_tdesc_gp32, mips_tdesc_gp64): Declare. * gdbarch.h, gdbarch.c: Regenerated.
2007-09-10 * infrun.c (stepping_past_breakpoint): New global variable.Ulrich Weigand1-0/+18
(stepping_past_breakpoint_ptid): Likewise. (prepare_to_proceed): Add STEP parameter. Do not check for Ctrl-C. Only switch threads if we need to single-step over a breakpoint hit in the previously selected thread. If stepping, remember previous thread to switch back to in STEPPING_PAST_BREAKPOINT[_PTID]. Call switch_to_thread instead of copying its contents. (proceed): Pass STEP to prepare_to_proceed. Always set ONEPROC if prepare_to_proceed returns true. (init_wait_for_inferior): Reset STEPPING_PAST_BREAKPOINT. (context_switch): Call switch_to_thread. (handle_inferior_event): Switch back to previous thread if requested in STEPPING_PAST_BREAKPOINT[_PTID] by prepare_to_proceed. * gdbthread.h (switch_to_thread): Add prototype. * thread.c (switch_to_thread): Make global.
2007-09-072007-09-07 Pierre Muller <muller@ics.u-strasbg.fr>gdb_6_7-branchpointPierre Muller1-0/+9
* p-valprint.c: Fix 7 ARI reported problems. (pascal_val_print): Fix one operator at end of line issue. Use paddress function to remove use of deprecated_print_address_numeric function (2 times). Use SYMBOL_LINKAGE_NAME instead of DEPRECATED_SYMBOL_NAME. (pascal_value_print): Fix 3 operator at end of line issues.
2007-09-07 PR gdb/2103Daniel Jacobowitz1-0/+6
* arm-tdep.c (arm_in_call_stub): Delete. (arm_skip_stub): Handle from_arm and from_thumb stubs.
2007-09-06 * ppc-sysv-tdep.c (do_ppc_sysv_return_value): Handle other integerDaniel Jacobowitz1-0/+5
types.
2007-09-05 * NEWS: Update description of string changes. Mention print/s.Daniel Jacobowitz1-0/+24
* c-valprint.c (textual_element_type): New. (c_val_print): Use it. Do not skip address printing for pointers with a string format. (c_value_print): Doc update. * dwarf2read.c (read_array_type): Use make_vector_type. * gdbtypes.c (make_vector_type): New. (init_vector_type): Use it. (gdbtypes_post_init): Initialize builtin_true_unsigned_char. (_initialize_gdbtypes): Mark int8_t and uint8_t as TYPE_FLAG_NOTTEXT. * gdbtypes.h (struct builtin_type): Add builtin_true_unsigned_char. (TYPE_FLAG_NOTTEXT, TYPE_NOTTEXT): New. (make_vector_type): New. * printcmd.c (print_formatted): Only handle 's' and 'i' for examine. Call the language print routine for string format. (print_scalar_formatted): Call val_print for string format. Handle unsigned original types for char format. (validate_format): Do not reject string format. * stabsread.c (read_type): Use make_vector_type. * xml-tdesc.c (tdesc_start_vector): Use init_vector_type. * gdb.texinfo (Output Formats): Update 'c' description. Describe 's'. (Examining Memory): Update mentions of the 's' format. (Automatic Display): Likewise. * gdb.arch/i386-sse.exp: Do not expect character constants. * gdb.base/charsign.c, gdb.base/charsign.exp: Delete. * gdb.base/display.exp: Allow print/s. * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed and unsigned char array changes.
2007-09-052007-09-04 Michael Snyder <msnyder@access-company.com>Michael Snyder1-0/+3
* expprint.c (print_subexp_standard): Check strchr for null. * Makefile.in (expprint.o): Depend on gdb_assert.h.
2007-09-052007-09-04 Michael Snyder <msnyder@access-company.com>Michael Snyder1-0/+2
* gnu-v2-abi.c (gnuv2_value_rtti_type): Guard against null.
2007-09-052007-09-04 Michael Snyder <msnyder@access-company.com>Michael Snyder1-0/+5
* stabsread.c (patch_block_status): Guard against null. * Makefile.in (stabsread.o): Depend on gdb_assert.h.
2007-09-04 * printcmd.c (printf_command): Handle ptr_arg. Correct typoDaniel Jacobowitz1-0/+5
in internal error message. * gdb.base/display.exp: Add tests for printf %p.
2007-09-04 * infcmd.c (post_create_inferior): Update comment.Pedro Alves1-0/+45
(run_command_1): Always call post_create_inferior with 0 as from_tty. * i386-cygwin-tdep.h: New. * i386-cygwin-tdep.c: Include "i386-cygwin-tdep.h". (win32_xfer_shared_library): Make it extern. * win32-nat.c: Include gdb_obstack.h and xml-support.h and i386-cygwin-tdep.h. (win32_so_ops): Delete. (get_relocated_section_addrs): Delete. (solib_symbols_add): Delete. (register_loaded_dll): Delete. (win32_make_so): New. (handle_load_dll): Use win32_make_so. (win32_free_so): Free the passed in so. (win32_relocate_section_addresses): Delete. (win32_solib_create_inferior_hook): Delete. (handle_unload_dll): Don't add PE offset here. Free so with win32_free_so instead of free_so. (win32_special_symbol_handling): Delete. (get_win32_debug_event): Remove unneeded calls. Set state to TARGET_WAITKIND_LOADED on a dll unload. (do_initial_win32_stuff): Clear cygwin_load_start and cygwin_load_end. (map_code_section_args): Delete. (dll_code_sections_add): Delete. (core_section_load_dll_symbols): Delete. (win32_xfer_shared_libraries): New. (win32_current_sos): Delete. (win32_xfer_partial): New. (open_symbol_file_object): Delete. (in_dynsym_resolve_code): Delete. (init_win32_ops): Set win32_xfer_partial as to_xfer_partial member of win32_ops. Remove win32_so_ops settings. Don't set current_target_so_ops here. * Makefile.in (i386_cygwin_tdep_h): New variable. (i386-cygwin-tdep.o): Update dependencies. (win32-nat.o): Update dependencies.
2007-09-03 * gdbarch.sh (core_xfer_shared_libraries): New.Pedro Alves1-0/+36
* corelow.c (core_xfer_partial): Handle TARGET_OBJECT_LIBRARIES. * gdb_obstack.h (obstack_grow_str, obstack_grow_str0): New. * xml-support.c (gdb_xml_parse): Debug output tweaks. (xml_escape_text): New. * xml-support.h (xml_escape_text): Declare. * config/i386/cygwin.mh (NATDEPFILES): Move corelow.o to ... * config/i386/cygwin.mt (TDEPFILES): ... here. * win32-nat.c: (fetch_elf_core_registers): Delete. (win32_elf_core_fn): Delete. (_initialize_core_win32): Delete. * i386-cygwin-tdep.c: Include "regset.h", "gdb_objstack.h", "xml-support.h" and "gdbcore.h". (i386_win32_gregset_reg_offset): New. (I386_WIN32_SIZEOF_GREGSET): New. (i386_win32_regset_from_core_section): New. (win32_xfer_shared_library): New. (struct cpms_data): New. (core_process_module_section): New. (win32_core_xfer_shared_libraries): New. (i386_cygwin_skip_trampoline_code): Register gregset_reg_offset, gregset_num_regs, sizeof_gregset members of tdep. Register regset_from_core_section and core_xfer_shared_libraries callbacks. * Makefile.in (i386-cygwin-tdep.o): Update dependencies. * gdbarch.h, gdbarch.c: Regenerate.
2007-09-03 * corelow.c (core_xfer_partial): Pass writebuf toPedro Alves1-0/+5
deprecated_xfer_memory in TARGET_OBJECT_MEMORY write case.
2007-09-03 * arm-tdep.h (arm_skip_stub): Declare.Pedro Alves1-0/+10
* arm-wince-tdep.c: Don't include "solib-svr4.h". Include "gdbcore.h". (arm_pe_skip_trampoline_code): New function. (arm_wince_init_abi): Register arm_pe_skip_trampoline_code as gdbarch_skip_trampoline_code callback. * Makefile.in (arm-wince-tdep.o): Update dependencies.
2007-09-03 * MAINTAINERS: Move Fred Fish to Past Maintainers.Daniel Jacobowitz1-0/+4
2007-09-03 * configure.ac: Add --with-expat.Daniel Jacobowitz1-0/+5
* configure: Regenerated.
2007-09-03 * configure.ac: Accept --with-system-readline.Andreas Schwab1-0/+9
(READLINE, READLINE_DEPS, READLINE_CFLAGS): Define and substitute. * configure: Regenerate. * Makefile.in (READLINE, READLINE_DEPS, READLINE_CFLAGS): Use substituted values. (CDEPS): Use $(READLINE_DEPS) instead of $(READLINE).
2007-09-03 * mi-main.c (mi_load_progress): Handle MI2 and MI3 interpreters.Daniel Jacobowitz1-0/+5
2007-09-03Add missed changelog entry.Daniel Jacobowitz1-0/+1
2007-09-02 * top.c (print_gdb_version): Fixed a string end-of-line compiler error.Jan Kratochvil1-0/+4
2007-09-02 * top.c (print_gdb_version): Update for GPL version 3.Daniel Jacobowitz1-0/+4
* gdb.texinfo: Update the FSF's Back-Cover Text.
2007-09-02 * NEWS: Mention the build-id .debug files verification.Jan Kratochvil1-0/+4
2007-09-02 * linux-nat.c (linux_nat_make_corefile_notes): Fixed a buffer overflow.Jan Kratochvil1-0/+4
2007-09-01 * Makefile.in (symfile.o): Update dependencies.Jan Kratochvil1-0/+10
* symfile.c (symbol_file_add_with_addrs_or_offsets): Initialize the DEBUGFILE variable. FIND_SEPARATE_DEBUG_FILE called only if !PSYMTABS. (struct build_id): New structure. (build_id_bfd_get, build_id_verify, build_id_to_debug_filename): New. (find_separate_debug_file): New variable BUILD_ID. Call BUILD_ID_BFD_GET with BUILD_ID_TO_DEBUG_FILENAME as the first try.
2007-08-31 * varobj.c (struct varobj): Fix commentVladimir Prus1-0/+6
for the type member not to lie when it can be NULL.
2007-08-31 Implement -var-info-path-expression.Vladimir Prus1-0/+29
* mi/mi-cmds.h (mi_cmd_var_info_path_expression): Declare. * mi/mi-cmds.c (mi_cmds): Register var-info-path-expression. * mi/mi-cmd-var.c (mi_cmd_var_info_path_expression): New. * varobj.c (struct varobj): New field 'path_expr'. (c_path_expr_of_child, cplus_path_expr_of_child) (java_path_expr_of_child): New. (struct language_specific): New field path_expr_of_child. (varobj_create): Initialize the path_expr field. (varobj_get_path_expr): New. (new_variable): Initialize the path_expr field. (free_variable): Free the path_expr field. (adjust_value_for_children_access): New parameter WAS_TYPE. (c_number_of_children): Adjust. (c_describe_child): New parameter CFULL_EXPRESSION. Compute full expression. (c_value_of_child, c_type_of_child): Adjust. (cplus_number_of_children): Adjust. (cplus_describe_child): New parameter CFULL_EXPRESSION. Compute full expression. (cplus_name_of_child, cplus_value_of_child) (cplus_type_of_child): Adjust. * varobj.h (varobj_get_path_expr): Declare.
2007-08-31 * mi/mi-cmd-var.c (print_varobj): If a varobjVladimir Prus1-0/+5
type is NULL, don't try to print it.
2007-08-30 * ppc-linux-nat.c (right_fill_reg): Delete.Alan Modra1-0/+45
(supply_gregset): Use ppc_supply_gregset. (supply_fpregset): Use ppc_supply_fpregset. (fill_gregset): Use ppc_collect_gregset. (fill_fpregset): Use ppc_collect_fpregset. * ppc-linux-tdep.c (PPC_LINUX_PT_*): Don't define. (right_supply_register, ppc_linux_supply_gregset): Delete. (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): Delete. (ppc_linux_supply_fpregset): Delete. (ppc_linux_collect_gregset): New function. (ppc32_linux_reg_offsets, ppc64_linux_reg_offsets): New. (ppc32_linux_gregset, ppc64_linux_gregset): Update to use reg offsets, ppc_linux_supply_gregset, and ppc_collect_gregset. (ppc_linux_fpregset): Rename to ppc32_linux_fpregset and update. (ppc_linux_gregset, ppc_linux_fpregset): New functions. (ppc_linux_regset_from_core_section): Update. * ppc-tdep.h (ppc_linux_gregset, ppc_linux_fpregset): Declare. (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Delete. (struct ppc_reg_offsets): Add gpr_size, xr_size, fpscr_size fields. * ppcobsd-tdep.c (ppcobsd_supply_gregset): Delete FIXME and assert. (ppcobsd_collect_gregset): Likewise. (_initialize_ppcnbsd_tdep): Init gpr_size, xr_size, fpscr_size. * ppcnbsd-tdep.c (_initialize_ppcobsd_tdep): Likewise. * ppcobsd-nat.c (_initialize_ppcobsd_nat): Likewise. * rs6000-aix-tdep.c (rs6000_aix32_reg_offsets): Likewise. (rs6000_aix64_reg_offsets): Likewise. (rs6000_aix_supply_regset): Call ppc_supply_fpregset without testing ppc_floating_point_unit_p. (rs6000_aix_collect_regset): Similarly. * rs6000-tdep.c (ppc_supply_reg): Add regsize param. Adjust offset when regsize is larger than regcache register size. (ppc_collect_reg): Similarly zero pad when regsize is larger than regcache register size. (ppc_greg_offset): New function, split out from.. (ppc_supply_gregset): ..here. Separate code handling all regs from single reg case. Correct xer offset. (ppc_fpreg_offset): New function, split out from.. (ppc_supply_fpregset): ..here. Separate code handling all regs from single reg case. (ppc_collect_gregset, ppc_collect_fpregset): Likewise. (ppc_supply_fpregset, ppc_collect_fpregset): Don't assert we have a fp unit, instead return if no fp.
2007-08-29* breakpoint.c (watch_command_1): Remove '#ifdef HPUXHPPA' block;Jim Blandy1-0/+5
this code has not been compiled for two years.
2007-08-292007-08-29 Michael Snyder <msnyder@access-company.com>Michael Snyder1-0/+4
* event-top.c (gdb_readline2): Return after EOF.
2007-08-29 * symtab.c: Remove a function that has been commented out 3 years ago.Joel Brobecker1-0/+4
2007-08-292007-08-29 Randolph Chung <tausq@debian.org>Carlos O'Donell1-0/+7
* hppa-tdep.c (hppa32_cannot_fetch_register) (hppa64_cannot_fetch_register): New functions. (hppa_gdbarch_init): Set cannot_fetch_register appropriately. * hppa-tdep.h (hppa_regnum): Add HPPA_CR26_REGNUM.
2007-08-282007-08-28 Michael Snyder <msnyder@access-company.com>Michael Snyder1-0/+3
* mi/mi-cmd-var.c (mi_print_value_p): No longer necessary to check for null before calling check_typedef.
2007-08-282007-08-28 Michael Snyder <msnyder@access-company.com>Michael Snyder1-0/+4
* NEWS: Mention Coverity bug fixes.
2007-08-27ChangeLog gdb/:Ulrich Weigand1-0/+7
* spu-tdep.c (spu_pointer_to_address): New function. (spu_integer_to_address): Likewise. (spu_gdbarch_init): Add spu_pointer_to_address and spu_integer_to_address to gdbarch. ChangeLog gdb/testsuite/: * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses to fit into SPU Local Store memory.
2007-08-26 * arm-wince-tdep.c (ARM_WINCE_JB_PC): Change to 10.Pedro Alves1-0/+4
2007-08-23 * Makefile.in (copying.c): Use the top-level COPYING3 as the fileJoel Brobecker1-0/+7
that contains the GDB license. * copying.awk: Adjust to the GPLv3 wording. * copying.c: Regenerate.
2007-08-23Spelling fix.Joel Brobecker1-1/+1
2007-08-23 * copying.awk: Protoization, and I18n markup.Joel Brobecker1-0/+4
2007-08-23 * config/djgpp/djconfig.sh: Switch license to GPLv3.Joel Brobecker1-1/+13
* copyright.sh: Likewise. * gdb-events.sh: Likewise. * gdb_gcore.sh: Likewise. * gdb_mbuild.sh: Likewise. * gdbarch.sh: Likewise. * observer.sh: Likewise. * features/feature_to_c.sh: Likewise. * regformats/regdat.sh: Likewise.
2007-08-23 Switch the license of all .c files to GPLv3.Joel Brobecker1-0/+6
Switch the license of all .h files to GPLv3. Switch the license of all .cc files to GPLv3.
2007-08-23 * configure.ac: Switch license to GPLv3.Joel Brobecker1-0/+4
2007-08-22 * mips-tdep.c (mips_gdbarch_init): Use Tag_GNU_MIPS_ABI_FP toDaniel Jacobowitz1-0/+5
determine the file's FPU type.