aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-07-06 * c-exp.y (%union) <type_stack>: New field.Tom Tromey6-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.
2012-07-06 * parser-defs.h (type_stack, type_stack_size, type_stack_depth):Tom Tromey3-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.
2012-07-06 * c-exp.y (func_mod, direct_abs_decl, abs_decl, ptr_operator):Tom Tromey2-9/+8
Remove %type.
2012-07-06 * mips.h: Fix a typo in description.Maciej W. Rozycki2-1/+5
2012-07-06 * c-lang.c (c_printstr): Remove ununsed variable WIDTH.Siddhesh Poyarekar2-1/+4
2012-07-06 * cp-valprint.c (cp_print_value): Replace potentially unsafeSiddhesh Poyarekar2-3/+12
alloca with xmalloc/xfree.
2012-07-06* MAINTAINERS (Write After Approval): Add myself to the list.Siddhesh Poyarekar2-0/+5
2012-07-06 * dwarf2read.c (dw2_expand_symtabs_matching): Fix typo.Doug Evans2-1/+5
2012-07-06*** empty log message ***gdbadmin1-1/+1
2012-07-06daily updateAlan Modra1-1/+1
2012-07-05gas/config/Sean Keys4-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.
2012-07-05Typo fix.Thomas Schwinge1-1/+1
2012-07-05opcodes/Thomas Schwinge2-2/+5
* mips-dis: Remove gratuitous newline.
2012-07-052012-07-05 Hui Zhu <hui_zhu@mentor.com>Hui Zhu2-2/+9
* gdb.texinfo (Maintenance Commands): Change help for "maint agent" and "maint agent-eval".
2012-07-052012-07-05 Hui Zhu <hui_zhu@mentor.com>Hui Zhu2-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-052012-07-05 Hui Zhu <hui_zhu@mentor.com>Hui Zhu4-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.
2012-07-05*** empty log message ***gdbadmin1-1/+1
2012-07-05daily updateAlan Modra1-1/+1
2012-07-04Mention x32 ABI support in NEWSH.J. Lu2-0/+7
* NEWS: Mention x32 ABI support.
2012-07-04Add sp_regnum_from_eax/pc_regnum_from_eax to i386 gdbarch_tdepH.J. Lu4-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.
2012-07-04gdb/testsuite/Jan Kratochvil2-1/+7
PR 12649 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing gdb_test_multiple $gdb_prompt terminator.
2012-07-042012-07-04 Pedro Alves <palves@redhat.com>Pedro Alves2-2/+7
* gdb.mi/mi-reverse.exp: Use supports_reverse and supports_process_record.
2012-07-042012-07-04 Pedro Alves <palves@redhat.com>Pedro Alves3-213/+219
* gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line endings. * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
2012-07-04Check number of sections overflowH.J. Lu3-2/+16
* elf.c (assign_section_numbers): Check if number of sections >= SHN_LORESERVE. * elfcode.h (elf_object_p): Likewise.
2012-07-04*** empty log message ***gdbadmin1-1/+1
2012-07-04daily updateAlan Modra1-1/+1
2012-07-03 * gdb.base/info-os.c (main): Retry resource acquisition until anStan Shebs3-23/+84
available one is found. * gdb.base/info-os.exp: Collect resource keys from the program and use them in matching.
2012-07-03gdb/Jan Kratochvil3-15/+26
Fix 'warning: parameter has incomplete type' with gcc-3.4.6. * dwarf2expr.h: Include gdbtypes.h. (enum call_site_parameter_kind, union call_site_parameter_u): Remove these forward declarations. (cu_offset, sect_offset): Move these ... * gdbtypes.h: Remove include dwarf2expr.h. (cu_offset, sect_offset): ... here.
2012-07-03 * archive.c (bsd_write_armap): Catch attempts to create an archiveNick Clifton4-3/+35
with indicies bigger than 4Gb. (coff_write_armap): Likewise. * readelf.c (process_archive): Display member indicies when dumping index.
2012-07-03 gdb.texinfo: Separate the index into 2 indices, cp and fn, toEli Zaretskii2-9/+33
avoid file-name clashes between Index.html and index.html on case-insensitive filesystems. See the discussion starting in http://sourceware.org/ml/gdb-patches/2012-06/msg00457.html for the details of the problem. (Top): Update the master menu for the above. (Concept Index, Command and Variable Index): New nodes, instead of the old "Index" node that was deleted. All cross-references updated.
2012-07-03Don't compress empty debug sectionH.J. Lu5-1/+44
2012-07-03 H.J. Lu <hongjiu.lu@intel.com> PR binutils/14319 * elf.c (_bfd_elf_make_section_from_shdr): Don't compress empty debug section. 2012-07-03 H.J. Lu <hongjiu.lu@intel.com> PR binutils/14319 * binutils-all/compress.exp: Test compress empty debug sections. * binutils-all/dw2-empty.S: New file.
2012-07-03Support x32 sigtrampH.J. Lu2-3/+26
* amd64-linux-tdep.c (linux_sigtramp_code): Renamed to ... (amd64_linux_sigtramp_code): This. (amd64_x32_linux_sigtramp_code): New. (LINUX_SIGTRAMP_LEN): Updated. (amd64_linux_sigtramp_start): Check x32 sigtramp.
2012-07-03Properly handle indirect symbolsH.J. Lu16-29/+360
2012-07-03 H.J. Lu <hongjiu.lu@intel.com> PR ld/3351 * elflink.c (_bfd_elf_update_dynamic_flags): New. (_bfd_elf_merge_symbol): Update both real and indirect symbol dynamic flags. (_bfd_elf_add_default_symbol): Make the real symbol dynamic if the indirect symbol is defined in a shared library. (elf_link_add_object_symbols): Likewise. If the indirect symbol has been forced local, don't make the real symbol dynamic. (elf_link_check_versioned_symbol): Check indirect symbol. (elf_link_output_extsym): Use real symbol definition when reporting indirect symbol error. Check version info for dynamic versioned symbol. 2012-07-03 H.J. Lu <hongjiu.lu@intel.com> PR ld/3351 * ld-elf/indirect.exp: New file. * ld-elf/indirect1a.c: Likewise. * ld-elf/indirect1b.c: Likewise. * ld-elf/indirect1c.c: Likewise. * ld-elf/indirect2.c: Likewise. * ld-elf/indirect3.out: Likewise. * ld-elf/indirect3a.c: Likewise. * ld-elf/indirect3b.c: Likewise. * ld-elf/indirect3c.c: Likewise. * ld-elf/indirect4.out: Likewise. * ld-elf/indirect4a.c: Likewise. * ld-elf/indirect4b.c: Likewise. * ld-elf/indirect4c.c: Likewise.
2012-07-03 PR ld/14207Alan Modra2-10/+19
* elf.c (assign_file_positions_for_load_sections): Remove assertions that only PT_LOAD headers include file header and section headers. (assign_file_positions_for_non_load_sections): Similarly don't assert PT_GNU_RELRO header does not include file and section headers. Compare first section vma rather than PT_LOAD p_vaddr against relro_start when looking for PT_LOAD covering PT_GNU_RELRO. Replace abort with assertion.
2012-07-03daily updateAlan Modra1-1/+1
2012-07-03*** empty log message ***gdbadmin1-1/+1
2012-07-02gdb/Jan Kratochvil2-1/+6
* linux-thread-db.c (thread_db_new_objfile): Fix comment typos. Plus add in an already checked in file: (thread_db_new_objfile): Exclude debug files.
2012-07-02gdb/Jan Kratochvil5-21/+20
* config.in: Regenerate. * configure: Regenerate. * configure.ac: Remove check for gnu/libc-version.h. * linux-thread-db.c <HAVE_GNU_LIBC_VERSION_H>: Remove include of gnu/libc-version.h. (enable_thread_event_reporting) <HAVE_GNU_LIBC_VERSION_H>: Remove variables libc_version, libc_major and libc_minor. Replace sscanf by inferior_has_bug. Extend the comment.
2012-07-02gdb/Jan Kratochvil4-53/+123
* linux-thread-db.c (inferior_has_bug): New function. (thread_db_find_new_threads_silently): Return boolean as checked by inferior_has_bug, describe it in the comments. (try_thread_db_load_1): Move call to thread_db_find_new_threads_silently earlier. Abort the initialization if it returned non-zero. (thread_db_find_new_threads_2): Preinitialize ERR. Check errors also if UNTIL_NO_NEW, gdb/testsuite/ * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen. Wrap the test into loop for corefile and core0file.
2012-07-02gdb/testsuite/Jan Kratochvil2-284/+286
* gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
2012-07-02gdb/testsuite/Jan Kratochvil2-27/+31
* gdb.dwarf2/fission-reread.S: Remove .section attributes. Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove .note.GNU-stack.
2012-07-02 * dwarf2read.c (maybe_queue_comp_unit): Move definition next to othersDoug Evans2-42/+45
related to queue management.
2012-07-02ld/testsuite/Roland McGrath12-78/+114
* ld/testsuite/ld-i386/tlsbin-nacl.rd: Update for symbol table changes. * ld/testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise. * ld/testsuite/ld-i386/tlsdesc-nacl.rd: Likewise. * ld/testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise. * ld/testsuite/ld-i386/tlsnopic-nacl.rd: Likewise. * ld/testsuite/ld-i386/tlspic-nacl.rd: Likewise. * ld/testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise. * ld/testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise. * ld/testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise. * ld/testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise. * ld/testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2012-07-02 * dwarf2read.c (create_debug_types_hash_table): Use "debug dwarf2-read"Doug Evans2-8/+44
instead of "debug dwarf2-die" in debugging printfs. (create_debug_info_hash_table_reader): Ditto. (create_debug_info_hash_table): Ditto. (init_dwo_file): Ditto. (init_cutu_and_read_dies): Add debugging printf. (init_cutu_and_read_dies_no_follow): Ditto. (process_psymtab_comp_unit_reader): Ditto.
2012-07-02gas/testsuite/Roland McGrath9-5/+25
* gas/i386/rep-suffix.s: Add 'rep nop' case. * gas/i386/x86-64-rep-suffix.s: Likewise. * gas/i386/rep-suffix.d: Updated. * gas/i386/x86-64-rep-suffix.d: Likewise. * gas/i386/ilp32/x86-64-rep-suffix.d: Likewise. opcodes/ * i386-opc.tbl: Add RepPrefixOk to nop. * i386-tbl.h: Regenerate.
2012-07-02gdb/testsuite:Sergio Durigan Junior2-5/+11
2012-07-02 Sergio Durigan Junior <sergiodj@redhat.com> * gdb.base/help.exp (help b, help br, help bre, help brea, help break): Include help message for the new `-probe' and `-probe-stap' options.
2012-07-02(gdb_no_commands_at_breakpoint): Tweak previous patch for win64 whereDoug Evans1-2/+3
sizeof (long) < sizeof (void*).
2012-07-02 * mem-break.c (gdb_no_commands_at_breakpoint): Fix cast fromDoug Evans2-2/+8
pointer to int.
2012-07-02Fix ChangeLog entryH.J. Lu1-1/+1
2012-07-02Move rep tests for bsf/bsr/ret to rep-suffixH.J. Lu11-29/+35
* gas/i386/i386.exp: Don't run rep-bsf nor rep-ret. * gas/i386/rep-bsf.d: Removed. * gas/i386/rep-bsf.s: Likewise. * gas/i386/rep-ret.d: Likewise. * gas/i386/rep-ret.s: Likewise. * gas/i386/rep-suffix.d: Updated. * gas/i386/x86-64-rep-suffix.d: Likewise. * gas/i386/ilp32/x86-64-rep-suffix.d: Likewise. * gas/i386/rep-suffix.s: Add tests for bsf, bsr and ret. * i386/x86-64-rep-suffix.s: Likewise.