aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2007-09-052007-09-04 Michael Snyder <msnyder@access-company.com>Michael Snyder3-1/+6
* 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 Snyder2-2/+6
* gnu-v2-abi.c (gnuv2_value_rtti_type): Guard against null.
2007-09-052007-09-04 Michael Snyder <msnyder@access-company.com>Michael Snyder3-1/+9
* stabsread.c (patch_block_status): Guard against null. * Makefile.in (stabsread.o): Depend on gdb_assert.h.
2007-09-05*** empty log message ***gdbadmin1-1/+1
2007-09-04 * linux-low.c (linux_wait_for_event): Do not pass signals whileDaniel Jacobowitz2-3/+10
single-stepping.
2007-09-04 * printcmd.c (printf_command): Handle ptr_arg. Correct typoDaniel Jacobowitz4-1/+71
in internal error message. * gdb.base/display.exp: Add tests for printf %p.
2007-09-04Revert accidentally committed hunk... Sorry.Pedro Alves1-7/+6
2007-09-04 * infcmd.c (post_create_inferior): Update comment.Pedro Alves7-685/+286
(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-04*** empty log message ***gdbadmin1-1/+1
2007-09-03 * gdbarch.sh (core_xfer_shared_libraries): New.Pedro Alves14-98/+408
* 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 Alves2-4/+9
deprecated_xfer_memory in TARGET_OBJECT_MEMORY write case.
2007-09-03 * arm-tdep.h (arm_skip_stub): Declare.Pedro Alves4-4/+53
* 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 * win32-low.c (create_process): New.Pedro Alves2-35/+67
(win32_create_inferior): Use create_process instead of CreateProcess. If create_process failed retry appending an ".exe" suffix. Store the GetLastError result immediatelly after create_process calls and use it on the call to error.
2007-09-03 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convertPedro Alves2-2/+11
the dll name to unicode.
2007-09-03 * win32-low.c (handle_load_dll): Don't use toolhelp when waiting.Pedro Alves2-3/+16
2007-09-03 * MAINTAINERS: Move Fred Fish to Past Maintainers.Daniel Jacobowitz2-2/+5
2007-09-03 * configure.ac: Add --with-expat.Daniel Jacobowitz3-15/+61
* configure: Regenerated.
2007-09-03 * configure.ac: Accept --with-system-readline.Andreas Schwab4-4/+55
(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 Jacobowitz2-1/+9
2007-09-03Add missed changelog entry.Daniel Jacobowitz1-0/+1
2007-09-03 * gdb.base/default.exp (show version): Update the version text.Jan Kratochvil3-3/+16
* gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
2007-09-03*** empty log message ***gdbadmin1-1/+1
2007-09-02 * top.c (print_gdb_version): Fixed a string end-of-line compiler error.Jan Kratochvil2-1/+5
2007-09-02 * top.c (print_gdb_version): Update for GPL version 3.Daniel Jacobowitz4-12/+18
* gdb.texinfo: Update the FSF's Back-Cover Text.
2007-09-02 * NEWS: Mention the build-id .debug files verification.Jan Kratochvil2-0/+7
2007-09-02 * gdb.texinfo (Separate Debug Files): Cosmetic quoting removal.Jan Kratochvil2-8/+36
Fixed the ``build ID'' name. New binaries build instructions for the build ID inclusion. Explain how the commands are specific to the build ID vs. debug link.
2007-09-02 * linux-nat.c (linux_nat_make_corefile_notes): Fixed a buffer overflow.Jan Kratochvil2-3/+18
2007-09-02 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:Jan Kratochvil3-0/+102
New files.
2007-09-02*** empty log message ***gdbadmin1-1/+1
2007-09-01 * gdb.texinfo (Separate Debug Files): Fix last change. AddEli Zaretskii2-60/+90
indexing for ``build ID'' support.
2007-09-01 * Makefile.in (symfile.o): Update dependencies.Jan Kratochvil3-3/+128
* 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-09-01 * gdb.texinfo (Separate Debug Files): Included a BUILD ID description.Jan Kratochvil2-30/+66
Enlisted BUILD ID to the debug file searching example. Included a BUILD ID `.note.gnu.build-id' section description. Updated/added the debug files splitting instructions for OBJCOPY.
2007-09-01 * lib/gdb.exp (build_id_debug_filename_get): New function.Jan Kratochvil3-73/+168
* gdb.base/sepdebug.exp: Reflect the changes in the heading comment. Remove the generate DEBUG file for the future testcase runs. New testcase for the NT_GNU_BUILD_ID retrieval. Move the final testing step to ... (test_different_dir): ... a new function. New parameter XFAIL to XFAIL all the tests performed. New parameter TEST_DIFFERENT_DIR parametrizing the directory. New parameter TYPE to PF_PREFIX all the tests performed.
2007-09-01*** empty log message ***gdbadmin1-1/+1
2007-08-31 * varobj.c (struct varobj): Fix commentVladimir Prus2-1/+9
for the type member not to lie when it can be NULL.
2007-08-31 Implement -var-info-path-expression.Vladimir Prus11-24/+346
* 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 Prus2-1/+8
type is NULL, don't try to print it.
2007-08-31*** empty log message ***gdbadmin1-1/+1
2007-08-30 * ppc-linux-nat.c (right_fill_reg): Delete.Alan Modra9-320/+357
(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-30*** empty log message ***gdbadmin1-1/+1
2007-08-29* breakpoint.c (watch_command_1): Remove '#ifdef HPUXHPPA' block;Jim Blandy2-22/+5
this code has not been compiled for two years.
2007-08-292007-08-29 Michael Snyder <msnyder@access-company.com>Michael Snyder2-0/+5
* 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 Brobecker2-135/+4
2007-08-292007-08-29 Randolph Chung <tausq@debian.org>Carlos O'Donell3-2/+30
* 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-29*** empty log message ***gdbadmin1-1/+1
2007-08-282007-08-28 Michael Snyder <msnyder@access-company.com>Michael Snyder2-2/+4
* 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 Snyder2-0/+8
* NEWS: Mention Coverity bug fixes.
2007-08-28*** empty log message ***gdbadmin1-1/+1
2007-08-27ChangeLog gdb/:Ulrich Weigand4-3/+48
* 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-27*** empty log message ***gdbadmin1-1/+1