aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2012-12-18 * infcmd.c (all_registers_info, nexti_command, stepi_command)Tom Tromey3-29/+13
(continue_command, interrupt_target_command): Now static. (registers_info): Remove declaration. * inferior.h (all_registers_info, nexti_command, stepi_command) (continue_command, interrupt_target_command): Don't declare.
2012-12-18 * cli/cli-cmds.c (apropos_command): Now static.Tom Tromey2-3/+5
2012-12-18 * breakpoint.c (dprintf_command): Now static.Tom Tromey2-3/+5
2012-12-18 * Makefile.in (init.c): Declare initialize_all_files;Tom Tromey5-37/+12
don't include call-cmds.h. * call-cmds.h: Remove. * symtab.c: Don't include call-cmds.h. * top.c: Don't include call-cmds.h. Declare initialize_all_files.
2012-12-18 * symfile.c (list_overlays_command, map_overlay_command)Tom Tromey2-9/+8
(unmap_overlay_command): Now static.
2012-12-18 * cli/cli-cmds.c (_initialize_cli_cmds): Remove "document",Tom Tromey4-35/+45
"define", "while", and "if" commands. * cli/cli-script.c (while_command, if_command, define_command) (document_command): Now static. (_initialize_cli_script): New function. * cli/cli-script.h (while_command, if_command, define_command) (document_command): Don't declare.
2012-12-18 * cli/cli-cmds.c (_initialize_cli_cmds): New function.Tom Tromey2-16/+30
(init_cli_cmds): Move most code into new function.
2012-12-18 * minsyms.c (lookup_solib_trampoline_symbol_by_pc): Now static.Tom Tromey3-8/+10
* minsyms.h (lookup_solib_trampoline_symbol_by_pc): Don't declare.
2012-12-18merge from gccDJ Delorie2-1/+14
2012-12-18PR ld/14736Michael Eager8-23/+155
bfd: * elf32-microblaze.c (calc_fixup): Add end range. gas/testsuite: * gas/microblaze/relax_size.exp: New file - test object size after linker relaxation * gas/microblaze/relax_size.s: Likewise * gas/microblaze/relax_size.elf: Likewise * gas/microblaze/relax_size2.s: Likewise * gas/microblaze/relax_size2.elf: Likewise
2012-12-18Port GDB to powerpc-lynx178.Joel Brobecker9-0/+518
gdb/ChangeLog: * defs.h (enum gdb_osabi): Add GDB_OSABI_LYNXOS178. * osabi.c (gdb_osabi_names): Add entry for GDB_OSABI_LYNXOS178. * xcoffread.c (xcoff_get_core_n_import_files): New function. (xcoff_get_n_import_files): New function. * xcoffread.h (xcoffread.h): Add declaration. * rs6000-aix-tdep.c: #include "xcoffread.h". (rs6000_aix_osabi_sniffer): Do not return GDB_OSABI_AIX for XCOFF executables that do not depend on any shared library. * rs6000-lynx178-tdep.c: New file. * configure.tgt: Add powerpc-*-lynx*178 handling. * Makefile.in (ALL_TARGET_OBS): Add rs6000-lynx178-tdep.o. (ALLDEPFILES): Add rs6000-lynx178-tdep.c.
2012-12-18 PR ld/14962Alan Modra6-0/+41
* ld-scripts/pr14962.d, * ld-scripts/pr14962.t, * ld-scripts/pr14962a.s, * ld-scripts/pr14962b.s: New test. * ld-scripts/expr.exp: Run it.
2012-12-18 * elf.c (swap_out_syms): Set shndx to SHN_ABS when not one ofAlan Modra2-0/+6
the special MAP_* values.
2012-12-18Fix ChangeLog format.Markus Metzger2-5/+5
2012-12-182012-12-18 Hui Zhu <hui_zhu@mentor.com>Hui Zhu3-0/+54
* ui-file.c (ui_file): Add to_fseek. (ui_file_new): Call set_ui_file_fseek. (null_file_fseek, ui_file_fseek, set_ui_file_fseek, stdio_file_fseek): New functions. (stdio_file_new): Call set_ui_file_fseek. * ui-file.h (ui_file_fseek_ftype): New typedef. (set_ui_file_fseek, ui_file_fseek): New externs.
2012-12-182012-12-18 Hui Zhu <hui_zhu@mentor.com>Hui Zhu2-18/+31
* ui-file.c (set_ui_file_flush): Change flush to flush_ptr. (set_ui_file_isatty): Change isatty to isatty_ptr. (set_ui_file_rewind): Change rewind to rewind_ptr. (set_ui_file_put): Change put to put_ptr. (set_ui_file_write): Change write to write_ptr. (set_ui_file_write_async_safe): Change write_async_safe to write_async_safe_ptr. (set_ui_file_read): Change read to read_ptr. (set_ui_file_fputs): Change fputs to fputs_ptr. (set_ui_file_data): Change delete to delete_ptr.
2012-12-18solib-darwin.c: handle PIE when attaching processes.Joel Brobecker4-2/+128
gdb/ChangeLog: * solib-darwin.c (darwin_current_sos): Fix indentation. (darwin_read_exec_load_addr): New function. (darwin_solib_create_inferior_hook): Rebase executable. * objfiles.c (objfile_rebase1, objfile_rebase): New functions. * objfiles.h (objfile_rebase1, objfile_rebase): Add prototypes.
2012-12-18Import gnulib's errno module.Joel Brobecker10-175/+1065
gdb/ChangeLog: * 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-18Update gnulib to current HEAD.Joel Brobecker19-172/+330
gdb/ChangeLog: * gnulib/update-gnulib.sh (GNULIB_COMMIT_SHA1): Set to 8d5bd1402003bd0153984b138735adf537d960b0. * gnulib/aclocal.m4, configure, config.in: Regenerate. * gnulib/import/m4/extern-inline.m4: Import. * gnulib/import/wctype-h.c: Import. * gnulib/import/Makefile.am: Update. * gnulib/import/Makefile.in: Update. * gnulib/import/alloca.in.h: Update. * gnulib/import/extra/snippet/warn-on-use.h: Update. * gnulib/import/localcharset.c: Update. * gnulib/import/m4/fcntl-o.m4: Update. * gnulib/import/m4/gnulib-cache.m4: Update. * gnulib/import/m4/gnulib-comp.m4: Update. * gnulib/import/m4/wctype_h.m4: Update. * gnulib/import/stdbool.in.h: Update. * gnulib/import/verify.h: Update. * gnulib/import/wctype.in.h: Update.
2012-12-18Fix author in last ChangeLog entry.Joel Brobecker1-1/+1
2012-12-18Add call to autoheader in update-gnulib.sh.Joel Brobecker2-0/+5
gdb/ChangeLog: * gnulib/update-gnulib.sh: Add call to autoheader.
2012-12-18*** empty log message ***gdbadmin1-1/+1
2012-12-17daily updateAlan Modra1-1/+1
2012-12-17Enable accidentally commented out code.Doug Evans1-3/+3
2012-12-17ld/testsuite/Roland McGrath3-0/+7
* ld-elf/elf.exp (stack exec, stack size): Run for *-*-nacl* targets. * ld-i386/export-class.exp: Run for i?86-*-nacl* targets.
2012-12-17bfd/Roland McGrath2-0/+9
* elf32-arm.c (elf32_arm_size_stubs): Skip input BFDs that are not ARM ELF.
2012-12-172012-12-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+20
* COPYING.LIBGLOSS: Add license for bfin libgloss.