summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* PR gold/14309Ian Lance Taylor2012-07-106-0/+85
| | | | | | | | * configure.ac: Test whether std::tr1::hash<off_t> works. * gold.h: Add a specialization for std::tr1::hash<off_t> if needed. * output.h (class Output_fill): Add virtual destructor. * configure, config.in: Rebuild.
* * lib/gdb.exp (standard_testfile): Unset output variables fromTom Tromey2012-07-102-0/+18
| | | | earlier invocations.
* Add SORT_NONE and don't sort sort .init/.fini sectionsH.J. Lu2012-07-1027-4/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ld/ PR ld/14156 * NEWS: Mention SORT_NONE. * ld.h (sort_type): Add by_none. * ld.texinfo: Document SORT_NONE. * ldgram.y: Handle SORT_NONE. * ldlang.c (update_wild_statements): Handle by_none. Don't sort .init/.fini sections. * ldlex.l: Add SORT_NONE. ld/testsuite/ PR ld/14156 * ld-elf/fini0.s: New file. * ld-elf/fini1.s: Likewise. * ld-elf/fini2.s: Likewise. * ld-elf/fini3.s: Likewise. * ld-elf/finin.s: Likewise. * ld-elf/foo0.s: Likewise. * ld-elf/foo1.s: Likewise. * ld-elf/foo2.s: Likewise. * ld-elf/foo3.s: Likewise. * ld-elf/foon.s: Likewise. * ld-elf/init0.s: Likewise. * ld-elf/init1.s: Likewise. * ld-elf/init2.s: Likewise. * ld-elf/init3.s: Likewise. * ld-elf/initn.s: Likewise. * ld-elf/pr14156a.d: Likewise. * ld-elf/pr14156b.d: Likewise. * ld-elf/pr14156c.d: Likewise. * ld-elf/pr14156c.t: Likewise.
* Add testcases for PR ld/14323H.J. Lu2012-07-104-0/+45
| | | | | | | | | PR ld/14323 * ld-elf/pr14323-1.c: New. * ld-elf/pr14323-2.c: Likewise. * ld-elf/shared.exp (build_tests): Add libpr14323-2.so. (run_tests): Add pr14323.
* * buildsym.c (start_subfile): Remove unnecessary check forDoug Evans2012-07-102-1/+4
| | | | name == NULL.
* * psymtab.c (allocate_psymtab): Use host_address_to_string.Doug Evans2012-07-102-2/+4
|
* * dwarf2read.c (load_full_type_unit): Simplify.Doug Evans2012-07-102-15/+8
|
* *** empty log message ***gdbadmin2012-07-101-1/+1
|
* daily updateAlan Modra2012-07-101-1/+1
|
* * dwarf2read.c (dwarf2_per_objfile): Change type of all_type_unitsDoug Evans2012-07-092-8/+11
| | | | to struct signatured_type **. All uses updated.
* gdb/testsuite:Yao Qi2012-07-0945-46/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags. * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise. * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise. * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise. * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise. * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise. * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise. * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise. * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise. * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise. * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise. * gdb.mi/mi-var-display.exp: Likewise. * gdb.mi/mi-var-invalidate.exp: Likewise. * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise. * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise. * gdb.mi/mi2-console.exp: Likewise. * gdb.mi/mi2-disassemble.exp: Likewise. * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise. * gdb.mi/mi2-read-memory.exp: Likewise. * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise. * gdb.mi/mi2-simplerun.exp: Likewise. * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise. * gdb.mi/mi2-syn-frame.exp: Likewise. * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise. * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise. * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
* * dwarf2read.c (dwarf2_attr_no_follow): Delete unused arg "cu".Doug Evans2012-07-092-6/+9
| | | | All callers updated.
* * c-exp.y (check_parameter_typelist): New function.Tom Tromey2012-07-098-6/+95
| | | | | | | | | | | (parameter_typelist): Call it. * eval.c (make_params): Handle '(void)' case. * gdbtypes.c (lookup_function_type_with_arguments): Handle '(void)' case. testsuite * gdb.base/whatis.exp: Add error checks for improper 'void' uses. * gdb.base/callfuncs.exp: Add cast-based test. * gdb.base/callfuncs.c (voidfunc): New function.
* PR ld/14323Alan Modra2012-07-092-15/+33
| | | | | | * elflink.c (elf_sort_symbol): Sort by size too. (elf_link_add_object_symbols <weakdefs>): Simplify binary search. Do not depend on ordering of symbol aliases. Match largest size.
* daily updateAlan Modra2012-07-091-1/+1
|
* *** empty log message ***gdbadmin2012-07-091-1/+1
|
* * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.Doug Evans2012-07-082-1/+5
|
* *** empty log message ***gdbadmin2012-07-081-1/+1
|
* daily updateAlan Modra2012-07-081-1/+1
|
* gdb/Jan Kratochvil2012-07-076-0/+145
| | | | | | | | | | | | | | | | * common/linux-ptrace.c: Include gdb_assert.h. <__i386__> (linux_ptrace_test_ret_to_nx_instr): New declaration. <__i386__>: Include sys/reg.h, sys/mman.h, signal.h, sys/wait.h and stdint.h. (linux_ptrace_test_ret_to_nx, linux_ptrace_init_warnings): New functions. * common/linux-ptrace.h (linux_ptrace_init_warnings): New declarations. * linux-nat.c (linux_child_post_attach) (linux_child_post_startup_inferior): Call linux_ptrace_init_warnings. gdb/gdbserver/ * gdbserver/linux-low.c (initialize_low): Call linux_ptrace_init_warnings.
* gdb/Jan Kratochvil2012-07-072-2/+8
| | | | | * linux-thread-db.c (thread_db_find_new_threads_silently): Do not apply nptl <2.7 bug workaround for core files.
* gdb/testsuite/Jan Kratochvil2012-07-072-1/+7
| | | | | | Fix XFAIL compatibility with old i386 systems. * gdb.base/stale-infcall.exp (test system longjmp tracking support): Check also 'Cannot insert breakpoint 0'.
* daily updateAlan Modra2012-07-071-1/+1
|
* *** empty log message ***gdbadmin2012-07-071-1/+1
|
* gdb/Jan Kratochvil2012-07-063-36/+23
| | | | | | | | | | | * linux-nat.c (resume_lwp, linux_nat_resume): Remove LP->SIGINFO clearing. (save_siginfo): Remove. (stop_wait_callback, linux_nat_filter_event): Remove the save_siginfo call. (resume_stopped_resumed_lwps): Remove LP->SIGINFO clearing. (linux_nat_get_siginfo): Use PTRACE_GETSIGINFO. * linux-nat.h (struct lwp_info): Remove field siginfo.
* gdb/Jan Kratochvil2012-07-066-22/+49
| | | | | | | | | | | | | | | Code cleanup for the next patch. * arm-linux-nat.c (arm_linux_stopped_data_address): Change variable siginfo_p to siginfo, update its users incl. the linux_nat_get_siginfo call for it. * ia64-linux-nat.c (ia64_linux_stopped_data_address): Likewise. (ia64_linux_stopped_data_address): * linux-nat.c (linux_nat_get_siginfo): Add parameter siginfo, change the return value. * linux-nat.h (linux_nat_get_siginfo): Likewise. * ppc-linux-nat.c (ppc_linux_stopped_data_address): Change variable siginfo_p to siginfo, update its users incl. the linux_nat_get_siginfo call for it.
* gdb/Jan Kratochvil2012-07-064-3/+20
| | | | | | | | | | | PR 14321 * findcmd.c (parse_find_args): New variable pattern_buf_size_need. Increase buffer sizes to 2x we need, not just 2x of the previous size. gdb/testsuite/ PR 14321 * gdb.base/find.exp (find int64_search_buf, +64/8*100, int64_search_buf): New test.
* * c-exp.y (DOTDOTDOT): New token.Tom Tromey2012-07-067-6/+49
| | | | | | | | | | | (func_mod, exp): Use parameter_typelist. (parameter_typelist): New production. (tokentab3): Add "..." token. * eval.c (make_params): Handle varargs. * gdbtypes.c (lookup_function_type_with_arguments): Handle varargs. testsuite * gdb.base/whatis.exp: Add test.
* PR exp/9608:Tom Tromey2012-07-068-17/+115
| | | | | | | | | | | | | | | | | | | | * c-exp.y (%union) <tvec>: Change type. (func_mod): Now uses <tvec> type. (exp): Update for tvec change. (direct_abs_decl): Push the typelist. (func_mod): Return a typelist. (nonempty_typelist): Update for tvec change. * gdbtypes.c (lookup_function_type_with_arguments): New function. * gdbtypes.h (lookup_function_type_with_arguments): Declare. * parse.c (pop_type_list): New function. (push_typelist): New function. (follow_types): Handle tp_function_with_arguments. * parser-defs.h (type_ptr): New typedef. Define a VEC. (enum type_pieces) <tp_function_with_arguments>: New constant. (union type_stack_elt) <typelist_val>: New field. (push_typelist): Declare. testsuite * gdb.base/whatis.exp: Add regression test.
* * c-exp.y (%union) <type_stack>: New field.Tom Tromey2012-07-066-15/+177
| | | | | | | | | | | | | | | | | | | (abs_decl, direct_abs_decl): Use <type_stack> type. Update. (ptr_operator_ts): New production. (ptype): Update. * parse.c (type_stack_reserve): New function. (check_type_stack_depth): Use it. (pop_type_stack, append_type_stack, push_type_stack) (get_type_stack, type_stack_cleanup): New functions. (follow_types): Handle tp_type_stack. (_initialize_parse): Simplify initialization. * parser-defs.h (enum type_pieces) <tp_type_stack>: New constant. (union type_stack_elt) <stack_val>: New field. (get_type_stack, append_type_stack, push_type_stack) (type_stack_cleanup): Declare. testsuite * gdb.base/whatis.exp: Add tests.
* * parser-defs.h (type_stack, type_stack_size, type_stack_depth):Tom Tromey2012-07-063-26/+49
| | | | | | | | | | | | Remove. (struct type_stack): New. * parse.c (type_stack, type_stack_size, type_stack_depth): Remove. (type_stack): New global. (parse_exp_in_context, check_type_stack_depth) (insert_into_type_stack, insert_type, push_type, push_type_int) (insert_type_address_space, pop_type, pop_type_int) (_initialize_parse): Update.
* * c-exp.y (func_mod, direct_abs_decl, abs_decl, ptr_operator):Tom Tromey2012-07-062-9/+8
| | | | Remove %type.
* * mips.h: Fix a typo in description.Maciej W. Rozycki2012-07-062-1/+5
|
* * c-lang.c (c_printstr): Remove ununsed variable WIDTH.Siddhesh Poyarekar2012-07-062-1/+4
|
* * cp-valprint.c (cp_print_value): Replace potentially unsafeSiddhesh Poyarekar2012-07-062-3/+12
| | | | alloca with xmalloc/xfree.
* * MAINTAINERS (Write After Approval): Add myself to the list.Siddhesh Poyarekar2012-07-062-0/+5
|
* * dwarf2read.c (dw2_expand_symtabs_matching): Fix typo.Doug Evans2012-07-062-1/+5
|
* *** empty log message ***gdbadmin2012-07-061-1/+1
|
* daily updateAlan Modra2012-07-061-1/+1
|
* gas/config/Sean Keys2012-07-054-438/+367
| | | | | | | | | | | | | | | | * tc-xgate.c: Revised assembler so that operands are collected before the addressing mode is determined. include/opcode/ * xgate.h: Changed the format string for mode XGATE_OP_DYA_MON. opcodes/ * xgate-dis.c: Removed an IF statement that will always be false due to overlapping operand masks. * xgate-opc.c: Corrected 'com' opcode entry and fixed spacing.
* Typo fix.Thomas Schwinge2012-07-051-1/+1
|
* opcodes/Thomas Schwinge2012-07-052-2/+5
| | | | * mips-dis: Remove gratuitous newline.
* 2012-07-05 Hui Zhu <hui_zhu@mentor.com>Hui Zhu2012-07-052-2/+9
| | | | | * gdb.texinfo (Maintenance Commands): Change help for "maint agent" and "maint agent-eval".
* 2012-07-05 Hui Zhu <hui_zhu@mentor.com>Hui Zhu2012-07-052-45/+83
| | | | | | | | | | | * ax-gdb.c (cli/cli-utils.h): New include. (linespec.h): Ditto. (agent_eval_command_one): New function. (agent_command_1): Ditto. (agent_command): Call function agent_command_1. (agent_eval_command): Ditto. (_initialize_ax_gdb): Change help for "maint agent" and "maint agent-eval".
* 2012-07-05 Hui Zhu <hui_zhu@mentor.com>Hui Zhu2012-07-054-17/+26
| | | | | | * breakpoint.c (check_for_argument): Move to file cli/cli-utils.c. * cli/cli-utils.c (check_for_argument): New function. * cli/cli-utils.h (check_for_argument): Ditto.
* *** empty log message ***gdbadmin2012-07-051-1/+1
|
* daily updateAlan Modra2012-07-051-1/+1
|
* Mention x32 ABI support in NEWSH.J. Lu2012-07-042-0/+7
| | | | * NEWS: Mention x32 ABI support.
* Add sp_regnum_from_eax/pc_regnum_from_eax to i386 gdbarch_tdepH.J. Lu2012-07-044-0/+35
| | | | | | | | | | | | | * amd64-tdep.c (amd64_x32_init_abi): Set sp_regnum_from_eax to AMD64_RSP_REGNUM and pc_regnum_from_eax to AMD64_RIP_REGNUM. * i386-tdep.c (i386_gdbarch_init): Initialize sp_regnum_from_eax and pc_regnum_from_eax to -1. Update SP regnum from sp_regnum_from_eax and PC regnum from pc_regnum_from_eax if needed. * i386-tdep.h (gdbarch_tdep): Add sp_regnum_from_eax and pc_regnum_from_eax.
* gdb/testsuite/Jan Kratochvil2012-07-042-1/+7
| | | | | | PR 12649 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing gdb_test_multiple $gdb_prompt terminator.