aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2009-12-16* dwarf2read.c (read_subroutine_type): Add the subroutine type to theGaius Mulley2-1/+12
die immediately to allow a parameter type to be the same subroutine type.
2009-12-16*** empty log message ***gdbadmin1-1/+1
2009-12-152009-12-15 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+17
* machoread.c (macho_symfile_read): Set section size of dsym bfd from main bfd.
2009-12-152009-12-15 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-24/+13
* machoread.c (macho_check_dsym): Read uuid directly from load command instead of from a fake section.
2009-12-152009-12-15 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-5/+24
* machoread.c (macho_symtab_read): Add comments. Always set first_offset.
2009-12-15*** empty log message ***gdbadmin1-1/+1
2009-12-142009-12-11 Tristan Gingold <gingold@adacore.com>Tristan Gingold4-164/+181
* symfile.h (find_separate_debug_file_by_buildid): Remove prototype. (bfd_open_maybe_remote): New prototype. * symfile.c (bfd_open_maybe_remote): New function. (separate_debug_file_exists, reread_symbols): Use it. (struct build_id, build_id_bfd_get, build_id_verify) (build_id_to_debug_filename) (find_separate_debug_file_by_buildid): Move these ... * elfread.c (struct build_id) (build_id_bfd_get, build_id_verify, build_id_to_debug_filename) (find_separate_debug_file_by_buildid): ... here.
2009-12-14* dwarf2read.c (struct attribute): Increase sizes of unsnd and sndPaul N. Hilfinger10-168/+246
fields to allow larger integer sizes. (read_subrange_type): Increase size of bound values. Add logic to determine signedness based on base-type size, signedness. (read_attribute_value): Change format for bad byte size in message. (read_8_bytes): Increase size of result type. (dump_die_shallow): Change format for value. (dwarf2_get_attr_constant_value): Increase size of return type. Correct comment. * gdbtypes.c (create_range_type): Change API to increase size of bounds. struct field -> union field. Always take signedness from base type. (check_typedef): Use new API for TYPE_LOW_BOUND, TYPE_HIGH_BOUND. (recursive_dump_type, copy_type_recursive): Adjust to new representation of range types. * gdbtypes.h (fields_or_bounds): New union containing struct field and new struct range_bounds, used for range types. (TYPE_RANGE_DATA): New macro to access range_bounds member. (TYPE_LOW_BOUND, TYPE_HIGH_BOUND): Represent with new TYPE_RANGE_DATA. (TYPE_LOW_BOUND_UNDEFINED, TYPE_HIGH_BOUND_UNDEFINED): New macros, taking over the job of TYPE_FIELD_ARTIFICIAL for range bounds. (SET_TYPE_LOW_BOUND, SET_TYPE_HIGH_BOUND, SET_TYPE_LOW_BOUND_DEFINED) (SET_TYPE_HIGH_BOUND_DEFINED): New macros. (TYPE_FIELDS, TYPE_BASECLASS, TYPE_BASECLASS_NAME, TYPE_FIELD) (TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED) (TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED, TYPE_ARRAY_UPPER_BOUND_VALUE) (TYPE_ARRAY_LOWER_BOUND_VALUE): Adjust to new representation. (create_range_type): Adjust API. * ada-lang.c (ada_modulus): Use new extended bound values. (discrete_type_low_bound): Rename to... (ada_discrete_type_low_bound): ... and make external. (discrete_type_high_bound): Rename to... (ada_discrete_type_high_bound): ... and make external. (ada_value_slice_from_ptr, ada_array_bound_from_type) (ada_evaluate_subexp, to_fixed_range_type): Use ada_discrete_type_low_bound, ada_discrete_type_high_bound. * ada-typeprint.c (print_range): Use ada_discrete_type_low_bound, ada_discrete_type_high_bound. Don't look at field count, which is no longer meaningful. Print bounds whenever argument is a range or enumeration. * ada-lang.h (ada_discrete_type_low_bound,ada_discrete_type_high_bound): Declare. * varobj.c (c_describe_child): Adjust to render larger values. * mdebugread.c (parse_type): Use proper abstractions for range types: TYPE_RANGE_DATA, SET_TYPE_LOW_BOUND_DEFINED, SET_TYPE_HIGH_BOUND_DEFINED. * p-typeprint.c (pascal_type_print_varspec_prefix): Use larger format for bounds.
2009-12-14*** empty log message ***gdbadmin1-1/+1
2009-12-13*** empty log message ***gdbadmin1-1/+1
2009-12-12*** empty log message ***gdbadmin1-1/+1
2009-12-112009-12-11 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+5
* main.c (captured_main): Indentation.
2009-12-112009-12-10 Michael Snyder <msnyder@vmware.com>Michael Snyder2-16/+22
* i386-tdep.c (i386_record_lea_modrm_addr): Indent goto label. (i386_process_record): Indent goto label. Use prefix opcode constants from include/opcode/i386.h in switch statement.
2009-12-11*** empty log message ***gdbadmin1-1/+1
2009-12-10Fix for PR 9399 gdb can't call or print a const function that uses virtual ↵Chris Moller7-2/+120
inheritance
2009-12-102009-12-10 Oza Pawandeep (paawan1982@yahoo.comMichael Snyder5-0/+429
* gdb.reverse/i387-env-reverse.c: New file. * gdb.reverse/i387-env-reverse.exp: New file. * gdb.reverse/i387-stack-reverse.c: New file. * gdb.reverse/i387-stack-reverse.exp: New file.
2009-12-102009-12-10 Oza Pawandeep <paawan1982@yahoo.com>Michael Snyder2-20/+377
* i386-tdep.c: Support for floating point recording. Records and Replay the i386 floating point registers, of i387 FPU. (i386_record_floats): New function. (i386_process_record): Implement FP insns.
2009-12-10*** empty log message ***gdbadmin1-1/+1
2009-12-092009-12-03 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-3/+8
* machoread.c (macho_symfile_read): Use symbol_file_add_separate to add dsym files.
2009-12-092009-12-02 Tristan Gingold <gingold@adacore.com>Tristan Gingold5-291/+292
* symfile.h (symbol_file_add_separate): New prototype. (find_separate_debug_file_by_buildid): Ditto. (find_separate_debug_file_by_debuglink): Ditto. * symfile.c (reread_separate_symbols): Remove. (find_separate_debug_file): Split into ... (find_separate_debug_file_by_buildid): ... this and ... (find_separate_debug_file_by_debuglink): ... this. (symbol_file_add_with_addrs_or_offsets): Do not save orig_addrs. Remove separate debug file handling. (symbol_file_add_separate): New function. (reread_symbols): Do not considere separate debug files, but free them while handling their parent. Reindent. * coffread.c (coff_symfile_read): Handle separate object file. * elfread.c (elf_symfile_read): Ditto.
2009-12-09 * acinclude.m4: Update comment.Joel Brobecker2-1/+6
2009-12-09 * acinclude.m4: Link against in-tree libiconv by addingJoel Brobecker3-28/+48
libiconv.a to the LIBS instead of using -liconv. * configure: Regenerate.
2009-12-092009-12-09 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon1-1/+2
* python/py-type.c (typy_range): Initialize variables to zero.
2009-12-09*** empty log message ***gdbadmin1-1/+1
2009-12-082009-12-08 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon6-0/+112
PR python/10804 * python/py-type.c (typy_range): New Function. 2009-12-08 Phil Muldoon <pmuldoon@redhat.com> * gdb.python/py-type.exp (test_range): New test. 2009-12-08 Phil Muldoon <pmuldoon@redhat.com> * gdb.texinfo (Types In Python): Describe range function.
2009-12-08 * charset.c: Include environ.h.Doug Evans2-5/+63
(ignore_line_p): New function. (find_charset_names): Handle older versions of iconv that print human-readable output even if stdout is not a tty.
2009-12-08 * NEWS: Announce Renesas RX support.Kevin Buettner2-0/+3
2009-12-08*** empty log message ***gdbadmin1-1/+1
2009-12-07 * configure.tgt: Add rx-*-elf target.Kevin Buettner3-0/+875
* rx-tdep.c: New target.
2009-12-072009-12-07 Tristan Gingold <gingold@adacore.com>Tristan Gingold10-24/+26
* symfile.h (struct sym_fns): Adjust comment on sym_read. * symfile.c (syms_from_objfile): Pass all symfile flags to sym_read. * dbxread.c (dbx_symfile_read): Rename mainline to symfile_flags, adjust header comment. * elfread.c (elf_symfile_read): Ditto. * somread.c (som_symfile_read): Ditto. * xcoffread.c (xcoff_initial_scan): Ditto. * coffread.c (coff_symfile_read): Rename mainline to symfile_flags. * machoread.c (macho_symfile_read): Ditto. * mipsread.c (mipscoff_symfile_read): Ditto.
2009-12-072009-12-07 Tristan Gingold <gingold@adacore.com>Tristan Gingold6-30/+12
* dbxread.c (dbx_symfile_read): No need to test mainline to call init_psymbol_list. * xcoffread.c (xcoff_initial_scan): Ditto; * coffread.c (coff_symfile_read): Remove call to init_psymbol_list. * elfread.c (elf_symfile_read): Ditto. * machoread.c (macho_symfile_read): Ditto.
2009-12-07*** empty log message ***gdbadmin1-1/+1
2009-12-06*** empty log message ***gdbadmin1-1/+1
2009-12-05*** empty log message ***gdbadmin1-1/+1
2009-12-04 * valops.c (value_struct_elt_for_reference): Do not rely onDaniel Jacobowitz2-14/+21
field order.
2009-12-04*** empty log message ***gdbadmin1-1/+1
2009-12-032009-12-03 Richard Ward <richard.j.ward1@googlemail.com>Phil Muldoon8-1/+201
* python/py-type.c (convert_field): New attribute "is_base_class". doc/ 2009-12-03 Richard Ward <richard.j.ward1@googlemail.com> * gdb.texinfo (Types In Python): Describe "is_base_class". testsuite/ 2009-12-03 Phil Muldoon <pmuldoon@redhat.com> PR python/10805 * gdb.python/py-type.exp: New file. * gdb.python/py-type.c: New file. * Makefile.in: Add py-type.
2009-12-03gdbTom Tromey6-0/+64
* python/python.c (gdbpy_parse_and_eval): New function. (GdbMethods): Add "parse_and_eval". gdb/testsuite * gdb.python/py-value.exp (test_parse_and_eval): New function. gdb/doc * gdb.texinfo (Basic Python): Document gdb.parse_and_eval.
2009-12-03gdb/Jan Kratochvil2-3/+9
* linux-thread-db.c (find_new_threads_once): Change errp and err types to td_err_e. (thread_db_find_new_threads_2): Change err type to td_err_e.
2009-12-03ChangeLog:Paul Pluzhnikov5-0/+135
2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com> PR gdb/11022 * breakpoint.c (invalidate_bp_value_on_memory_change): New function. (_initialize_breakpoint): Add it as memory change observer. testsuite/ChangeLog: 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com> PR gdb/11022 * gdb.base/pr11022.exp: New test. * gdb.base/pr11022.c: New test.
2009-12-032009-12-03 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+6
* machoread.c (macho_sym_fns): Set sym_segment routine.
2009-12-03gdb/testsuite/Jan Kratochvil3-20/+57
Fix spurious false FAILs. * gdb.base/structs.c (chartest): New. (main): Fill-in chartest. * gdb.base/structs.exp (anychar_re, first): New. (start_structs_test): Import global anychar_re and first. New gdb_test call "set print elements 300; ${testfile}" (start_structs_test <$first>): New block. (any): Import global anychar_re. New variable ac. Use ${ac}.
2009-12-03*** empty log message ***gdbadmin1-1/+1
2009-12-02gdb/ChangeLog:Paul Pluzhnikov8-10/+21
2009-12-02 Paul Pluzhnikov <ppluzhnikov@google.com> * ada-lang.c (ada_value_assign): Use observer_notify_memory_changed. * valops.c (value_assign): Likewise. * defs.h (deprecated_memory_changed_hook): Remove. * top.c (deprecated_memory_changed_hook): Likewise. * interps.c (clear_interpreter_hooks): Adjust. gdb/gdbtk/ChangeLog: 2009-12-02 Paul Pluzhnikov <ppluzhnikov@google.com> * generic/gdbtk-hooks.c (gdbtk_memory_changed): Adjust. (gdbtk_add_hooks): Adjust. gdb/doc/ChangeLog: 2009-12-02 Paul Pluzhnikov <ppluzhnikov@google.com> * observer.texi: New memory_changed observer.
2009-12-022009-12-02 Tristan Gingold <gingold@adacore.com>Tristan Gingold6-8/+22
* symfile.h (dwarf2_build_psymtabs): Remove mainline parameter in prototype. * dwarf2read.c (dwarf2_build_psymtabs): Remove mainline paramter in definition, simplify code assuming it is always 0. * coffread.c (coff_symfile_read): Adjust call. * elfread.c (elf_symfile_read): Ditto. * machoread.c (macho_symfile_read): Explicitely calls init_psymbol_list if mainline is set.
2009-12-022009-12-02 Tristan Gingold <gingold@adacore.com>Tristan Gingold7-25/+30
* dwarf2read.c (dwarf2_build_psymtabs_easy): Remove mainline parameter. (dwarf2_build_psymtabs_hard): Ditto. (dwarf2_build_psymtabs): Ajust calls. * stabsread.h (elfstab_build_psymtabs): Remove mainline parameter on the prototype. (coffstab_build_psymtabs): Ditto. (stabsect_build_psymtabs): Ditto. * dbxread.c (coffstab_build_psymtabs): Remove mainline parameter on the definition. (elfstab_build_psymtabs): Ditto. (stabsect_build_psymtabs): Ditto. * coffread.c (coff_symfile_read): Adjust call. * elfread.c (elf_symfile_read): Ditto. * somread.c (som_symfile_read): Ditto.
2009-12-022009-10-23 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+8
* charset.c (_initialize_charset): Set a default value to auto_host_charset_name if empty.
2009-12-02*** empty log message ***gdbadmin1-1/+1
2009-12-01 * gcore.c: Include solib.h.Joseph Myers6-1/+92
(gcore_create_callback): Call solib_keep_data_in_core when considering not saving memory in core file. * solib-svr4.c (svr4_keep_data_in_core): New. (_initialize_svr4_solib): Initialize svr4_so_ops.keep_data_in_core. * solib.c (solib_keep_data_in_core): New. * solib.h (solib_keep_data_in_core): Declare. * solist.h (struct target_so_ops): Add keep_data_in_core.
2009-12-01 * gdb.texinfo (Reverse Execution): Fix typo.Tom Tromey2-1/+5