aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-03-29 Fix mingw compilation with --enable-targets=all.Pierre Muller2-1/+8
* remote-mips.c (gdb_usleep.h): Include header. (mips_enter_debug): Use gdb_usleep instead of sleep.
2011-03-29Properly handle multiple operands for x32 quad.H.J. Lu5-8/+23
gas/ 2011-03-29 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (handle_quad): Properly handle multiple operands. gas/testsuite/ 2011-03-29 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/ilp32/quad.d: Add tests for multiple operands. * gas/i386/ilp32/quad.s: Likewise.
2011-03-29gas: blackfin: gas: blackfin: reject invalid BYTEUNPACK insnsMike Frysinger5-0/+14
The destination registers must be different with BYTEUNPACK insns, otherwise the hardware throws up an exception. So reject them. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-29gas: blackfin: gas: blackfin: reject invalid BYTEOP16M insnsMike Frysinger5-0/+16
The destination registers must be different with BYTEOP16M insns, otherwise the hardware throws up an exception. So reject them. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-29gas: blackfin: gas: blackfin: reject invalid BYTEOP16P insnsMike Frysinger5-0/+17
The destination registers must be different with BYTEOP16P insns, otherwise the hardware throws up an exception. So reject them. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-29 PR ld/12613Alan Modra2-1/+6
* ldlex.l (lex_warn_invalid): Don't assume char is unsigned.
2011-03-29 * coffdump.c: Include bfd_stdint.hAlan Modra2-2/+7
2011-03-29libdecnumber: start a gitignoreMike Frysinger2-0/+5
2011-03-29sim: bfin: fix sign extension with 16bit acc add insnsMike Frysinger2-9/+9
The current implementation attempts to handle the 16bit sign extension itself. Unfortunately, it gets it right in some cases. So rather than fix that logic, just drop it in favor of using 16bit signed casts. Now gcc will take care of getting the logic right. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-29gas: blackfin: reject invalid 16bit acc add insnsMike Frysinger7-2/+18
The 16bit acc add insn cannot assign the two results to the same dreg, so make sure gas rejects attempts to use this insn variant. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-29*** empty log message ***gdbadmin1-1/+1
2011-03-28daily updateAlan Modra1-1/+1
2011-03-28Support .quad for x32.H.J. Lu7-11/+81
gas/ 2011-03-28 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (handle_quad): New. (md_pseudo_table): Add "quad". gas/testsuite/ 2011-03-28 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/ilp32/inval.s: Remove .quad. * gas/i386/ilp32/inval.l: Updated. * gas/i386/ilp32/quad.d: New. * gas/i386/ilp32/quad.s: Likewise.
2011-03-28gdb/testsuite/Jan Kratochvil4-0/+247
Test STT_GNU_IFUNC support. * gdb.base/gnu-ifunc-lib.c: New file. * gdb.base/gnu-ifunc.c: New file. * gdb.base/gnu-ifunc.exp: New file.
2011-03-28gdb/Jan Kratochvil6-11/+286
Support resolution of STT_GNU_IFUNC via breakpoints. * breakpoint.c (print_it_typical): Support bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return. (bpstat_what): Rename parameter to bs_head, new variable bs, adjust the loop. Support bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return. New comment after the loop. New loop for bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return breakpoints. (bptype_string, print_one_breakpoint_location): Support bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return. (user_settable_breakpoint): Return true also for bp_gnu_ifunc_resolver. (allocate_bp_location): Support bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return. (set_breakpoint_location_function): New parameter explicit_loc, describe it. Call find_pc_partial_function_gnu_ifunc with new variable IS_GNU_IFUNC and adjust the address for STT_GNU_IFUNC if EXPLICIT_LOC is not set. (set_raw_breakpoint): Set EXPLICIT_LOC for set_breakpoint_location_function. (clone_momentary_breakpoint): Use true for EXPLICIT_LOC of set_breakpoint_location_function. (mention): Support bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return. (add_location_to_breakpoint): Set EXPLICIT_LOC for set_breakpoint_location_function. (update_breakpoint_locations): Remove static. (breakpoint_re_set_one): Support bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return. * breakpoint.h (enum bptype): New fields bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return. (update_breakpoint_locations): New declaration. * elfread.c: Include gdbthread.h and regcache.h. (elf_gnu_ifunc_resolver_stop, elf_gnu_ifunc_resolver_return_stop): New functions. (elf_gnu_ifunc_fns): Install them. * minsyms.c (stub_gnu_ifunc_resolver_stop) (stub_gnu_ifunc_resolver_return_stop): New functions. (stub_gnu_ifunc_fns): Install them. * symtab.h (struct gnu_ifunc_fns): New fields gnu_ifunc_resolver_stop and gnu_ifunc_resolver_return_stop. (gnu_ifunc_resolver_stop, gnu_ifunc_resolver_return_stop): New.
2011-03-28gdb/Jan Kratochvil5-1/+480
STT_GNU_IFUNC reader implementation. * elfread.c: Include gdbtypes.h, value.h and infcall.h. (SYMBOL_GOT_PLT_SUFFIX, elf_rel_plt_read) (elf_objfile_gnu_ifunc_cache_data, struct elf_gnu_ifunc_cache) (elf_gnu_ifunc_cache_hash, elf_gnu_ifunc_cache_eq) (elf_gnu_ifunc_record_cache, elf_gnu_ifunc_resolve_by_cache) (elf_gnu_ifunc_resolve_by_got, elf_gnu_ifunc_resolve_name) (elf_gnu_ifunc_resolve_addr): New. (elf_symfile_read): Call elf_rel_plt_read. (elf_gnu_ifunc_fns): New. (_initialize_elfread): Initialize elf_objfile_gnu_ifunc_cache_data. Install elf_gnu_ifunc_fns. * infcall.c (find_function_return_type): New function. (find_function_addr): Resolve TYPE_GNU_IFUNC functions, if possible. * minsyms.c (stub_gnu_ifunc_resolve_addr) (stub_gnu_ifunc_resolve_name): New functions. (stub_gnu_ifunc_fns, gnu_ifunc_fns_p): New variables. * symtab.h (struct gnu_ifunc_fns, gnu_ifunc_resolve_addr) (gnu_ifunc_resolve_name, gnu_ifunc_fns_p): New.
2011-03-28gdb/Jan Kratochvil2-13/+16
Code cleanup for later STT_GNU_IFUNC support. * infcall.c (find_function_addr): Remove variable code, use explicit dereferences for it. Move VALUE_TYPE initialization later.
2011-03-28gdb/Jan Kratochvil3-7/+44
GDB find_pc_partial_function support for STT_GNU_IFUNC. * blockframe.c (cache_pc_function_is_gnu_ifunc): New variable. (clear_pc_function_cache): Clear it. (find_pc_partial_function): Rename to ... (find_pc_partial_function_gnu_ifunc): ... this function. New parameter is_gnu_ifunc_p, describe it. Set *IS_GNU_IFUNC_P. (find_pc_partial_function): New wrapper for this function. * symtab.h (find_pc_partial_function_gnu_ifunc): New declaration.
2011-03-28gdb/Jan Kratochvil11-8/+118
GDB internal type support for STT_GNU_IFUNC. * elfread.c (record_minimal_symbol): Support mst_text_gnu_ifunc. (elf_symtab_read): Set mst_text_gnu_ifunc for BSF_GNU_INDIRECT_FUNCTION. * eval.c (evaluate_subexp_standard): Support TYPE_GNU_IFUNC. * gdbtypes.c (init_type): Support TYPE_FLAG_GNU_IFUNC, builtin_func_func, nodebug_text_gnu_ifunc_symbol and nodebug_got_plt_symbol. * gdbtypes.h (enum type_flag_value): New entry TYPE_FLAG_GNU_IFUNC. (TYPE_GNU_IFUNC): New. (struct main_type): New field flag_gnu_ifunc. (struct builtin_type): New field builtin_func_func. (struct objfile_type): New fields nodebug_text_gnu_ifunc_symbol and nodebug_got_plt_symbol. * minsyms.c (lookup_minimal_symbol_text): Support mst_text_gnu_ifunc. (in_gnu_ifunc_stub): New. (prim_record_minimal_symbol, find_solib_trampoline_target): Support mst_text_gnu_ifunc. * parse.c (write_exp_msymbol): New variable ifunc_msym. Detect and support mst_text_gnu_ifunc. Support mst_slot_got_plt. * solib-svr4.c (svr4_in_dynsym_resolve_code): Return true also for in_gnu_ifunc_stub. * symmisc.c (dump_msymbols): Support mst_text_gnu_ifunc. * symtab.c (search_symbols): Likewise. * symtab.h (enum minimal_symbol_type): New fields mst_text_gnu_ifunc and mst_slot_got_plt. (in_gnu_ifunc_stub): New declaration.
2011-03-28gdb/Jan Kratochvil5-27/+151
Support a ring of related breakpoints. * breakpoint.c (watchpoint_del_at_next_stop): New, move here code from other functions, add gdb_assert. (update_watchpoint, watchpoint_check): Add gdb_assert. Use watchpoint_del_at_next_stop. (bpstat_check_watchpoint): Use watchpoint_del_at_next_stop. (bpstat_stop_status): Handle ring in related_breakpoint. (set_raw_breakpoint_without_location): Initialize ring in related_breakpoint. (delete_breakpoint): Handle ring in related_breakpoint, use watchpoint_del_at_next_stop. (map_breakpoint_numbers): Handle ring in related_breakpoint. gdb/testsuite/ Support a ring of related breakpoints. * gdb.base/watchpoint-delete.c: New file. * gdb.base/watchpoint-delete.exp: New file.
2011-03-28gdb/testsuite/Jan Kratochvil6-14/+43
* gdb.ada/arrayparam.exp (print first after function call): Use explicit package name. Add a comment (print lasta after function call): Rename ... (print last after function call): ... it and use explicit package name. (print length after function call): Use explicit package name. * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test. * gdb.ada/sym_print_name.exp: Change `i' to `integervar'. (multiple matches for symbol i): Rename ... (multiple matches for symbol integervar): ... it. * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'. * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
2011-03-28 PR symtab/12441:Tom Tromey2-1/+10
* dwarf2read.c (prepare_one_comp_unit): Don't call set_cu_language with `language_minimal'.
2011-03-28 * gdb.texinfo (Set Tracepoints): Fix typo.Tom Tromey2-1/+5
2011-03-28 * coffdump.c (coff_dump): Correct spelling error.Pierre Muller2-2/+7
(show_usage): Replace SYSROFF by COFF.
2011-03-28 * configure.ac (i[[3456789]]86-*-msdosdjgpp*): Don't disableJoseph Myers3-16/+13
libffi on host. (x86_64-*-mingw*, i[[3456789]]86-*-mingw32*): Don't disable newlib on host. (c54x*-*-* | tic54x-*-*): Don't disable newlib on host. * configure: Regenerate.
2011-03-28 * coffdump.c (dump_coff_scope): Use double typecast for pointer PPierre Muller2-1/+6
to allow compilation for all targets.
2011-03-28Add support for DragonFlyBSD target.Nick Clifton16-18/+102
2011-03-28 * configure.in: Check for windows.h, not Windows.h.Joseph Myers4-5/+11
* configure: Regenerate. * plugin.c: Include windows.h, not Windows.h.
2011-03-28*** empty log message ***gdbadmin1-1/+1
2011-03-27daily updateAlan Modra1-1/+1
2011-03-27 * archive.cc (Archive::interpret_header): Return -1 if somethingIan Lance Taylor2-15/+34
goes wrong. Change callers accordingly.
2011-03-27sim: bfin: handle saturation with RND12 sub insnsMike Frysinger2-1/+11
The current handling of the subtraction insn with the RND12 modifier works when saturation isn't involved. So add handling for this edge case to match the hardware. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-27*** empty log message ***gdbadmin1-1/+1
2011-03-26daily updateAlan Modra1-1/+1
2011-03-26sim: bfin: add missing VS set with add/sub insnsMike Frysinger2-0/+7
The 16bit add/sub insns missed setting the VS bit in ASTAT whenever the V bit was also set. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-26*** empty log message ***gdbadmin1-1/+1
2011-03-25daily updateAlan Modra1-1/+1
2011-03-25 * testsuite/Makefile.am (final_layout.stdout): Use -n option with nm.Cary Coutant3-2/+7
* testsuite/Makefile.in: Regenerate.
2011-03-25 * arm-tdep.c (arm_elf_make_msymbol_special): Use ARM_SYM_BRANCH_TYPEUlrich Weigand2-4/+7
instead of checking for STT_ARM_TFUNC symbol type.
2011-03-25Regenerate Makefile.in.Eric B. Weddington2-0/+44
2011-03-25oops - fix typoNick Clifton1-1/+1
2011-03-25 * dwarf.c (decode_location_expression): Use dwarf_vmatoaNick Clifton2-7/+14
function to display DW_OP_addr OP. (process_debug_info): Use dwarf_vma type for local variables length and type_offset.
2011-03-25 * dwarf.c (process_debug_info): Use offset_size to determineNick Clifton2-1/+6
the bit-size of the computation unit's offset.
2011-03-25 * bucomm.c (make_tempname): Stop memory leak.Nick Clifton2-1/+5
ICVS: ----------------------------------------------------------------------
2011-03-25 * objdump.c (dump_reloc_set): Free malloced memory.Nick Clifton2-6/+12
2011-03-25 * stabs.c (parse_stab_enum_type): Fix memory leaks.Nick Clifton2-19/+56
(parse_stab_struct_type): Ditto. (parse_stab_struct_fields): Ditto. (parse_stab_one_struct_field): Ditto. (parse_stab_members): Ditto. (stab_demangle_qualified): Ditto.
2011-03-25 * prdbg.c (pr_function_type): Close memory leaks.Nick Clifton2-16/+71
(pr_method_type): Likewise. (tg_class_static_member): Likewise. (tg_class_method_variant): Likewise. (tg_class_static_method_variant): Likewise.
2011-03-25 * ieee.c (ieee_add_bb11): Plug memory leak.Nick Clifton2-5/+20
(ieee_function_type): Likewise. (ieee_class_baseclass): Likewise.
2011-03-25 * ar.c (write_archive): Plug memory leak.Nick Clifton2-0/+2
2011-03-25 * ar.c (delete_members): Plug memory leak.Nick Clifton2-2/+9