aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2010-02-19 * p-typeprint.c (pascal_type_print_varspec_prefix): Update.Tom Tromey1-0/+17
* m2-typeprint.c (m2_print_type): Update. * gdbtypes.c (recursive_dump_type): Update. (copy_type_recursive): Update. * c-typeprint.c (c_type_print_varspec_prefix): Update. (c_type_print_base): Update. * gdbtypes.h (TYPE_CODE_TEMPLATE, TYPE_CODE_TEMPLATE_ARG): Remove. (struct cplus_struct_type) <ntemplate_args>: Remove. <struct template_arg>: Remove. <is_dynamic>: Move earlier. (TYPE_TEMPLATE_ARGS): Remove. (TYPE_NTEMPLATE_ARGS): Remove. (TYPE_TEMPLATE_ARG): Remove.
2010-02-19gdbTom Tromey1-0/+19
PR c++/8693, PR c++/9496: * cp-namespace.c (cp_lookup_nested_type): Handle TYPE_CODE_UNION. * c-exp.y (lex_one_token): Rename from yylex. Don't call write_dollar_variable. Don't try to classify NAME tokens. (token_and_value): New type. (token_fifo, popping, name_obstack): New globals. (classify_name): New function. (classify_inner_name): Likewise. (yylex): Likewise. (VARIABLE): Now has type sval. (exp : VARIABLE): Call write_dollar_variable. (qualified_name): Use TYPENAME, not typebase. Add production for multiple "::" instances. (variable): Use name_not_typename. (qualified_type): Remove. (typebase): Update. gdb/testsuite PR c++/8693, PR c++/9496: * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added regression tests.
2010-02-19gdb/Jan Kratochvil1-0/+7
* symfile.c (addr_info_make_relative): Extend comment. Move SECT to a more inner block. Initialize ADDR by LOWER_OFFSET only if it was found by bfd_get_section_by_name. * symfile.h (struct section_addr_info) <sectindex>: New comment.
2010-02-19 * NEWS: Add new "[...] since 7.1" section. Rename the "[...] sinceJoel Brobecker1-0/+5
7.0 section" into "Changes in 7.1".
2010-02-19Record GDB 7.1 branch creation. Bump version number to 7.1.50.20100219-cvs.gdbadmin1-0/+5
2010-02-182010-02-18 Harald Koenig <H.Koenig@science-computing.de>gdb_7_1-branchpointPedro Alves1-0/+5
* mi/mi-main.c (mi_cmd_exec_jump): Drop unneeded `return'. * symfile.c (symfile_map_offsets_to_segments): Fix assertion.
2010-02-18 * NEWS: Add Python API Improvements section.Tom Tromey1-0/+4
2010-02-18 * NEWS: Correct typo.Daniel Jacobowitz1-0/+4
2010-02-17gdbTom Tromey1-0/+4
* objfiles.c (gdb_bfd_ref): Handle abfd==NULL. gdb/testsuite * gdb.java/jprint.java (jprint.props): New field. * gdb.java/jprint.exp (set_lang_java): Add regression test.
2010-02-17gdb/Jan Kratochvil1-0/+5
* symfile.c (build_section_addr_info_from_objfile): Include sections only if they are SEC_ALLOC or SEC_LOAD.
2010-02-17Use CORE_ADDR instead of ULONGEST on address.H.J. Lu1-0/+6
2010-02-17 H.J. Lu <hongjiu.lu@intel.com> PR shlibs/11293 * solib-svr4.c (enable_break): Check size of CORE_ADDR instead of ULONGEST for address size.
2010-02-17 * NEWS: Add C++ improvements section.Tom Tromey1-0/+4
2010-02-17 * python/python-internal.h [!WITH_THREAD] (PyGILState_Release,Ulrich Weigand1-0/+5
PyThreadState_Swap): Avoid "statement with no effect" warning.
2010-02-17gdb/Jan Kratochvil1-0/+5
* solib-svr4.c (enable_break <target_auxv_search>): New variable addr_bit. Adjust LOAD_ADDR sign for cross-arch inferiors.
2010-02-172010-02-17 Tristan Gingold <gingold@adacore.com>Tristan Gingold1-0/+6
Petr HluzĂ­<petr.hluzin@gmail.com> * avr-tdep.c (avr_scan_prologue): Convert an if statement to a gdb_assert. Fix info->size for SIG prologue.
2010-02-16 gdb/Daniel Jacobowitz1-0/+5
* infcmd.c (show_inferior_tty_command): Check for NULL. Correct output message.
2010-02-16 gdb/Daniel Jacobowitz1-0/+6
* linespec.c (decode_line_1): Handle FILE:FUNCTION even if FUNCTION contains parentheses. Improve removal of a trailing single quote. gdb/testsuite/ * gdb.base/list.exp (test_list_filename_and_function): Add test with single quotes. * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy matching. * gdb.cp/overload.exp: Add tests with filename, function, and quotes. Add KFAIL'd tests for PR gdb/11289.
2010-02-16 gdb/Daniel Jacobowitz1-0/+6
* gcore.c (do_bfd_delete_cleanup): New function. (gcore_command): Use it. Discard the cleanup after success. (gcore_copy_callback): Delete dead code.
2010-02-16 gdb/Daniel Jacobowitz1-0/+5
* symfile.c (addr_info_make_relative): Always use find_lowest_section.
2010-02-162010-02-16 Sami Wagiaalla <swagiaal@redhat.com>Sami Wagiaalla1-0/+4
* NEWS: Added entry for namespace fixes.
2010-02-15 * dwarf2read.c (guess_structure_name): Allocate name on theTom Tromey1-0/+5
objfile obstack.
2010-02-15 * c-typeprint.c (c_type_print_base): Reverse order of test.Tom Tromey1-0/+4
2010-02-15gdb/Jan Kratochvil1-0/+5
* solib-svr4.c (LM_ADDR_CHECK): New variable minpagesize. Optionally initialize it from ELF BFD. Extend the prelink condition by it.
2010-02-15gdb/Jan Kratochvil1-0/+14
* defs.h (parse_pid_to_attach): New. * utils.c (parse_pid_to_attach): New. * darwin-nat.c (darwin_attach): Replace ARGS parsing by parse_pid. * gnu-nat.c (gnu_attach): Likewise. * nto-procfs.c (procfs_attach): Likewise. * procfs.c (procfs_attach): Likewise. * windows-nat.c (windows_attach): Likewise. * inf-ptrace.c (inf_ptrace_attach): Likewise. Remove variable dummy. * inf-ttrace.c (inf_ttrace_attach): Likewise. * remote.c (extended_remote_attach_1): Likewise. New comment on getpid check. gdb/testsuite/ * gdb.base/attach.exp (attach to nonsense is prohibited): Make the "Illegal process-id" expect string more exact. (attach to digits-starting nonsense is prohibited): New.
2010-02-14 * MAINTAINERS: Add myself for write after approval privileges.Masaki Muranaka1-0/+4
2010-02-13gdb/Jan Kratochvil1-0/+5
* solib-svr4.c: (LM_ADDR_CHECK): Move variable align to a more inner block.
2010-02-13gdb/Jan Kratochvil1-0/+5
* solib-svr4.c: (LM_ADDR_CHECK): Print successful prelink adjustment only if INFO_VERBOSE. gdb/testsuite/ * gdb.base/prelink.exp (set verbose on): New.
2010-02-122010-02-12 Tomas Holmberg <th@virtutech.com>Michael Snyder1-0/+7
* mi/mi-main.c: Added the --reverse flag to the following MI commands: exec-continue, exec-finish, exec-next, exec-step, exec-next-instruction, exec-step-instruction. This is to support reverse execution over the MI interface to gdb.
2010-02-12 gdb/doc/Pedro Alves1-0/+6
* gdb.texinfo (Using the Collected Data): Specify that the address range of `tfind outsize' is exclusive, and that the address range of `tfind range' is inclusive. (Tracepoint Packets): Specify that the address range of `QTFrame:range' is inclusive, and that the address range of `QTFrame:outside' is exclusive gdb/ * tracepoint.c (_initialize_tracepoint): Specify that the address range of `tfind outsize' is exclusive, and that the address range of `tfind range' is inclusive, in the commands' help strings.
2010-02-12Spurious "dll not found" error messages on x64-windows.Joel Brobecker1-0/+6
* windows-nat.c: Add include of complaints.h. (handle_unload_dll): Change dll-not-found error into a complaint.
2010-02-12 * breakpoint.c (allocate_bp_location): Use bp_loc_other forPedro Alves1-0/+8
bp_tracepoint and bp_fast_tracepoint, not bp_loc_software_breakpoint. (update_global_location_list): Tracepoints are never duplicates of anything.
2010-02-12 * breakpoint.c (break_command_really): Change return type to int.Pedro Alves1-0/+10
Return false if no breakpoint was created, true otherwise. (trace_command): Don't set the tracepoint count if no tracepoint was created. (ftrace_command): Ditto. (create_tracepoint_from_upload): Bail out if the tracepoint wasn't created in the breakpoints table.
2010-02-11gdb/Jan Kratochvil1-0/+5
* solib-svr4.c (LM_ADDR_CHECK): New comment on PPC-aware condition.
2010-02-11 * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out ifPedro Alves1-0/+5
the offset value isn't of integral type.
2010-02-11gdb/Jan Kratochvil1-0/+5
* breakpoint.c (delete_breakpoint) <bpt->related_breakpoint != NULL>: New.
2010-02-11 * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out onPedro Alves1-0/+9
non-subscriptable types. * valarith.c (binop_types_user_defined_p): New, abstracted out from ... (binop_user_defined_p): ... this. * value.h (binop_types_user_defined_p): Declare.
2010-02-11 * tracepoint.c (tfile_open): Remove spurious discard_cleanups.Pedro Alves1-0/+5
Merge uploaded TSVs before merging uploaded tracepoints.
2010-02-11 * ax-gdb.c (gen_deref): Don't allow dereferencing void pointers.Pedro Alves1-0/+4
2010-02-10 * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Add extraVladimir Prus1-4/+8
whitespace character after a dot in comment. (mi_cmd_stack_list_arguments, mi_cmd_stack_list_variables): Likewise. (list_args_or_locals): For the 'all' (that is -stack-list-variables) case, always output list of tuples. Output 'arg' field if variable is argument.
2010-02-10Fix "infor reg sse" on Linux/x86-64.H.J. Lu1-0/+6
2010-02-10 H.J. Lu <hongjiu.lu@intel.com> PR gdb/11265 * amd64-linux-tdep.c (amd64_linux_register_reggroup_p): Call i386_register_reggroup_p instead of default_register_reggroup_p.
2010-02-10gdbTom Tromey1-0/+9
* parser-defs.h (parser_debug): Declare. * parse.c (_initialize_parse): Install "debug parser" set/show command. (parser_debug): New global. (show_parserdebug): New function. * c-exp.y (c_parse): Set yydebug. gdb/testsuite * gdb.texinfo (Debugging Output): Document set debug parser and show debug parser.
2010-02-10Add i387_ext, i386_eflags and i386_mxcsr.H.J. Lu1-0/+12
2010-02-10 H.J. Lu <hongjiu.lu@intel.com> * target-descriptions.c (tdesc_type): Add TDESC_TYPE_I387_EXT, TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR. (tdesc_predefined_types): Add i387_ext, i386_eflags and i386_mxcsr. (tdesc_find_type): New. (tdesc_gdb_type): Use tdesc_find_type. Handle TDESC_TYPE_I387_EXT, TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR. * target-descriptions.h (tdesc_find_type): New.
2010-02-102010-02-10 Michael Snyder <msnyder@vmware.com>Michael Snyder1-0/+4
* gdb-gdb.py: Comment fix.
2010-02-092010-02-09 Tristan Gingold <gingold@adacore.com>Tristan Gingold1-0/+12
* machoread.c (macho_symfile_relocate): New function. (macho_sym_fns): Use macho_symfile_relocate instead of default_symfile_relocate. (macho_oso_data): New type. (current_oso): New variable. (macho_add_oso_symfile): Do not compute section_addr_info, but instead set vma of sections. Do not set SYMFILE_VERBOSE to call symbol_file_add_from_bfd. Set and clear current_oso.
2010-02-09Wrong type description for tagged type parameter.Joel Brobecker1-0/+7
* ada-lang.c (ada_evaluate_subexp) [OP_VAR_VALUE]: When noside is EVAL_AVOID_SIDE_EFFECTS, also handle the case when type is a reference to a tagged type.
2010-02-092010-02-08 Tristan Gingold <gingold@adacore.com>Tristan Gingold1-0/+5
* objfiles.c (objfile_separate_debug_iterate): Do not iterate on brothers of the parent.
2010-02-08gdbTom Tromey1-0/+14
PR c++/8017: * value.h: Update. * valops.c (search_struct_field): Make 'name' const. (search_struct_method): Likewise. (find_method_list): Make 'method' const. (value_struct_elt): Make 'name' and 'err' const. (value_find_oload_method_list): Make 'method' const. (find_overload_match): Make 'name' const. * eval.c (evaluate_subexp_standard): New locals function, function_name. <OP_FUNCALL>: Handle OP_SCOPE specially. gdb/testsuite PR c++/8017: * gdb.cp/overload.exp: Add tests. * gdb.cp/overload.cc (struct K): New. (namespace N): New. (main): Call new functions. (K::staticoverload): Define.
2010-02-08 * infrun.c (handle_inferior_event): Do not look up regcacheUlrich Weigand1-0/+5
for exited processes.
2010-02-08PR gdb/10728Chris Moller1-0/+6
* valarith.c (value_ptrdiff): Added a test for a zero type length, warn if found, and assume length = 1. * gdb.cp/pr10728-x.h: New file. * gdb.cp/pr10728-x.cc: New file. * gdb.cp/pr10728-y.cc: New file. * gdb.cp/pr10728.exp: New file. * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
2010-02-08PR gdb/9067Chris Moller1-0/+6
* cp-valprint.c (cp_print_value_fields) Fix use of obstacks. cp_print_static_field) Fix use of obstacks. * gdb.cp/pr9067.exp: New * gdb.cp/pr9067.cc: New * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067