summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gdb/qiyao2012-12-193-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.
* Update sim's COPYING files.Joel Brobecker2012-12-194-580/+1256
| | | | | | | | | | sim/arm/ChangeLog: * COPYING: Update to GPL version 3. sim/ppc/ChangeLog: * COPYING: Update to GPL version 3.
* [sim] Update old contact info in GPL license noticesJoel Brobecker2012-12-19256-523/+264
| | | | | | sim/ChangeLog: Update old contact info in GPL license notices.
* Update sim copyright headers from GPLv2-or-later to GPLv3-or-later.Joel Brobecker2012-12-19169-170/+174
| | | | | | gdb/sim/ChangeLog: Update the non-FSF-copyrighted files in sim to GPLv3 or later.
* NEWS: Announce ppc-lynx178 support.Joel Brobecker2012-12-192-0/+8
| | | | | | gdb/ChangeLog: * NEWS: Add entry announcing ppc-lynx178 support.
* Revert "Import gnulib's errno module."Joel Brobecker2012-12-1910-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.
* *** empty log message ***gdbadmin2012-12-191-1/+1
|
* daily updateAlan Modra2012-12-181-1/+1
|
* fix some bad ChangeLog dates from todayTom Tromey2012-12-181-7/+7
|
* * defs.h (directory_command): Don't declare.Tom Tromey2012-12-183-3/+6
| | | | * source.c (directory_command): Now static.
* * infcmd.c (all_registers_info, nexti_command, stepi_command)Tom Tromey2012-12-183-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.
* * cli/cli-cmds.c (apropos_command): Now static.Tom Tromey2012-12-182-3/+5
|
* * breakpoint.c (dprintf_command): Now static.Tom Tromey2012-12-182-3/+5
|
* * Makefile.in (init.c): Declare initialize_all_files;Tom Tromey2012-12-185-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.
* * symfile.c (list_overlays_command, map_overlay_command)Tom Tromey2012-12-182-9/+8
| | | | (unmap_overlay_command): Now static.
* * cli/cli-cmds.c (_initialize_cli_cmds): Remove "document",Tom Tromey2012-12-184-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.
* * cli/cli-cmds.c (_initialize_cli_cmds): New function.Tom Tromey2012-12-182-16/+30
| | | | (init_cli_cmds): Move most code into new function.
* * minsyms.c (lookup_solib_trampoline_symbol_by_pc): Now static.Tom Tromey2012-12-183-8/+10
| | | | | * minsyms.h (lookup_solib_trampoline_symbol_by_pc): Don't declare.
* merge from gccDJ Delorie2012-12-182-1/+14
|
* PR ld/14736eager2012-12-182-23/+37
| | | | | | | | | | | | 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
* Port GDB to powerpc-lynx178.Joel Brobecker2012-12-189-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.
* * elf.c (swap_out_syms): Set shndx to SHN_ABS when not one ofAlan Modra2012-12-182-0/+6
| | | | the special MAP_* values.
* Fix ChangeLog format.mmetzger2012-12-182-5/+5
|
* 2012-12-18 Hui Zhu <hui_zhu@mentor.com>Hui Zhu2012-12-183-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-18 Hui Zhu <hui_zhu@mentor.com>Hui Zhu2012-12-182-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.
* solib-darwin.c: handle PIE when attaching processes.Joel Brobecker2012-12-184-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.
* Import gnulib's errno module.Joel Brobecker2012-12-1810-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.
* Update gnulib to current HEAD.Joel Brobecker2012-12-1819-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.
* Fix author in last ChangeLog entry.Joel Brobecker2012-12-181-1/+1
|
* Add call to autoheader in update-gnulib.sh.Joel Brobecker2012-12-182-0/+5
| | | | | | gdb/ChangeLog: * gnulib/update-gnulib.sh: Add call to autoheader.
* *** empty log message ***gdbadmin2012-12-181-1/+1
|
* daily updateAlan Modra2012-12-171-1/+1
|
* Enable accidentally commented out code.Doug Evans2012-12-171-3/+3
|
* bfd/Roland McGrath2012-12-172-0/+9
| | | | | * elf32-arm.c (elf32_arm_size_stubs): Skip input BFDs that are not ARM ELF.
* 2012-12-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2012-12-172-0/+20
| | | | * COPYING.LIBGLOSS: Add license for bfin libgloss.
* Add copyright noticesNick Clifton2012-12-1740-14/+583
|
* * top.c (xgdb_verbose): Remove.Tom Tromey2012-12-172-1/+4
|
* lynx-low: Add debug trace when new thread is discovered.Joel Brobecker2012-12-172-1/+10
| | | | | | | gdb/gdbserver/ChangeLog: * lynx-low.c (lynx_wait_1): Add debug trace before adding new thread.
* Add PTRACE_GETTRACESIG handling in ptrace_request_to_strJoel Brobecker2012-12-172-0/+8
| | | | | | | | | | | | | | We use this ptrace request when handling SIGTRAP signals, and without this change, the debug trances show: PTRACE (<unknown-request>, ... This patch fixes this. gdb/gdbserver/ChangeLog: * lynx-low.c (ptrace_request_to_str): Add handling for PTRACE_GETTRACESIG.
* Delete unused variable in lynx_attach.Joel Brobecker2012-12-172-2/+5
| | | | | | gdb/gdbserver/ChangeLog: * lynx-low.c (lynx_attach): Delete variable new_process.
* remove unused variable in lynx_create_inferior.Joel Brobecker2012-12-172-2/+6
| | | | | | gdb/gdbserver/ChangeLog: * lynx-low.c (lynx_create_inferior): Delete variable new_process.
* lynx-low.c: PTRACE_GETTHREADLIST may not be defined.Joel Brobecker2012-12-172-0/+7
| | | | | | | | | LynxOS 178 does not define this macro. gdb/gdbserver/ChangeLog: * lynx-low.c (ptrace_request_to_str): Do not handle PTRACE_GETTHREADLIST if this macro does not exist.
* *** empty log message ***gdbadmin2012-12-171-1/+1
|
* Don't check IFUNC relocations in elf_*_check_relocsH.J. Lu2012-12-163-143/+10
| | | | | | * elf32-i386.c (elf_i386_check_relocs): Don't check IFUNC relocations here. * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
* daily updateAlan Modra2012-12-161-1/+1
|
* Also check local IFUNC referencesH.J. Lu2012-12-163-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | bfd/ PR ld/14968 * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Also check local IFUNC references. * elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise. ld/testsuite/ PR ld/14968 * ld-ifunc/ifunc-18a-i386.d: New file. * ld-ifunc/ifunc-18a-x86-64.d: Likewise. * ld-ifunc/ifunc-18a.s: Likewise. * ld-ifunc/ifunc-18b-i386.d: Likewise. * ld-ifunc/ifunc-18b-x86-64.d: Likewise. * ld-ifunc/ifunc-18b.s: Likewise. * ld-ifunc/ifunc-19a-i386.d: Likewise. * ld-ifunc/ifunc-19a-x86-64.d: Likewise. * ld-ifunc/ifunc-19a.s: Likewise. * ld-ifunc/ifunc-19b-i386.d: Likewise. * ld-ifunc/ifunc-19b-x86-64.d: Likewise. * ld-ifunc/ifunc-19b.s: Likewise.
* gdb/Jan Kratochvil2012-12-164-52/+96
| | | | | | | | | | | | | | | | | | | | | | | | | Code cleanup. * skip.c (skip_function_command, skip_file_command, skip_info): Remove unused forward declarations. (skip_file_command): Make variables symtab and filename targets const. Use proper 0 vs. NULL constant everywhere. (skip_function_command): Use proper 0 vs. NULL constant everywhere. Include empty line after declarations. Use GNU spacing in a comment. Do not use strlen for end of string check. (skip_info): Use proper 0 vs. NULL constant everywhere. Add column 5 comments. (skip_enable_command, skip_disable_command, skip_delete_command) (add_skiplist_entry): Use proper 0 vs. NULL constant everywhere. (function_pc_is_marked_for_skip): Make variable filename target const. Use proper 0 vs. NULL constant everywhere. Fix GNU non-compliant comment formatting. (skip_re_set): Add empty line after function comment. Use proper 0 vs. NULL constant everywhere. Include empty line after declarations. Make variable symtab target const. Do not use strlen for end of string check. gdb/doc/ * gdbint.texinfo (Coding Standards) (C Usage): New rule for 0 vs. NULL.
* gdb/Jan Kratochvil2012-12-166-27/+33
| | | | | | | | | | | | | | | | | Code cleanup. * breakpoint.c (clear_command): Remove variable sal_name_len and its initialization, remove it from the compare_filenames_for_search call. * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable name_len and its initialization, remove it from the compare_filenames_for_search calls. * psymtab.c (partial_map_symtabs_matching_filename): Likewise. * symtab.c (compare_filenames_for_search): Remove the search_len parameter, update the function comment, new variable search_len initialized from SEARCH_NAME. (iterate_over_some_symtabs): Remove variable name_len and its initialization, remove it from the compare_filenames_for_search calls. * symtab.h (compare_filenames_for_search): Remove the search_len parameter,
* * configure.ac (ENABLE_GOLD): Consider *-*-gnu* targets ELF.tschwinge2012-12-163-2/+7
| | | | * configure: Regenerate.
* Makefile.in: Move ravenscar-thread.c from SFILES to ALLDEPFILES.Joel Brobecker2012-12-162-1/+6
| | | | | | | gdb/ChangeLog: * Makefile.in (SFILES): Move ravenscar-thread.c from here... (ALLDEPFILES): ... to there.