aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-12-25*** empty log message ***gdbadmin1-1/+1
2012-12-24daily updateAlan Modra1-1/+1
2012-12-24gdb/Jan Kratochvil9-10/+24
Code cleanup. * dwarf2read.c (fixup_go_packaging): Do not check symtab->FILENAME for NULL. * linespec.c (add_sal_to_sals): Likewise. * psympriv.h (allocate_psymtab): Add ATTRIBUTE_NONNULL. * stack.c (print_frame): Do not check symtab->FILENAME for NULL. * symfile.h (allocate_symtab): Add ATTRIBUTE_NONNULL. * symtab.h (struct symtab): Add comment it is never NULL for filename. * tracepoint.c (set_traceframe_context): Do not check symtab->FILENAME for NULL. * tui/tui-source.c (tui_set_source_content): Likewise.
2012-12-24gdb/Jan Kratochvil10-277/+218
* breakpoint.c (breakpoint_re_set): Remove the skip_re_set call. * infrun.c (handle_inferior_event): Rename the called function to function_name_is_marked_for_skip, pass it TMP_SAL. * skip.c (struct skiplist_entry): Update function_name comment. Remove fields pc, gdbarch and pending. (skip_function_pc): Rename this forward declaration to ... (skip_function): ... here. (skip_file_command): Remove variable pending and its use, remove initialization of E fields pending and gdbarch. Do not use SYMTAB filename, use the specified one. (skip_function_command): Remove variable func_pc, do not set it. Update the caller of skip_function. Replace decode_line_1 call by a lookup_symbol call. Remove variables orig_arg, decode_exception and sals. Update the caller of skip_function. (skip_info): Remove variable address_width and its use. Do not print address (PC). Renumber column 5 to 4. (skip_function_pc): Rename to ... (skip_function): ... here and remove its parameters pc, arch and pending. Update the function comment and no longer use those parameters. (function_pc_is_marked_for_skip): Rename to ... (function_name_is_marked_for_skip): ... here, update function comment just to a skip.h reference, replace pc parameter by function_name and function_sal. No longer use E field pending and pc. Remove variables searched_for_sal, sal and filename. Call compare_filenames_for_search instead of just strcmp. (skip_re_set): Remove the function. * skip.h (struct symtab_and_line): New declaration. (function_pc_is_marked_for_skip): Rename to ... (function_name_is_marked_for_skip): ... here, replace pc parameter by function_name and function_sal, update the function comment. gdb/testsuite/ * gdb.base/skip-solib.exp (info skip with pending file): Update the expected output. (info skip with pending file): Remove. (ignoring function in solib, info skip for function multiply): Update the expected output. * gdb.base/skip.ex (skip (main), skip function baz, info skip) (info skip (delete 1), info skip after disabling all) (info skip after enabling all, info skip after disabling 4 2-3) (info skip after enabling 2-3, info skip 2-3) (info skip after deleting 2 3): Update the expected output. * gdb.linespec/base/two/thefile.cc (n): New variable v, split the statement to its initialization and return. * gdb.linespec/skip-two.exp: New file.
2012-12-24bfd: also enable x86_64pei_vec for 64bit i386-linux targetsMike Frysinger2-1/+6
We enable x86_64pei_vec for x86_64-linux targets, so we should list this in the 64bit i386-linux vec section. This is useful for when we want to build 64bit EFI code on an i386 system. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-12-24*** empty log message ***gdbadmin1-1/+1
2012-12-23daily updateAlan Modra1-1/+1
2012-12-23*** empty log message ***gdbadmin1-1/+1
2012-12-22daily updateAlan Modra1-1/+1
2012-12-22 * ui-file.h (tee_file_new): Add extern modifier in header declaration.Pierre Muller2-4/+8
2012-12-22 * gdbint.texinfo (Function prototypes): Require use of "extern"Pierre Muller2-1/+7
modifier for function prototypes in headers.
2012-12-22*** empty log message ***gdbadmin1-1/+1
2012-12-21daily updateAlan Modra1-1/+1
2012-12-21Check R_X86_64_standard for unrecognized relocationH.J. Lu2-1/+10
* elf64-x86-64.c (elf_x86_64_relocate_section): Check R_X86_64_standard instead of R_X86_64_max for unrecognized relocation.
2012-12-21Properly adjust h->plt.refcountH.J. Lu9-2/+79
bfd/ PR ld/14980 * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Properly adjust h->plt.refcount. * elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise. ld/testsuite/ PR ld/14980 * ld-ifunc/ifunc-14c.s: New file. * ld-ifunc/ifunc-14e-i386.d: Likewise. * ld-ifunc/ifunc-14e-x86-64.d: Likewise. * ld-ifunc/ifunc-14f-i386.d: Likewise. * ld-ifunc/ifunc-14f-x86-64.d: Likewise.
2012-12-21 * layout.cc (Layout::special_ordering_of_input_section): NewIan Lance Taylor4-95/+100
function. (Layout::layout): If input section requires special ordering, must sort input sections. (Layout::make_output_section): May sort .text input sections. (Layout::is_section_name_prefix_grouped): Remove. * layout.h (class Layout): Declare special_ordering_of_input_section. Don't declare is_section_name_prefix_grouped. * output.cc (Output_section::add_input_section): Revert last change. (Output_section::Input_section_sort::match_file_name): Don't crash if called on output section data. (Output_section::Input_section_sort_compare): Sort based on special ordering. (Output_section::Input_section_sort_section_order_index_compare): Revert last patch. (Output_section::sort_attached_input_sections): Likewise.
2012-12-21*** empty log message ***gdbadmin1-1/+1
2012-12-20daily updateAlan Modra1-1/+1
2012-12-20 * Makefile.def (install-target-libgo): Depend onJan-Benedict Glaw3-0/+25
install-target-libatomic. Merged from GCC repo. * Makefile.in: Regenerate.
2012-12-20Fix commit date in previous commit.Richard Earnshaw1-1/+1
2012-12-202012-12-20 Greta Yorsh <Greta.Yorsh@arm.com>Richard Earnshaw9-198/+253
* config/tc-arm.c (rfefa,rfeea,rfeed): Fix encoding. (rfe,srs,srsea,srsfa,srsed,srsfd): Add missing mnemonics. * gas/arm/srs-t2.s: Add tests for missing srs modes. * gas/arm/srs-t2.l: Update expected output. * gas/arm/srs-arm.s: Add tests for missing srs modes. * gas/arm/srs-arm.l: Update expected output. * gas/arm/archv6.s: Add tests for missing rfe modes. * gas/arm/archv6.d: Update expected output.
2012-12-20 * serial.c (deprecated_serial_fd): Remove.Tom Tromey3-20/+5
* serial.h (deprecated_serial_fd): Remove.
2012-12-20 * gdb.base/maint.exp: Handle testing with .gdb_index.Doug Evans2-29/+45
2012-12-20Revert GPL version change in sim/bfin/aclocal.m4Joel Brobecker2-1/+7
sim/bfin/ChangeLog: * aclocal.m4: Revert the previous change changing the license from GPL v2 or later to GPL v3 or later (this file was generated).
2012-12-20Revert GPL version change in linux-fixed-code.s.Joel Brobecker2-1/+6
sim/bfin/ChangeLog: * linux-fixed-code.s: Revert the previous change changing the license from GPL v2 or later to GPL v3 or later.
2012-12-20gdb/Yao Qi4-37/+40
2012-12-20 Yao Qi <yao@codesourcery.com> * maint.c (_initialize_maint_cmds): Move code ... * symmisc.c (_initialize_symmisc): ... to here. (maintenance_print_msymbols): Make it static. (maintenance_print_objfiles): Likewise. (maintenance_print_symbols): Likewise. (maintenance_info_symtabs): Likewise. * symtab.h (maintenance_print_msymbols): Remove declaration. (maintenance_print_objfiles, maintenance_print_symbols): Likewise. (maintenance_info_symtabs): Likewise.
2012-12-20gdb/Yao Qi4-25/+36
2012-12-20 Yao Qi <yao@codesourcery.com> * maint.c (_initialize_maint_cmds): Move code to ... * psymtab.c (_initialize_psymtab): ... here. New. Include "gdbcmd.h". (maintenance_print_psymbols): Make it static. (maintenance_info_psymtabs, maintenance_check_symtabs): Likewise. * symtab.h (maintenance_print_psymbols): Remove declaration. (maintenance_check_symtabs, maintenance_info_psymtabs): Likewise.
2012-12-20*** empty log message ***gdbadmin1-1/+1
2012-12-19daily updateAlan Modra1-1/+1
2012-12-19 * MAINTAINERS: Add myself to write-after-approval maintainers.Maxim Kuvyrkov2-0/+5
2012-12-192012-12-19 Andreas Tobler <andreast@neon.andreas.nets>Andreas Tobler2-1/+7
* mips-tdep.c (micromips_deal_with_atomic_sequence): Initialize branch_bp to keep gcc happy.
2012-12-19Fix indentation in the last checkinH.J. Lu1-1/+1
2012-12-19Fix and use elf_append_relH.J. Lu3-50/+23
* elf32-i386.c (elf_i386_relocate_section): Replace bfd_elf32_swap_reloc_out with elf_append_rel. (elf_i386_finish_dynamic_symbol): Likewise. * elflink.c (elf_append_rel): Call swap_reloc_out instead of swap_reloca_out.
2012-12-19Reindent elf_i386_finish_dynamic_symbolH.J. Lu2-1/+5
* elf32-i386.c (elf_i386_finish_dynamic_symbol): Reindent.
2012-12-19Change copyright from Cavium to FSF.Joel Brobecker2-1/+6
gdb/testsuite/ChangeLog: * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from Cavium to FSF.
2012-12-19Add copyright header to stubs/buildvms.com.Joel Brobecker2-0/+22
gdb/stubs/ChangeLog: * buildvms.com: Add copyright header.
2012-12-19Fix copyright years in gdbarch.h and gdbarch.c.Joel Brobecker5-7/+11
copyright.py was updating gdbarch.sh' copyright years, but not the function that genarates the copyright headers for gdbarch.[hc]. This patch makes the following changes: - fixes gdbarch.sh and regenerates gdbarch.[hc] - Modify copyright.py to remind the user to update gdbarch.sh by hand. This should also remind the user to rerun the script and update gdbarch.[hc] - see next point; - Allow copyright.py to update gdbarch.[hc]'c copyright years, even though these are generated files; This should free the user from having to update gdbarch.[hc] himself; gdb/ChangeLog: * gdbarch.sh (copyright): Update copyright years. * gdbarch.h, gdbarch.c: Regenerate. * copyright.py (EXCLUDE_LIST): Remove gdbarch.h and gdbarch.c. (MULTIPLE_COPYRIGHT_HEADERS): Add 'gdb/gdbarch.sh'.
2012-12-19update copyright notices in various GDB files.Joel Brobecker13-37/+40
Update some files in GDB that were accidently left with a GPL v2 copyright header. Update some files where the copyright notice still provides the old contact info, using the approach for providing the FSF's contact info. gdb/ChangeLog: * acinclude.m4: Update contact info in copyright notice. gdb/doc/ChangeLog: * refcard.tex: Update copyright notice to GPL v3 or later. Update contact info. gdb/testsuite/ChangeLog: * dg-extract-results.sh: Update contact info in copyright notice. * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to GPL v3 or later. Update contact info. * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c, gdb.threads/watchpoint-fork-mt.c, gdb.threads/watchpoint-fork-parent.c, gdb.threads/watchpoint-fork-st.c, gdb.threads/watchpoint-fork.h: Likewise.
2012-12-19gdb/Yao Qi3-5/+6
2012-12-19 Yao Qi <yao@codesourcery.com> * maint.c (maintenance_print_statistics): Make it static. * symtab.h (maintenance_print_statistics): Remove declaration.
2012-12-19Update sim's COPYING files.Joel Brobecker4-580/+1256
sim/arm/ChangeLog: * COPYING: Update to GPL version 3. sim/ppc/ChangeLog: * COPYING: Update to GPL version 3.
2012-12-19[sim] Update old contact info in GPL license noticesJoel Brobecker256-523/+264
sim/ChangeLog: Update old contact info in GPL license notices.
2012-12-19Update sim copyright headers from GPLv2-or-later to GPLv3-or-later.Joel Brobecker169-170/+174
gdb/sim/ChangeLog: Update the non-FSF-copyrighted files in sim to GPLv3 or later.
2012-12-19NEWS: Announce ppc-lynx178 support.Joel Brobecker2-0/+8
gdb/ChangeLog: * NEWS: Add entry announcing ppc-lynx178 support.
2012-12-19Revert "Import gnulib's errno module."Joel Brobecker10-1053/+188
There are some compatibility concerns with libiconv to be discussed first. gdb/ChangeLog: Revert the following change: * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add errno. * gnulib/import/errno.in.h: Import. * gnulib/import/m4/errno_h.m4: Import. * gnulib/aclocal.m4: Regenerate. * gnulib/configure: Regenerate. * gnulib/import/Makefile.am: Update. * gnulib/import/Makefile.in: Update. * gnulib/import/m4/gnulib-cache.m4: Update. * gnulib/import/m4/gnulib-comp.m4: Update.
2012-12-19Group text sections with prefixes .text.unlikely,.text.hot and .text.startupSriraman Tallam8-7/+265
by default. 2012-12-18 Sriraman Tallam <tmsriram@google.com> * layout.cc (Layout::is_section_name_prefix_grouped): New function. * layout.h (Layout::is_section_name_prefix_grouped): New function. * output.cc (Output_section::add_input_section): Check if section name contains special prefix. Keep input sections to sort such sections. (Output_section::Input_section_sort_section_order_index_compare ::operator()): Group sections according to prefixes. * (Output_section::sort_attached_input_sections): Add condition to Input_section_entry constructor call. * testsuite/Makefile.am (text_section_grouping): New test. * testsuite/Makefile.in: Regenerate. * testsuite/text_section_grouping.cc: New file. * testsuite/text_section_grouping.sh: New file.
2012-12-19*** empty log message ***gdbadmin1-1/+1
2012-12-18daily updateAlan Modra1-1/+1
2012-12-18ld/Roland McGrath5-24/+59
* ld.texinfo (Options): Describe -Trodata-segment. * ldlex.h (enum option_values): Add OPTION_TRODATA_SEGMENT. * lexsup.c (ld_options, parse_args): Handle -Trodata-segment. * scripttempl/elf.sc (RODATA_ADDR, SHLIB_RODATA_ADDR): Wrap SEGMENT_START("rodata-segment", ...) + SIZEOF_HEADERS around the value.
2012-12-18fix some bad ChangeLog dates from todayTom Tromey1-7/+7
2012-12-18 * defs.h (directory_command): Don't declare.Tom Tromey3-3/+6
* source.c (directory_command): Now static.