aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-12-10Add copyright noticesNick Clifton121-105/+897
2012-12-10 * powerpc.cc (Target_selector_powerpc::Target_selector_powerpc):Alan Modra2-23/+8
Set EM_PPC64 or EM_PPC here. (Target_selector_powerpc::do_recognize): Delete.
2012-12-10 * powerpc.cc (Powerpc_relobj::Powerpc_relobj): Init has14_ andAlan Modra2-1/+9
stub_table_. (Target_powerpc::Branch_info::make_stub): Don't omit addend.
2012-12-10*** empty log message ***gdbadmin1-1/+1
2012-12-09daily updateAlan Modra1-1/+1
2012-12-09gdb/Jan Kratochvil10-85/+53
* configure.ac (CC_HAS_LONG_LONG): Replace by AC_MSG_ERROR. * defs.h (LONGEST, ULONGEST): Remove conditionalization for CC_HAS_LONG_LONG. * dwarf2-frame.c (DW64_CIE_ID): Likewise. * dwarf2read.c (extract_cu_value): Remove the function. (create_cus_from_index_list): Make the return type void, inline the extract_cu_value caller, include new gdb_static_assert. (create_cus_from_index): Make the return type void, update the function comment, update the create_cus_from_index_list caller. (create_signatured_type_table_from_index): Make the return type void, inline the extract_cu_value caller, include new gdb_static_assert. (dwarf2_read_index): Update the create_cus_from_index and create_signatured_type_table_from_index caller. * printcmd.c (ui_printf): Remove conditionalizations for CC_HAS_LONG_LONG. * config.in: Regenerate. * configure: Regenerate. gdb/doc/ * gdbint.texinfo (Host Definition): Remove CC_HAS_LONG_LONG.
2012-12-09Properly check indicies bigger than 4GbH.J. Lu2-4/+9
PR binutils/14933 * archive.c (bsd_write_armap): Properly check indicies bigger than 4Gb.
2012-12-09gdb/Jan Kratochvil5-6/+312
* dwarf2read.c (struct dwarf2_cu): New field producer_is_gcc_lt_4_3. Update the comment for checked_producer. (check_producer): New forward declaration. (producer_is_gcc_lt_4_3): New function. (find_file_and_directory): Simulate *COMP_DIR only for gcc < 4.3. (check_producer): Initialize also PRODUCER_IS_GCC_LT_4_3. gdb/testsuite/ * gdb.dwarf2/dw2-compdir-oldgcc.S: New file. * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
2012-12-09*** empty log message ***gdbadmin1-1/+1
2012-12-08daily updateAlan Modra1-1/+1
2012-12-08gdb/testsuiteYao Qi2-2/+41
2012-12-08 Yao Qi <yao@codesourcery.com> Pedro Alves <palves@redhat.com> * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test '=breakpoint-created' when GDB merges the tracepoints of both sides.
2012-12-08 * config.sub: Merge from config repo.Jan-Benedict Glaw2-2/+10
2012-12-08*** empty log message ***gdbadmin1-1/+1
2012-12-07daily updateAlan Modra1-1/+1
2012-12-07Use "readelf -S --wide" on ld-elf/pr14926.dH.J. Lu2-9/+6
* ld-elf/pr14926.d: Use "readelf -S --wide".
2012-12-07gold/Roland McGrath2-2/+8
* testsuite/binary_unittest.cc (Sized_binary_test): Use open_descriptor rather than ::open.
2012-12-07 * ada-lang.c (ada_make_symbol_completion_list): Add 'code'Tom Tromey14-33/+244
argument, assertion. * c-exp.y (typebase): Add completion productions. * completer.c (expression_completer): Handle tag completion. * expression.h (parse_expression_for_completion): Add argument. * f-lang.c (f_make_symbol_completion_list): Add 'code' argument. * language.h (struct language_defn) <la_make_symbol_completion_list>: Add 'code' argument. * parse.c (expout_tag_completion_type, expout_completion_name): New globals. (mark_struct_expression): Add assertion. (mark_completion_tag): New function. (parse_exp_in_context): Initialize new globals. (parse_expression_for_completion): Add 'code' argument. Handle tag completion. * parser-defs.h (mark_completion_tag): Declare. * symtab.c (default_make_symbol_completion_list_break_on): Add 'code' argument. Update. (default_make_symbol_completion_list): Add 'code' argument. (make_symbol_completion_list): Update. (make_symbol_completion_type): New function. * symtab.h (default_make_symbol_completion_list_break_on) (default_make_symbol_completion_list): Update. (make_symbol_completion_type): Declare. testsuite * gdb.base/break1.c (enum some_enum, union some_union): New. (some_enum_global, some_union_global, some_value): New globals. * gdb.base/completion.exp: Add tag completion tests.
2012-12-07 * expression.h (parse_expression_for_completion): RenameTom Tromey7-20/+33
from parse_field_expression. (parse_completion): Rename from in_parse_field. * c-exp.y (lex_one_token): Update. * completer.c (expression_completer): Update. * go-exp.y (lex_one_token): Update. * p-exp.y (yylex): Update. * parse.c (parse_completion): Rename from in_parse_field. (parse_exp_in_context): Update. (parse_expression_for_completion): Rename from parse_field_expression. Update.
2012-12-07 * typeprint.c (_initialize_typeprint): Set completerTom Tromey4-3/+26
for "whatis" and "ptype". testsuite * gdb.base/completion.exp: Add tests for ptype and whatis completion.
2012-12-07Mention PRs in ChangeLog entries for LTO testsH.J. Lu1-0/+20
2012-12-07Add LTO testsH.J. Lu86-0/+1011
* ld-plugin/dummy.c: New file. * ld-plugin/dummy.s: Likewise. * ld-plugin/lto-11.out: Likewise. * ld-plugin/lto-11a.c: Likewise. * ld-plugin/lto-11b.c: Likewise. * ld-plugin/lto-11c.c: Likewise. * ld-plugin/lto-12.out: Likewise. * ld-plugin/lto-12a.c: Likewise. * ld-plugin/lto-12b.c: Likewise. * ld-plugin/lto-12c.c: Likewise. * ld-plugin/lto-13.out: Likewise. * ld-plugin/lto-13a.c: Likewise. * ld-plugin/lto-13b.c: Likewise. * ld-plugin/lto-13c.c: Likewise. * ld-plugin/lto-14.out: Likewise. * ld-plugin/lto-14a.c: Likewise. * ld-plugin/lto-14b.c: Likewise. * ld-plugin/lto-14c.c: Likewise. * ld-plugin/lto-15.out: Likewise. * ld-plugin/lto-15a.c: Likewise. * ld-plugin/lto-15b.c: Likewise. * ld-plugin/lto-16a.c: Likewise. * ld-plugin/lto-16a.d: Likewise. * ld-plugin/lto-16b.c: Likewise. * ld-plugin/lto-16b.d: Likewise. * ld-plugin/lto-17a.c: Likewise. * ld-plugin/lto-17a.d: Likewise. * ld-plugin/lto-17b-1.d: Likewise. * ld-plugin/lto-17b-2.d: Likewise. * ld-plugin/lto-17b.c: Likewise. * ld-plugin/lto-1a.c: Likewise. * ld-plugin/lto-1b.c: Likewise. * ld-plugin/lto-2.c: Likewise. * ld-plugin/lto-3.d: Likewise. * ld-plugin/lto-3.out: Likewise. * ld-plugin/lto-3a.c: Likewise. * ld-plugin/lto-3b.c: Likewise. * ld-plugin/lto-3c.c: Likewise. * ld-plugin/lto-3r.d: Likewise. * ld-plugin/lto-5.d: Likewise. * ld-plugin/lto-5.out: Likewise. * ld-plugin/lto-5a.c: Likewise. * ld-plugin/lto-5b.c: Likewise. * ld-plugin/lto-5r.d: Likewise. * ld-plugin/lto-6.c: Likewise. * ld-plugin/lto-7.out: Likewise. * ld-plugin/lto-7a.c: Likewise. * ld-plugin/lto-7b.c: Likewise. * ld-plugin/lto-7c.c: Likewise. * ld-plugin/lto-7d.c: Likewise. * ld-plugin/lto-8.out: Likewise. * ld-plugin/lto-8a.c: Likewise. * ld-plugin/lto-8b.c: Likewise. * ld-plugin/lto-9.cc: Likewise. * ld-plugin/lto-9.d: Likewise. * ld-plugin/lto.exp: Likewise. * ld-plugin/pr12696-1.cc: Likewise. * ld-plugin/pr12758a.s: Likewise. * ld-plugin/pr12758b.c: Likewise. * ld-plugin/pr12760a.c: Likewise. * ld-plugin/pr12760b.c: Likewise. * ld-plugin/pr12942.out: Likewise. * ld-plugin/pr12942a.cc: Likewise. * ld-plugin/pr12942a.h: Likewise. * ld-plugin/pr12942b.cc: Likewise. * ld-plugin/pr12942c.cc: Likewise. * ld-plugin/pr12975.c: Likewise. * ld-plugin/pr12975.d: Likewise. * ld-plugin/pr12975.t: Likewise. * ld-plugin/pr12982.c: Likewise. * ld-plugin/pr12982.d: Likewise. * ld-plugin/pr13066.cc: Likewise. * ld-plugin/pr13066.out: Likewise. * ld-plugin/pr13183.d: Likewise. * ld-plugin/pr13183a.c: Likewise. * ld-plugin/pr13183b.c: Likewise. * ld-plugin/pr13201.c: Likewise. * ld-plugin/pr13201.out: Likewise. * ld-plugin/pr13229.cc: Likewise. * ld-plugin/pr13229.d: Likewise. * ld-plugin/pr13244.c: Likewise. * ld-plugin/pr13244.d: Likewise. * ld-plugin/pr13287.cc: Likewise. * ld-plugin/run-ie.c: Likewise. * ld-plugin/run-ie.out: Likewise.
2012-12-07Add plugin visibility testH.J. Lu5-2/+42
* ld-plugin/func1p.c: New file. * ld-plugin/func2i.c: Likewise. * ld-plugin/func3h.c: Likewise. * ld-plugin/plugin.exp (plugin_extra_elf_tests): Add plugin visibility test.
2012-12-07Add check_lto_availableH.J. Lu2-0/+33
* lib/ld-lib.exp (check_lto_available): New. Check if compiler supports LTO.
2012-12-07Properly check linker warningsH.J. Lu2-6/+16
* lib/ld-lib.exp (run_cc_link_tests): Properly check linker warnings.
2012-12-07Pass -rc to arH.J. Lu2-1/+5
* lib/ld-lib.exp (ar_simple_create): Pass -rc to ar.
2012-12-07Add a testase for PR ld/14926H.J. Lu3-0/+29
PR ld/14926 * ld-elf/pr14926.d: New file. * ld-elf/pr14926.s: Likewise.
2012-12-07Fix gdb.base/stale-infcall.exp's copyright line.Joel Brobecker2-1/+5
gdb/testsuite/ChangeLog: * gdb.base/stale-infcall.exp: Fix copyright line.
2012-12-07Update copyright.py:NOT_FSF_LIST for sim/common subdir.Joel Brobecker2-3/+9
There was a duplicate ("sim/common/cgen-fpu.h"), and one entry where we do have an FSF copyright header ("sim/common/sim-fpu.c"). gdb/ChangeLog: * copyright.py (NOT_FSF_LIST): Remove duplicate entry "sim/common/cgen-fpu.h". Remove invalid entries "sim/common/sim-fpu.c" and "sim/mn10300/sim-main.h", which actually have an FSF copyright header.
2012-12-07 * ld-elf/comm-data.exp: Revert last change.Alan Modra3-3/+6
* ld-elf/comm-data5.d: xfail frv-linux.
2012-12-07 * ld-elf/shared.exp (libneeded1a.so): Override any systemAlan Modra2-1/+6
supplied --as-needed or --add-needed flag.
2012-12-07 * configure.ac (HAVE_ZLIB): Use AM_ZLIB instead of AC_SEARCH_LIBS.Ian Lance Taylor1-0/+9
Use $ac_cv_header_zlib_h = yes as the condition in AM_CONDITIONAL. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate.
2012-12-07 PR ld/14926Alan Modra2-0/+7
* elf.c (_bfd_elf_map_sections_to_segments): Include elf header size when determining phdr_in_segment.
2012-12-07 * configure.ac (HAVE_ZLIB): Use AM_ZLIB instead of AC_SEARCH_LIBS.Ian Lance Taylor5-4/+26
Use $ac_cv_header_zlib_h = yes as the condition in AM_CONDITIONAL. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate.
2012-12-07 * powerpc.cc (Stub_table::do_write): Delete redundant AddressAlan Modra2-3/+17
typedef and invalid_address constant. (Output_data_glink, Stub_table, Target_powerpc): Explicitly instantiate constants.
2012-12-07gdb.ada/lang_switch: Allow msg parameter to be a reference.Joel Brobecker2-3/+6
gdb/testsuite/ChangeLog: * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
2012-12-07Delete the gdb/osf-share directory.Joel Brobecker24-3736/+28
These are old files that GDB does not use anymore, and probably has not used for a long time. gdb/ChangeLog: * osf-share/AT386/cma_thread_io.h: Delete. * osf-share/HP800/cma_thread_io.h: Delete. * osf-share/README: Delete. * osf-share/RIOS/cma_thread_io.h: Delete. * osf-share/cma_attr.h: Delete. * osf-share/cma_deb_core.h: Delete. * osf-share/cma_debug_client.h: Delete. * osf-share/cma_errors.h: Delete. * osf-share/cma_handle.h: Delete. * osf-share/cma_init.h: Delete. * osf-share/cma_list.h: Delete. * osf-share/cma_mutex.h: Delete. * osf-share/cma_sched.h: Delete. * osf-share/cma_semaphore_defs.h: Delete. * osf-share/cma_sequence.h: Delete. * osf-share/cma_stack.h: Delete. * osf-share/cma_stack_int.h: Delete. * osf-share/cma_tcb_defs.h: Delete. * osf-share/cma_util.h: Delete. * Makefile.in (HFILES_NO_SRCDIR): Remove entries for the files in osf-share. * config/djgpp/fnchange.lst: Remove osf-share/cma_stack_int.h entry. * contrib/ari/gdb_find.sh: Remove handling of osf-share. * copyright.sh (NOT_FSF_LIST): Remove "gdb/osf-share" entry.
2012-12-07 * options.h (General_options): Add no_toc_optimize.Alan Modra3-0/+105
* powerpc.cc (ok_lo_toc_insn): New function. (Target_powerpc::Relocate::relocate): Optimize toc access sequences.
2012-12-07*** empty log message ***gdbadmin1-1/+1
2012-12-06daily updateAlan Modra1-1/+1
2012-12-062012-12-06 Pedro Alves <palves@redhat.com>Tom Tromey4-4/+18
Tom Tromey <tromey@redhat.com> * valops.c (value_cast): Move TYPE_CODE_VOID case earlier. testsuite * gdb.base/exprs.exp: Add tests for cast to void.
2012-12-062012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>Tom Tromey6-5/+92
PR mi/14741: * mi/mi-cmd-var.c (varobj_update_one): Take value of attribute "dynamic" and "displayhint" from printed child, not the root variable. * gdb.python/py-mi.exp: Correct expected results for attribute "dynamic" returned by -var-update. Add test case for correct handling of "diplayhint" for children of dynamic varobjs. * gdb.python/py-prettyprint.c (set_itme): New function. (bug_14741) New function. (main) Add call to bug_14741(). * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
2012-12-06bfd/Yufeng Zhang2-0/+41
2012-12-06 Yufeng Zhang <yufeng.zhang@arm.com> * elf64-aarch64.c (elf64_aarch64_grok_prstatus): New function. (elf_backend_grok_prstatus): Define to elf64_aarch64_grok_prstatus.
2012-12-06gas/Yufeng Zhang7-39/+50
2012-12-06 Yufeng Zhang <yufeng.zhang@arm.com> * config/tc-aarch64.c (exp_has_bignum_p): Remove. (my_get_expression): Not get rid of bignums. (s_ltorg): Increase the range of 'align'. (programmer_friendly_fixup): Allow bignum expression. gas/testsuite/ 2012-12-06 Yufeng Zhang <yufeng.zhang@arm.com> * gas/aarch64/illegal.s: Add test for unaccepted LDR literal. * gas/aarch64/illegal.l: Update. * gas/aarch64/programmer-friendly.s: Add tests for LDR literal with the auto-generation of literal in pool. * gas/aarch64/programmer-friendly.d: Update.
2012-12-06aix-thread: Fix getthrds declaration and call.Joel Brobecker2-2/+7
gdb/ChangeLog: * aix-thread.c (getthrds): Fix type of 4th parameter. (get_signaled_thread): Change type of variable ktid to tid_t.
2012-12-06 * options.h (General_options): Add plt_align, plt_static_chain,Alan Modra3-92/+266
plt_thread_safe. Update stub_group_size help text. * powerpc.cc (Target_powerpc::plt_thread_safe): New access function for new plt_thread_safe_ var. (use_plt_offset): Correct comments. (Target_powerpc::do_relax): Look for thread creation symbols to determine default plt_thread_safe value. Clear plt call stubs as well as branch stubs each iteration. (add_2_2_11, add_12_12_11, bnectr_p4, cmpldi_2_0, xor_11_11_11): New insn constants. (l, hi, ha, write_insn): Move earlier. (Stub_table): Delete prev_size, add last_plt_size and last_branch_size. (Stub_table::clear_stubs): Rename from clear_long_branch_stubs, clear plt stubs too. (Stub_table::update_size): Adjust. (Stub_table::prev_size, set_prev_size): Delete. (Stub_table::stub_align): Let --plt-align affect result. (Stub_table::plt_call_size): Calculate sizes for various stubs. (Stub_table::branch_stub_size): Use last_plt_size in address calc. (Stub_table::add_plt_call_stub): Pass iterator to plt_call_size. (Stub_table::do_write): Support more stub variants.
2012-12-06* dwarf2loc.c (dwarf_expr_frame_base): Add check for the return value of ↵Hui Zhu2-1/+10
get_frame_block.
2012-12-06Extend --copy-dt-needed-entries to creating DSOH.J. Lu4-4/+51
ld/ PR ld/14915 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Also check DT_NEEDED entries when creating shared object with --copy-dt-needed-entries. ld/testsuite/ PR ld/14915 * ld-elf/shared.exp (build_tests): Test --add-needed, --copy-dt-needed-entries, --no-add-needed and --no-copy-dt-needed-entries with -shared. Add tests for --no-add-needed and --no-copy-dt-needed-entries with -shared.
2012-12-06 * ld-elf/comm-data4.d, ld-elf/comm-data4.s: New test.Alan Modra6-0/+51
* ld-elf/comm-data5.d, ld-elf/comm-data5.s: New test. * ld-elf/comm-data.exp: Run them.
2012-12-06 * elfxx-mips.c (allocate_dynrelocs): Correct test for symbolAlan Modra2-1/+6
defined in a regular file to include common symbols.
2012-12-06*** empty log message ***gdbadmin1-1/+1