aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2013-01-17 * symtab.h (struct symbol_search): Add comment.Doug Evans2-0/+6
2013-01-17gdb/Jan Kratochvil5-1/+132
* symtab.c (compare_filenames_for_search): New comment for HAS_DRIVE_SPEC. gdb/testsuite/ * gdb.dwarf2/dw2-dos-drive.S: New file. * gdb.dwarf2/dw2-dos-drive.exp: New file.
2013-01-17 * cp-abi.c (cp_abi_completer): Fix typo in assignment.Tom Tromey2-1/+5
2013-01-17 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,Doug Evans2-10/+22
CXX_FOR_TARGET.
2013-01-17gdb/Jan Kratochvil2-3/+15
* symtab.c (iterate_over_some_symtabs): New variable cleanups, initialize it by existing make_cleanup. Call new do_cleanups.
2013-01-17 * boards/cc-with-tweaks.exp: New file.Doug Evans2-0/+58
2013-01-17 * cp-abi.c (cp_abi_completer): New function.Tom Tromey4-2/+38
(_initialize_cp_abi): Set completer for "set cp-abi". gdb/testsuite * gdb.base/completion.exp: Add "set cp-abi" completion test.
2013-01-17 * mem-break.c: Remove obsolete comment.Tom Tromey3-9/+10
* bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
2013-01-17Merge dg-extract-results.sh from gcc upstream (svn 195224).Pedro Alves2-4/+25
gdb/testsuite/ 2013-01-17 Pedro Alves <palves@redhat.com> Merge dg-extract-results.sh from upstream (svn 195224). 2013-01-15 David Blaikie <dblaikie@gmail.com> * dg-extract-results.sh: Fix order of summary counts. 2013-01-15 David Blaikie <dblaikie@gmail.com> * dg-extract-results.sh: Constrain the start-of-log pattern. 2013-01-15 David Blaikie <dblaikie@gmail.com> * dg-extract-results.sh: Handle KPASSes. 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * dg-extract-results.sh: Redirect grep output to /dev/null instead of grep -q.
2013-01-17gdb/testsuiteSanjoy Das1-0/+9
* gdb.base/jit-reader.exp: New file. Test case for the jit-reader interface. * gdb.base/jithost.c: New file. * gdb.base/jithost.h: New file. * gdb.base/jitreader.c : New file. * gdb.base/jit-protocol.h: New file.
2013-01-17* jit.c (jit_reader_load_command): Interpret the jit reader name as anSanjoy Das4-10/+27
absolute path if it begins with a forward slash.
2013-01-17PR gdb/14550Sanjoy Das2-2/+19
* jit.c (finalize_symtab): Ensure that only the global block has a NULL superblock.
2013-01-172013-01-17 Pedro Alves <palves@redhat.com>Pedro Alves4-9/+29
* acinclude.m4: Include ../config/plugins.m4, ../config/largefile.m4 and ../config/lead-dot.m4. Add comments. * Makefile.in (aclocal_m4_deps): Update. * aclocal.m4: Renegerate.
2013-01-17*** empty log message ***gdbadmin1-1/+1
2013-01-16 * contrib/cc-with-tweaks.sh: Add references to Fission docs.Doug Evans2-0/+8
2013-01-162013-01-03 Pedro Alves <palves@redhat.com>Tom Tromey13-130/+964
Tom Tromey <tromey@redhat.com> PR cli/7221: * NEWS: Add "catch signal". * breakpoint.c (base_breakpoint_ops): No longer static. (bpstat_explains_signal): New function. (init_catchpoint): No longer static. (base_breakpoint_explains_signal): New function. (base_breakpoint_ops): Initialize new field. * breakpoint.h (enum bpstat_signal_value): New. (struct breakpoint_ops) <explains_signal>: New field. (bpstat_explains_signal): Remove macro, declare as function. (base_breakpoint_ops, init_catchpoint): Declare. * break-catch-sig.c: New file. * inferior.h (signal_catch_update): Declare. * infrun.c (signal_catch): New global. (handle_syscall_event): Update for change to bpstat_explains_signal. (handle_inferior_event): Likewise. Always handle random signals via bpstats. (signal_cache_update): Check signal_catch. (signal_catch_update): New function. (_initialize_infrun): Initialize signal_catch. * Makefile.in (SFILES): Add break-catch-sig.c. (COMMON_OBS): Add break-catch-sig.o. gdb/doc * gdb.texinfo (Set Catchpoints): Document "catch signal". (Signals): Likewise. gdb/testsuite * gdb.base/catch-signal.c: New file. * gdb.base/catch-signal.exp: New file.
2013-01-16 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)Tom Tromey6-6/+51
(print_one_catch_solib, print_one_catch_syscall) (print_one_catch_exec, print_one_exception_catchpoint): Emit "catch-type". gdb/doc * gdb.texinfo (GDB/MI Breakpoint Information): Document "catch-type" field. (GDB/MI Catchpoint Commands): Add "catch-type" to examples. gdb/testsuite * gdb.mi/mi-catch-load.exp: Look for "catch-type".
2013-01-16gdb/Yao Qi2-1/+5
* printcmd.c (current_display_number): Make it static.
2013-01-16gdb/gdbserver/Yao Qi2-1/+6
* linux-low.c (linux_resume_one_lwp): Don't check 'lwp->bp_reinsert != 0'.
2013-01-16gdb/Yao Qi2-1/+6
* infcmd.c (step_once): Don't check '!single_inst' as it was checked before.
2013-01-16*** empty log message ***gdbadmin1-1/+1
2013-01-15gdb/Jan Kratochvil2-1/+7
* dwarf2read.c (psymtab_include_file_name): Extend the function comment.
2013-01-15gdb/testsuite/Jan Kratochvil2-0/+9
* gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
2013-01-15*** empty log message ***gdbadmin1-1/+1
2013-01-14 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return theTom Tromey6-17/+68
set command. * command.h (add_setshow_string_noescape_cmd): Update. * corefile.c (set_gnutarget_command): Remove trailing whitespace. (complete_set_gnutarget): New function. (_initialize_core): Set the "set gnutarget" completer. gdb/testsuite * gdb.base/completion.exp: Add "set gnutarget" test.
2013-01-14 PR symtab/14442:Tom Tromey9-12/+570
* c-typeprint.c (cp_type_print_method_args): Handle 'restrict'. (c_type_print_modifier): Likewise. * dwarf2read.c (read_tag_restrict_type): New function. (read_type_die_1): Handle DW_TAG_restrict_type. * gdbtypes.c (make_restrict_type): New function. (recursive_dump_type): Handle TYPE_RESTRICT. * gdbtypes.h (enum type_flag_values): Renumber. (enum type_instance_flag_value): Add TYPE_INSTANCE_FLAG_RESTRICT. (TYPE_RESTRICT): New macro. (make_restrict_type): Declare. gdb/testsuite * gdb.dwarf2/dw2-restrict.S: New file. * gdb.dwarf2/dw2-restrict.c: New file. * gdb.dwarf2/dw2-restrict.exp: New file.
2013-01-14 PR symtab/14931:Tom Tromey8-1/+292
* psymtab.c (struct psymtab_state): New. (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New functions. * psympriv.h (make_cleanup_discard_psymtabs): Declare. * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions. gdb/testsuite * gdb.dwarf2/dw2-error.exp: New file. * gdb.dwarf2/dw2-error.c: New file. * gdb.dwarf2/dw2-error.S: New file.
2013-01-142013-01-14 Richard Sharman <richard_sharman@mitel.com>Pedro Alves2-1/+20
Pedro Alves <palves@redhat.com> PR remote/14786 * remote.c (remote_threads_info): Make a copy of the reply from qfThreadInfo and use that instead of rs->buf.
2013-01-14gdb/Yao Qi5-48/+42
2013-01-14 Yao Qi <yao@codesourcery.com> * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL. (dbx_psymtab_to_symtab): Likewise. * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise. * mdebugread.c (mdebug_psymtab_to_symtab): Likewise. * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
2013-01-14*** empty log message ***gdbadmin1-1/+1
2013-01-13gdb/Jan Kratochvil7-3/+119
* parse.c (parse_exp_in_context): New variable inner_chain. Call make_cleanup_restore_current_language. Call set_language. Move OLD_CHAIN and INNER_CHAIN cleanups. * utils.c (do_restore_current_language) (make_cleanup_restore_current_language): New functions. * utils.h (make_cleanup_restore_current_language): New declaration. gdb/testsuite/ * gdb.cp/parse-lang.cc: New file. * gdb.cp/parse-lang.exp: New file.
2013-01-13gdb/Jan Kratochvil2-1/+4
* source.c (symtab_to_fullname): Do not prepend DIRNAME for non-existing files if FILENAME is already absolute.
2013-01-13gdb/Jan Kratochvil4-4/+41
* source.c (symtab_to_fullname): Apply rewrite_source_path also for non-existing files. gdb/testsuite/ * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir. (set substitute-path): New test. (fullname present): Remove content. (substituted fullname): New test.
2013-01-13Fix gdb.python/py-finish-breakpoint.exp ERROR.Joel Brobecker2-7/+14
This patch fixes the following error, when running gdb.python/ py-finish-breakpoint.exp: ERROR: can't read "gdb_py_is_py24": no such variable while executing "if { $gdb_py_is_py24 == 1 } { gdb/testsuite/ChangeLog: * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests check. Move $gdb_py_is_py24 value check right after.
2013-01-13*** empty log message ***gdbadmin1-1/+1
2013-01-12*** empty log message ***gdbadmin1-1/+1
2013-01-11gdb/Jan Kratochvil2-3/+6
* macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of fputs_filtered. Append trailing newline.
2013-01-11gdb/testsuite/Jan Kratochvil2-1/+6
* gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit targets.
2013-01-11gdb/Yao Qi2-1/+6
2013-01-11 Yao Qi <yao@codesourcery.com> Stan Shebs <stan@codesourcery.com> * psymtab.c (init_psymbol_list): Clarify the comment.
2013-01-11gdb/Yao Qi2-29/+26
* breakpoint.c (print_one_breakpoint_location): Remove dead code. (update_dprintf_command_list): Assert that 'printf_line' is non-null. Remove condition check.
2013-01-11gdb/testsuite/Yao Qi3-1/+30
* gdb.base/dprintf.exp: Check the output of 'info breakpoints' for dprintf. * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Check the fields in "=breakpoint-created" for dprintf.
2013-01-11*** empty log message ***gdbadmin1-1/+1
2013-01-10gdb/Jan Kratochvil4-4/+13
Code cleanup. * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return type const char *. * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname const char *. * tui/tui-source.h (tui_source_is_displayed): Likewise.
2013-01-10*** empty log message ***gdbadmin1-1/+1
2013-01-09Fixes for solaris compilerAnthony Green3-2/+8
2013-01-09 * symfile.h (quick_symbol_functions): Delete memberDoug Evans5-108/+173
pre_expand_symtabs_matching. All uses removed. * dwarf2read.c (dw2_lookup_symbol): Implement. (dw2_do_expand_symtabs_matching): Delete. (dw2_pre_expand_symtabs_matching): Delete. (struct dw2_symtab_iterator): New type. (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions. (dw2_expand_symtabs_for_function): Rewrite. (dwarf2_gdb_index_functions): Update. * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete. (psym_functions): Update.
2013-01-09 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.Tom Tromey5-47/+117
* configure: Rebuild. * configure.ac: Add somread.o to the build if BFD has SOM support. * somread.c: Include som/aout.h, not syms.h. (som_symtab_read): Use som_external_symbol_dictionary_record. Unpack records manually. (_initialize_somread): Declare.
2013-01-09*** empty log message ***gdbadmin1-1/+1
2013-01-08gdb: x86: fix x32 builds with inline asmMike Frysinger2-1/+7
We need to cast the pointer up to 64bits so that the push works on x32 targets. For 64bit targets, this makes no difference. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-082013-01-08 Hui Zhu <hui_zhu@mentor.com>Hui Zhu4-7/+8
* printcmd.c: Remove define of function output_command. * tracepoint.c: Remove extern of function output_command. * valprint.h: (output_command): New extern.