aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2010-02-15 * dwarf2read.c (guess_structure_name): Allocate name on theTom Tromey2-1/+6
objfile obstack.
2010-02-15 * c-typeprint.c (c_type_print_base): Reverse order of test.Tom Tromey2-1/+5
2010-02-15gdb/Jan Kratochvil2-2/+13
* 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 Kratochvil13-47/+76
* 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-15*** empty log message ***gdbadmin1-1/+1
2010-02-14 * MAINTAINERS: Add myself for write after approval privileges.Masaki Muranaka2-0/+5
2010-02-14*** empty log message ***gdbadmin1-1/+1
2010-02-13gdb/Jan Kratochvil2-1/+8
* solib-svr4.c: (LM_ADDR_CHECK): Move variable align to a more inner block.
2010-02-13gdb/Jan Kratochvil4-4/+19
* 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-13Document new gdb_test_timeout global variable.Joel Brobecker2-0/+37
* gdbint.texinfo (Testsuite): New section "Testsuite Configuration", documenting the gdb_test_timeout variable.
2010-02-13 * linux-low.c (linux_supports_tracefork_flag): Document.Doug Evans2-0/+9
(linux_look_up_symbols): Add comment.
2010-02-13*** empty log message ***gdbadmin1-1/+1
2010-02-122010-02-12 Tomas Holmberg <th@virtutech.com>Michael Snyder2-0/+180
* mi-reverse.exp: New file. Test for reverse option to the following MI commands: exec-continue, exec-finish, exec-next, exec-step, exec-next-instruction, exec-step-instruction.
2010-02-122010-02-12 Jakob Engblom <jakob@virtutech.com>Michael Snyder2-24/+60
* gdb.texinfo (MI commands): Added documentation of --reverse option to a set of MI commands. Restructured documentation of MI commands --exec-continue to reflect the complexity of reverse execution.
2010-02-122010-02-12 Tomas Holmberg <th@virtutech.com>Michael Snyder2-8/+70
* 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 Alves4-6/+21
* 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-12 * gdb.texinfo (GDB/MI Result Records): Clarify ^running.Vladimir Prus2-3/+10
2010-02-12Spurious "dll not found" error messages on x64-windows.Joel Brobecker2-2/+16
* 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 Alves2-3/+12
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 Alves2-47/+61
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-12*** empty log message ***gdbadmin1-1/+1
2010-02-11gdb/Jan Kratochvil2-1/+18
* 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 Alves2-0/+8
the offset value isn't of integral type.
2010-02-11gdb/Jan Kratochvil2-0/+15
* breakpoint.c (delete_breakpoint) <bpt->related_breakpoint != NULL>: New.
2010-02-11 * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out onPedro Alves4-9/+59
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 Alves2-3/+9
Merge uploaded TSVs before merging uploaded tracepoints.
2010-02-11 * ax-gdb.c (gen_deref): Don't allow dereferencing void pointers.Pedro Alves2-0/+6
2010-02-11*** empty log message ***gdbadmin1-1/+1
2010-02-10 * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Add extraVladimir Prus2-13/+21
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. Lu2-1/+7
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 Tromey6-0/+48
* 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. Lu3-1/+114
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 Snyder2-2/+6
* gdb-gdb.py: Comment fix.
2010-02-10*** empty log message ***gdbadmin1-1/+1
2010-02-09Document i387_ext, i386_eflags and i386_mxcsr.H.J. Lu2-0/+14
2010-02-09 H.J. Lu <hongjiu.lu@intel.com> * gdb.texinfo (Predefined Target Types): Add i387_ext, i386_eflags and i386_mxcsr.
2010-02-092010-02-09 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-48/+146
* 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-09 * gdb.ada/ptype_tagged_param: New testcase.Joel Brobecker5-0/+133
2010-02-09Wrong type description for tagged type parameter.Joel Brobecker2-1/+15
* 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 Gingold2-4/+12
* objfiles.c (objfile_separate_debug_iterate): Do not iterate on brothers of the parent.
2010-02-09*** empty log message ***gdbadmin1-1/+1
2010-02-08gdbTom Tromey7-25/+146
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 Weigand2-9/+16
for exited processes.
2010-02-08Document i386 XML target features.H.J. Lu2-0/+44
2010-02-08 H.J. Lu <hongjiu.lu@intel.com> * gdb.texinfo: Document i386 target features.
2010-02-08PR gdb/10728Chris Moller8-1/+117
* 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 Moller6-17/+92
* 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
2010-02-08 * linux-nat.c (linux_nat_resume): In non-stop, also only tagPedro Alves2-21/+118
resumed LWPs as resumed. (linux_nat_wait_1): If there's no resumed LWP in the set of LWPs we're waiting for, bail out with TARGET_WAITKIND_IGNORE, instead of throwing an internal error. If an LWP of a process we're not waiting for reports a signal, don't force collecting a SIGSTOP, and if it was breakpoint hit in non-stop mode, cancel it. Don't go through all LWPs cancelling breakpoints in non-stop mode. (resume_stopped_resumed_lwps): New. (linux_nat_wait): Use it.
2010-02-08 * lib/gdb.exp (gdb_test_timeout): New global variable.Joel Brobecker2-0/+21
Set it to timeout if not already set. (gdb_init): Reset the value of timeout to gdb_test_timeout.
2010-02-08Add x86 XML target description files.H.J. Lu16-0/+733
2010-02-07 H.J. Lu <hongjiu.lu@intel.com> * features/Makefile (WHICH): Add i386/i386, i386/i386-linux, i386/amd64 and i386/amd64-linux. (i386/i386-expedite): New. (i386/i386-linux-expedite): Likewise. (i386/amd64-expedite):Likewise. (i386/amd64-linux-expedite): Likewise. ($(outdir)/i386/i386-linux.dat): Likewise. ($(outdir)/i386/amd64.dat): Likewise. ($(outdir)/i386/amd64-linux.dat): Likewise. * features/i386/32bit-core.xml: New. * features/i386/32bit-linux.xml: Likewise. * features/i386/32bit-sse.xml: Likewise. * features/i386/64bit-core.xml: Likewise. * features/i386/64bit-linux.xml: Likewise. * features/i386/64bit-sse.xml: Likewise. * features/i386/i386-linux.xml: Likewise. * features/i386/i386.xml: Likewise. * features/i386/amd64-linux.xml: Likewise. * features/i386/amd64.xml: Likewise. * features/i386/i386-linux.c: Likewise. * features/i386/i386.c: Likewise. * features/i386/amd64-linux.c: Likewise. * features/i386/amd64.c: Likewise.
2010-02-08*** empty log message ***gdbadmin1-1/+1
2010-02-07*** empty log message ***gdbadmin1-1/+1