aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2013-01-01Update years in copyright notice for the GDB files.Joel Brobecker2202-2465/+2210
Two modifications: 1. The addition of 2013 to the copyright year range for every file; 2. The use of a single year range, instead of potentially multiple year ranges, as approved by the FSF.
2013-01-01Update copyright year in gdb/gdbserver/gdbreplay version output.Joel Brobecker5-3/+12
gdb/ChangeLog: * top.c (print_gdb_version): Update copyright year. gdb/gdbserver/ChangeLog: * gdbreplay.c (gdbreplay_version): Update copyright year. * server.c (gdbserver_version): Likewise.
2013-01-01Rotate gdb's ChangeLog file.Joel Brobecker3-13320/+13330
gdb: * ChangeLog-2012: Renamed from ChangeLog: * ChangeLog: New file. * config/djgpp/fnchange.lst: Add entry for ChangeLog-2012.
2013-01-01*** empty log message ***gdbadmin1-1/+1
2012-12-31gdb/doc/Yao Qi2-58/+90
* gdb.texinfo (Remote Non-Stop): Move paragraphs to ... (Packets): Move "vStopped" packet to ... (Notification Packets): ... here. Describe the components of notification. Add a table of supported notifications. Add an example on the process of he async notification.
2012-12-31*** empty log message ***gdbadmin1-1/+1
2012-12-30*** empty log message ***gdbadmin1-1/+1
2012-12-29*** empty log message ***gdbadmin1-1/+1
2012-12-28gdb/Jan Kratochvil2-1/+7
* symtab.c (find_line_symtab): Call symtab_to_fullname instead of accessing FULLNAME directly.
2012-12-28*** empty log message ***gdbadmin1-1/+1
2012-12-27*** empty log message ***gdbadmin1-1/+1
2012-12-26*** empty log message ***gdbadmin1-1/+1
2012-12-252012-12-25 Sergio Durigan Junior <sergiodj@redhat.com>Sergio Durigan Junior2-1/+5
* frv-linux-tdep.c (frv_linux_pc_in_sigtramp): Fix typo.
2012-12-25gdb/Jan Kratochvil14-85/+124
* ada-lang.c (is_known_support_routine): New variable fullname. Use access call to verify the symtab_to_fullname result. * breakpoint.c (print_breakpoint_location, update_static_tracepoint): Remove NULL check of symtab_to_fullname result. * cli/cli-cmds.c (edit_command): Likewise. * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file) (mi_cmd_file_list_exec_source_files): Likewise. * python/py-symtab.c (stpy_fullname): Likewise. * source.c (symtab_to_fullname): Update function comment. Rename variable r to fd, move it to inner block. Always provide non-NULL result. (print_source_lines_base): Remove NULL check of symtab_to_fullname result. * stack.c (print_frame): Likewise. * symtab.c (iterate_over_some_symtabs, find_line_symtab, sources_info): Likewise. * tracepoint.c (print_one_static_tracepoint_marker): Likewise. gdb/doc/ * gdb.texinfo (GDB/MI Data Manipulation) (fullname): Make it always present. (GDB/MI File Commands) (-file-list-exec-source-files): Make the fullname output always present. gdb/testsuite/ * gdb.mi/mi-fullname-deleted.exp: New file.
2012-12-25*** empty log message ***gdbadmin1-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-24*** empty log message ***gdbadmin1-1/+1
2012-12-23*** empty log message ***gdbadmin1-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-21*** empty log message ***gdbadmin1-1/+1
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-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-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-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-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-19*** empty log message ***gdbadmin1-1/+1
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-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-18Fix ChangeLog format.Markus Metzger2-5/+5