1. 01 Aug, 2011 4 commits
  2. 31 Jul, 2011 5 commits
  3. 30 Jul, 2011 4 commits
  4. 29 Jul, 2011 9 commits
  5. 28 Jul, 2011 9 commits
    • Cary Coutant's avatar
      * workqueue-internal.h (Workqueue_threader::should_cancel_thread): · dcd8d12e
      Cary Coutant authored
      	Add thread_number parameter.
      	(Workqueue_threader_threadpool::should_cancel_thread): Likewise.
      	* workqueue-threads.cc
      	(Workqueue_threader_threadpool::should_cancel_thread): Cancel
      	current thread if its thread number is greater than desired thread
      	count.
      	* workqueue.cc (Workqueue_threader_single::should_cancel_thread):
      	Add thread_number parameter.
      	(Workqueue::should_cancel_thread): Likewise.
      	(Workqueue::find_runnable_or_wait): Pass thread_number to
      	should_cancel_thread.
      	* workqueue.h (Workqueue::should_cancel_thread): Add thread_number
      	parameter.
      dcd8d12e
    • Roland McGrath's avatar
      BFD vector for elf32-i386-nacl: · a27e4371
      Roland McGrath authored
      bfd/
      	* elf32-i386.c (NACL_PLT_ENTRY_SIZE, NACLMASK): New macros.
      	(elf_i386_nacl_plt0_entry): New variable.
      	(elf_i386_plt_entry): New variable.
      	(elf_i386_nacl_pic_plt0_entry): New variable.
      	(elf_i386_nacl_pic_plt_entry): New variable.
      	(elf_i386_nacl_plt, elf_i386_nacl_arch_bed): New variables.
      	(elf_backend_arch_data): New macro setting for elf_i386_nacl_vec stanza.
      	(elf_backend_plt_alignment): Likewise.
      
      	* config.bfd: Handle i[3-7]86-*-nacl*.
      	* elf32-i386.c (bfd_elf32_i386_nacl_vec): New backend vector stanza.
      	* targets.c: Support bfd_elf32_i386_nacl_vec.
      	* configure.in: Likewise.
      	* configure: Regenerated.
      a27e4371
    • Roland McGrath's avatar
      Parameterize elf32-i386 PLT generation: · 25e762b9
      Roland McGrath authored
      	* elf32-i386.c (struct elf_i386_plt_layout): New type.
      	(GET_PLT_ENTRY_SIZE): New macro.
      	(elf_i386_plt): New variable.
      	(struct elf_i386_backend_data): New member `plt'.
      	(elf_i386_arch_bed): Add initializer for it.
      	(elf_i386_vxworks_arch_bed): Likewise.
      	(elf_i386_allocate_dynrelocs): Use GET_PLT_ENTRY_SIZE.
      	(elf_i386_plt_sym_val): Likewise.
      	(elf_i386_relocate_section): Likewise.
      	(elf_i386_finish_dynamic_symbol): Likewise.
      	Also use other elf_i386_plt_layout members for PLT details.
      	(elf_i386_finish_dynamic_sections): Likewise.
      25e762b9
    • Roland McGrath's avatar
      Clean up elf32-i386-vxworks: · 23209a78
      Roland McGrath authored
      	* elf32-i386.c (struct elf_i386_backend_data): New type.
      	(get_elf_i386_backend_data): New macro.
      	(elf_i386_arch_bed): New variable.
      	(elf_backend_arch_data): New macro.
      	(struct elf_i386_link_hash_table): Remove plt0_pad_byte and is_vxworks.
      	(elf_i386_link_hash_table_create): Don't initialize them.
      	(elf_i386_create_dynamic_sections): Find is_vxworks flags in
      	elf_i386_backend_data, not elf_i386_link_hash_table.
      	(elf_i386_adjust_dynamic_symbol): Likewise.
      	(elf_i386_allocate_dynrelocs): Likewise.
      	(elf_i386_readonly_dynrelocs): Likewise.
      	(elf_i386_size_dynamic_sections): Likewise.
      	(elf_i386_relocate_section): Likewise.
      	(elf_i386_finish_dynamic_symbol): Likewise.
      	(elf_i386_finish_dynamic_sections): Likewise.  Same for plt0_pad_byte.
      	(elf_i386_vxworks_link_hash_table_create): Function removed.
      	(elf_i386_vxworks_arch_bed): New variable.
      	(elf_backend_arch_data): New macro in elf32-i386-vxworks stanza.
      
      	* elf-bfd.h (elf_backend_data): New member arch_backend_data.
      	* elfxx-target.h (elf_backend_arch_data): New macro.
      	(elfNN_bed): Use it as initializer for the new member.
      23209a78
    • Nick Clifton's avatar
      * dwarf2dbg.c (out_debug_line): Ignore non-normal segments, with a · 9aec2026
      Nick Clifton authored
      	warning.
      	* doc/as.texinfo (Offset): Document .offset directive.
      
      	testsuite/
      	* gas/elf/warn-2.s: New.
      9aec2026
    • Nick Clifton's avatar
      * elf64-hppa.c (elf_hppa_final_link_relocate): Fix handling of out · d91a6875
      Nick Clifton authored
      	of range branches.
      d91a6875
    • Phil Muldoon's avatar
      2011-07-28 Phil Muldoon <pmuldoon@redhat.com> · 00bd41d6
      Phil Muldoon authored
      	* varobj.c (value_get_print_value): Move hint check later into the
      	function.  Comment function.  Free thevalue before reusing it.
      
      2011-07-28  Phil Muldoon  <pmuldoon@redhat.com>
      
      	* gdb.python/py-mi.exp: Test printers returning string hint, and
      	also not returning a value.
      	* gdb.python/py-prettyprint.c: Add testcase for above.
      	* gdb.python/py-prettyprint.py: Add test printer for above.
      00bd41d6
    • Alan Modra's avatar
      daily update · e89702a8
      Alan Modra authored
      e89702a8
    • gdbadmin's avatar
      *** empty log message *** · 17df25c6
      gdbadmin authored
      17df25c6
  6. 27 Jul, 2011 9 commits
    • Jan Kratochvil's avatar
      gdb/testsuite/ · d24f74ce
      Jan Kratochvil authored
      	* gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
      	(.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
      	(.Ldie30) Add as field "data4".
      	(.Ldie32) Rename field "b" to "shl".
      	(abbrev4) Change for the "data4" field.
      	(abbrev5, abbrev6) Remove.
      	* gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
      	(p &s.shl): ... here.  Add comment.
      	(p &s.data4): New.
      d24f74ce
    • Roland McGrath's avatar
      ld/testsuite/ · 3396237f
      Roland McGrath authored
      2011-07-27  Roland McGrath  <mcgrathr@google.com>
      
      	* ld-i386/vxworks1-lib.rd: Swap order of sections expected in output.
      3396237f
    • Jan Kratochvil's avatar
      gdb/ · 18a46dbe
      Jan Kratochvil authored
      2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
      	    Pedro Alves  <pedro@codesourcery.com>
      
      	* eval.c (evaluate_subexp_standard): Remove not_lval from all calls of
      	value_one.
      	* valops.c (value_one): Remove parameter lv.  Do not pass it to itself.
      	Assert the result kind.
      	* value.h (value_one): Remove parameter lv.
      18a46dbe
    • Jan Kratochvil's avatar
      gdb/ · bb7da2bf
      Jan Kratochvil authored
      	Fix crash on lval_computed values.
      	* valops.c (value_zero): Use not_lval for lval_computed.
      
      gdb/testsuite/
      	Fix crash on lval_computed values.
      	* gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
      bb7da2bf
    • Tom Tromey's avatar
      * Makefile.in (HFILES_NO_SRCDIR): Add 'common' prefix for · 2d5213f8
      Tom Tromey authored
      	gdb_assert.h, gdb_locale.h, gdb_dirent.h.
      2d5213f8
    • Jan Kratochvil's avatar
      gdb/ · 11081198
      Jan Kratochvil authored
      	* typeprint.c (_initialize_typeprint): Extend the help of "whatis" and
      	"ptype" by their typedefs difference.
      
      gdb/testsuite/
      	* gdb.base/help.exp (help whatis): Update the expected string.
      11081198
    • Jan Kratochvil's avatar
      gdb/ · 3c6e0cb3
      Jan Kratochvil authored
      	* dwarf2expr.c (ctx_no_read_reg): New function.
      	* dwarf2expr.h (ctx_no_read_reg): New declaration.
      	* dwarf2read.c (read_2_signed_bytes, read_4_signed_bytes): Remove.
      	(decode_locdesc_read_mem, decode_locdesc_ctx_funcs): New.
      	(decode_locdesc): Replace by a caller of dwarf_expr_eval.
      
      gdb/testsuite/
      	* gdb.dwarf2/dw2-simple-locdesc.S: New file.
      	* gdb.dwarf2/dw2-simple-locdesc.exp: New file.
      	* gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
      	Change the expected string.
      3c6e0cb3
    • Jan Kratochvil's avatar
      gdb/ · 523f3620
      Jan Kratochvil authored
      	* dwarf2-frame.c (no_get_frame_base, no_get_frame_cfa, no_get_frame_pc)
      	(no_get_tls_address, no_dwarf_call, no_base_type): Move to the other
      	file.
      	(dwarf2_frame_ctx_funcs): Reference the renamed functions.
      	* dwarf2expr.c (ctx_no_get_frame_base, ctx_no_get_frame_cfa)
      	(ctx_no_get_frame_pc, ctx_no_get_tls_address, ctx_no_dwarf_call)
      	(ctx_no_get_base_type): Move the functions here.
      	* dwarf2expr.h (ctx_no_get_frame_base, ctx_no_get_frame_cfa)
      	(ctx_no_get_frame_pc, ctx_no_get_tls_address, ctx_no_dwarf_call)
      	(ctx_no_get_base_type): New declarations.
      523f3620
    • Jan Kratochvil's avatar
      binutils/ · 212b6063
      Jan Kratochvil authored
      	* dwarf.c (read_and_display_attr_value): Recognize DW_FORM_data4 and
      	DW_FORM_data8 as location list pointers only for DWARF < 4.
      212b6063