aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2012-11-12 * gdb.cp/classes.exp (test_ptype_class_objects): RemoveTom Tromey6-95/+113
"ptype" from calls to cp_test_ptype_class. (test_enums): Likewise. * gdb.cp/derivation.exp: Remove "ptype" from calls to cp_test_ptype_class. * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from calls to cp_test_ptype_class. (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise. * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype" from calls to cp_test_ptype_class. * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype" command here. Change "in_command" argument to "in_exp".
2012-11-12*** empty log message ***gdbadmin1-1/+1
2012-11-11*** empty log message ***gdbadmin1-1/+1
2012-11-10 * breakpoint.c (clear_command): Add cleanup forKeith Seitz3-4/+10
sals.sals if an argument is given. * linespec.c (parse_linespec): Do cleanups after parsing a convenience variable.
2012-11-10 PR gdb/14288Keith Seitz8-155/+549
* c-valprint.c (c_val_print): For character arrays with "print null" option on, print ellipses if the output is truncated and the next character is not \000. * valprint.c (MAX_WCHARS): Define. (WCHAR_BUFLEN): Likewise. (WCHAR_BUFLEN_MAX): Likewise. (struct converted_character): New structure. (count_next_character): New function. (print_converted_chars_to_obstack): New function. (generic_printstr): Rewrite using count_next_character and print_converted_chars_to_obstack. * gdb.base/printcmds.c: Add invalid_XXX globals for repeated byte tests. * gdb.base/printcmds.exp (test_repeat_bytes): New procedure. * gdb.base/wchar.c (main): Add and construct a wchar_t array with repeated characters. * gdb.base/wchar.exp: Add repeated character tests.
2012-11-10* tui/tui.c (tui_rl_command_key): Switch to TUI_ONE_COMMAND_MODEStephane Carrez3-3/+18
while executing the gdb command. (tui_rl_startup_hook): Do not switch back to TUI_SINGLE_KEY_MODE if we are called from prompt_for_continue. * tui/tui-io.c (tui_redisplay_readline): Likewise.
2012-11-10PR tui/9584Stephane Carrez2-6/+14
* tui/tui.c (tui_rl_command_key): Do not call execute_command but insert the command to execute in readline's buffer.
2012-11-10*** empty log message ***gdbadmin1-1/+1
2012-11-09 * gdbarch.sh (target_gdbarch): Remove macro.Tom Tromey86-386/+410
(get_target_gdbarch): Rename to target_gdbarch. * gdbarch.c, gdbarch.h: Rebuild. * ada-tasks.c, aix-thread.c, amd64-linux-nat.c, arch-utils.c, arm-tdep.c, auxv.c, breakpoint.c, bsd-uthread.c, corefile.c, darwin-nat-info.c, dcache.c, dsrec.c, exec.c, fbsd-nat.c, filesystem.c, gcore.c, gnu-nat.c, i386-darwin-nat.c, i386-nat.c, ia64-vms-tdep.c, inf-ptrace.c, infcmd.c, jit.c, linux-nat.c, linux-tdep.c, linux-thread-db.c, m32r-rom.c, memattr.c, mep-tdep.c, microblaze-tdep.c, mips-linux-nat.c, mips-linux-tdep.c, mips-tdep.c, monitor.c, moxie-tdep.c, nto-procfs.c, nto-tdep.c, ppc-linux-nat.c, proc-service.c, procfs.c, progspace.c, ravenscar-thread.c, record.c, remote-m32r-sdi.c, remote-mips.c, remote-sim.c, remote.c, rl78-tdep.c, rs6000-nat.c, rx-tdep.c, s390-nat.c, sol-thread.c, solib-darwin.c, solib-dsbt.c, solib-frv.c, solib-ia64-hpux.c, solib-irix.c, solib-pa64.c, solib-som.c, solib-spu.c, solib-sunos.c, solib-svr4.c, solib.c, spu-linux-nat.c, spu-multiarch.c, spu-tdep.c, symfile-mem.c, symfile.c, symtab.c, target-descriptions.c, target.c, target.h, tracepoint.c, windows-nat.c, windows-tdep.c, xcoffsolib.c, cli/cli-dump.c, common/agent.c, mi/mi-interp.c, python/py-finishbreakpoint.c, python/py-inferior.c, python/python.c: Update.
2012-11-09http://sourceware.org/ml/gdb-patches/2012-10/msg00083.htmlAndrew Burgess7-25/+100
gdb/ChangeLog * source.c (print_source_lines_base): Add fullname field giving full path to file in mi output. * NEWS: Mention the new fullname field. gdb/doc/ChangeLog * gdb.texinfo (GDB/MI Data Manipulation): Add fullname field to the example -data-disassemble output. Extend the description of the -data-disassemble results to document all fields. Document the cli disassemble command as being related to -data-disassemble. gdb/testsuite/ChangeLog * gdb.mi/mi-disassemble.exp: Expect fullname field in mi disassembly output.
2012-11-092012-11-09 Yao Qi <yao@codesourcery.com>Yao Qi2-0/+6
* NEWS: Mention the fix to the ambiguity of 'fo' command.
2012-11-092012-11-09 Pedro Alves <palves@redhat.com>Pedro Alves5-0/+126
PR gdb/14306 * infrun.c: Include target-descriptions.h. (follow_exec): Fetch new target description. gdb/testsuite/ 2012-11-09 Pedro Alves <palves@redhat.com> PR gdb/14306 * gdb.multi/multi-arch-exec.c: New file. * gdb.multi/multi-arch-exec.exp: New file.
2012-11-09gdb:Yao Qi2-3/+40
* i386-tdep.c (i386_analyze_frame_setup): Handle opcode 0x8d (lea).
2012-11-092012-11-09 Yao Qi <yao@codesourcery.com>Yao Qi4-38/+71
* breakpoint.c: Declare set_tracepoint_count. (install_breakpoint): Call set_tracepoint_count if B is a tracepoint. (trace_command): Don't call set_tracepoint_count. Re-indent. (strace_command, ftrace_command): (create_tracepoint_from_upload): Likewise. gdb/testsuite: 2012-11-09 Yao Qi <yao@codesourcery.com> * gdb.mi/mi-break.exp (test_abreak_creation): New procedure. (top level): Call it
2012-11-09gdb/doc:Yao Qi2-18/+6
PR gdb/14777. * gdb.texinfo (OS Information): Remove doc on command 'info udot'.
2012-11-09gdb/gdbserver:Yao Qi7-10/+16
2012-11-09 Yao Qi <yao@codesourcery.com> * spu-low.c (current_ptid): Move it to .. * gdbthread.h: ... here. New. * remote-utils.c (read_ptid): Use macro 'current_ptid'. * server.c (myresume, process_serial_event): Likewise. * thread-db.c (thread_db_find_new_threads): Likewise. * tracepoint.c (run_inferior_command): Likewise.
2012-11-09gdb/testsuite:Yao Qi2-2/+7
* gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix typo.
2012-11-09gdb/Pedro Alves11-48/+334
2012-11-09 Pedro Alves <palves@redhat.com> * gdbarch.sh (target_gdbarch) <gdbarch.h>: Reimplement as macro. (get_target_gdbarch) <gdbarch.h>: New function. (startup_gdbarch) <gdbarch.h>: Declare. <gdbarch.c> (target_gdbarch): Delete. <gdbarch.c> (deprecated_target_gdbarch_select_hack): Set the current inferior's gdbarch. <gdbarch.c> (get_target_gdbarch): New function. * inferior.c: Include target-descriptions.h. (free_inferior): Free target description info. (add_inferior_with_spaces): Set the inferior's initial architecture. (clone_inferior_command): Copy the original inferior's target description if it was user specified. (initialize_inferiors): Add comment. * inferior.h (struct target_desc_info): Forward declare. (struct inferior) <gdbarch>: New field. * linux-nat.c: Include target-descriptions.h. (linux_child_follow_fork): Copy the parent's architecture and target description to the child. * target-descriptions.c: Include inferior.h. (struct target_desc_info): New structure, holding the equivalents of ... (target_desc_fetched, current_target_desc) (target_description_filename): ... these removed globals. (get_tdesc_info, target_desc_info_from_user_p) (copy_inferior_target_desc_info, target_desc_info_free): New. (target_desc_fetched, current_target_desc) (target_description_filename): Reimplemented as convenience macros. (tdesc_filename_cmd_string): New global. (set_tdesc_filename_cmd): Copy the string manipulated by the "set tdescs filename ..." commands to the per-inferior equivalent. (show_tdesc_filename_cmd): Get the value to show from the per-inferior description filename. (_initilize_target_descriptions): Change the "set/show tdesc filename" commands' variable. * target-descriptions.h (struct target_desc, struct target_desc_info) (struct inferior): Forward declare. (target_find_description, target_clear_description) (target_current_description): Adjust comments. (copy_inferior_target_desc_info, target_desc_info_free) (target_desc_info_from_user_p). Declare. gdb/testsuite/ 2012-11-09 Pedro Alves <palves@redhat.com> * gdb.multi/multi-arch.exp: New.
2012-11-09*** empty log message ***gdbadmin1-1/+1
2012-11-08* tui/tui-hooks.c (tui_about_to_proceed): New function.Stephane Carrez2-16/+16
(tui_target_wait_hook): Remove. (tui_install_hooks): Install the about_to_proceed observer. (tui_remove_hooks): And remove it here.
2012-11-08document gdb.init check only performed in home directoryJoel Brobecker2-3/+8
The documentation is a little ambiguous and might be suggesting that GDB checks all locations where a gdbinit might be located for gdb.ini files. This clarifies the current situation. gdb/doc/ChangeLog: * gdb.texinfo (Startup): Minor rewording, and clarify scope of gdb.ini warning for Windows port.
2012-11-08gdbTom Tromey7-0/+338
* linux-tdep.c (linux_make_siginfo_note): New function. (linux_make_corefile_notes): Use it. * corelow.c (get_core_siginfo): New function. (core_xfer_partial) <TARGET_OBJECT_SIGNAL_INFO>: New case. gdb/testsuite * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from core files, if possible. * gdb.base/siginfo-thread.c: New file * gdb.base/siginfo-thread.exp: New file bfd * elf.c (elfcore_grok_note) <NT_SIGINFO>: New case; make pseudosection.
2012-11-08 PR gdb/14704:Tom Tromey8-167/+153
* gdb_bfd.c (gdb_bfd_ref): Set BFD_DECOMPRESS. (zlib_decompress_section): Remove. (gdb_bfd_map_section): Only check for compressed section in mmap case. Use bfd_get_full_section_contents. * osabi.c (check_note): Add 'sectsize' argument. Read section data. (generic_elf_osabi_sniff_abi_tag_sections): Don't read section data. Update for check_note change. * xcoffread.c (xcoff_initial_scan): Use bfd_get_full_section_contents. * py-auto-load.c (auto_load_section_scripts): Use bfd_get_full_section_contents. * contrib/cc-with-tweaks.sh: Add -Z option. testsuite * gdb.base/comprdebug.exp: New file.
2012-11-08 * python/py-bpevent.c: Include defs.h.Tom Tromey12-2/+23
* python/py-continueevent.c: Include defs.h. * python/py-event.c: Include defs.h. * python/py-event.h: Don't include defs.h. * python/py-events.h: Don't include defs.h. * python/py-evts.c: Include defs.h. * python/py-exitedevent.c: Include defs.h. * python/py-newobjfileevent.c: Include defs.h. * python/py-signalevent.c: Include defs.h. * python/py-stopevent.c: Include defs.h. * python/py-threadevent.c: Include defs.h.
2012-11-08 * update-web-ari.sh (print_heading): Add number of filesPierre Muller2-11/+38
checked. (nb_files): New variable counting the number of sources files found by gdb_find.sh script. (debug_awk): New variable to allow extra debug output. (indexes): Add more information if DEBUG_AWK is set.
2012-11-08 * ppc-linux-tdep.c (ppc64_standard_linkage1, ppc64_standard_linkage2,Edjunior Barbosa Machado2-6/+12
ppc64_standard_linkage3): Mark ld r11 instructions as optional, following the change in PLT call stubs on linker.
2012-11-08 * contrib/ari/gdb_ari.sh (LANG, LC_ALL): Use 'C' instead of 'c'Pierre Muller3-11/+27
as default language. (AWK): Use = instead of == for sh test to avoid warning. (Linux rule): Correct [:digit] into [[:digit:]]. (__func__ rule): Adapt to "gdb_assert.h" move to common subdirectory. (vasprintf rule): Adapt to common subdirectory moves. (xasprintf rule): Idem. (xvasprintf rule): Idem. (var_boolean rule): Accept occurence in == or != test. * contrib/ari/gdb_find.sh: Also prune gdbtk directory.
2012-11-08* tui/tui-hooks.c (tui_inferior_exit): New function.Stephane Carrez2-5/+18
(tui_detach_hook): Remove. (tui_install_hooks): Install the inferior exit observer. (tui_remove_hooks): Remove it.
2012-11-08gdb/doc:Yao Qi4-0/+12
2012-11-08 Yao Qi <yao@codesourcery.com> * gdb.texinfo (Search): Add kindex for 'fo'. gdb: 2012-11-08 Yao Qi <yao@codesourcery.com> PR gdb/14777. * source.c (_initialize_source): Call add_com_alias to abbreviate 'forward-search' as 'fo'.
2012-11-08*** empty log message ***gdbadmin1-1/+1
2012-11-072012-11-07 Pedro Alves <palves@redhat.com>Pedro Alves10-10/+23
* arm-tdep.c: Make defs.h be the first include. * coff-pe-read.c: Ditto. * gnu-nat.c: Ditto. * go32-nat.c: Ditto. * i386-nat.c: Ditto. * ppcnbsd-nat.c: Ditto. * ada-varobj.h: Don't include defs.h. * i386-darwin-tdep.h: Ditto. * i386-nat.h: Ditto.
2012-11-072012-11-07 Pedro Alves <palves@redhat.com>Pedro Alves2-32/+30
* MAINTAINERS: New FSF-appointed maintainers replace the Steering Committee.
2012-11-07 * common/linux-osdata.c (dirent.h): ARI fix: Remove.Pierre Muller2-1/+5
File already uses "gdb_dirent.h" header.
2012-11-07gdb:Yao Qi2-1/+5
* breakpoint.c (get_tracepoint_by_number): Remove 'extern int tracepoint_count'.
2012-11-07*** empty log message ***gdbadmin1-1/+1
2012-11-06 * target.h (inferior_has_forked, inferior_has_vforked)Tom Tromey2-10/+6
(inferior_has_execd, inferior_has_called_syscall): Remove declarations.
2012-11-06 * remote.c (remote_insert_hw_breakpoint): ARI fix,Pierre Muller2-1/+6
add missing internalization markup.
2012-11-06gdb/Pedro Alves5-1/+84
2012-11-06 Pedro Alves <palves@redhat.com> PR gdb/14810 * breakpoint.c (bpstat_stop_status): Skip disabled locations. gdb/testsuite/ 2012-11-06 Pedro Alves <palves@redhat.com> PR gdb/14810 * gdb.base/disabled-location.c: New file. * gdb.base/disabled-location.exp: New file.
2012-11-06 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.Tom Tromey12-149/+63
* gdb.python/py-strfns.exp (test_strfns_core_file): Use gdb_gcore_cmd. * gdb.cell/gcore.exp: Use gdb_gcore_cmd. * gdb.base/gcore.exp: Use gdb_gcore_cmd. * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd. * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd. * gdb.base/auxv.exp: Use gdb_gcore_cmd. * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd. * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd. * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd. * lib/gdb.exp (gdb_gcore_cmd): New proc.
2012-11-06 * contrib/ari/create-web-ari-in-src.sh: Avoid problem if scriptPierre Muller2-1/+6
is not executable.
2012-11-06*** empty log message ***gdbadmin1-1/+1
2012-11-05Fix entry ordering issue in gdb/ChangeLog...Joel Brobecker1-4/+4
2012-11-05New script to update our gnulib importJoel Brobecker2-0/+122
gdb/ChangeLog: * gnulib/update-gnulib.sh: New script.
2012-11-05* MAINTAINERS: Update my email address.Stephane Carrez2-3/+7
2012-11-05 * frame.c (put_frame_register): Don't use temporary buffer.Tom Tromey2-6/+5
2012-11-05 PR python/14802:Tom Tromey2-0/+12
* gdb.texinfo (Functions In Python): Add example.
2012-11-05gdb/Pedro Alves5-0/+88
2012-11-05 Pedro Alves <palves@redhat.com> * inferior.c (exit_inferior_1): Clear 'vfork_parent' in the vfork child. Clear 'pending_detach'. * infrun.c (handle_vfork_child_exec_or_exit): Clear 'pending_detach' in the vfork parent. gdb/testsuite/ 2012-11-05 Pedro Alves <palves@redhat.com> * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New procedure. (do_vfork_and_follow_child_tests_exec) (do_vfork_and_follow_child_tests_exit): Call it.
2012-11-052012-11-05 Pedro Alves <palves@redhat.com>Pedro Alves2-0/+7
* gdb.base/foll-vfork.c (main): Call perror and _exit if execlp() fails.
2012-11-05 Add support for DWP files. http://gcc.gnu.org/wiki/DebugFissionDWPDoug Evans3-185/+921
* contrib/cc-with-tweaks.sh: Add -p parameter to invoke dwp. * dwarf2read.c: #include "elf-bfd.h". (struct dwarf2_per_objfile): New members dwp_checked, dwp_file. (dwop_section_names): Renamed from dwo_section names. All uses updated. Add entries for .debug_cu_index, .debug_tu_index. (struct dwo_file): Rename dwo_name to name, dwo_bfd to dbfd. All uses updated. (struct dwp_sections): New type. (struct virtual_dwo_sections): New type. (struct dwp_hash_table): New type. (struct dwp_file): New type. (init_cutu_and_read_dies): Ensure DWO info/types section has been read in. Handle DWOs coming from DWP files. (lookup_dwo_file_slot): New function. (dwarf2_locate_dwo_sections): Move definition closer to use. (create_dwo_debug_info_hash_table_reader): Renamed from create_debug_info_hash_table_reader. All callers updated. (create_dwo_debug_info_hash_table): Renamed from create_debug_info_hash_table. All callers updated. (create_dwp_hash_table): New function. (locate_virtual_dwo_sections, create_dwo_in_dwp): New functions. (lookup_dwo_in_dwp): New function. (try_open_dwop_file): Renamed from try_open_dwo_file. New parameter is_dwp. All callers updated. (open_dwop_file): Renamed from open_dwo_file. All callers updated. (open_and_init_dwo_file): Renamed from init_dwo_file. All callers updated. (lookup_dwo_file): Delete. (dwarf2_locate_dwp_sections): New function. (hash_dwp_loaded_cutus, eq_dwp_loaded_cutus): New functions. (allocate_dwp_loaded_cutus_table): New function. (open_and_init_dwp_file): New function. (lookup_dwo_cutu): New function. (lookup_dwo_comp_unit, lookup_dwo_type_unit): Call it.
2012-11-05*** empty log message ***gdbadmin1-1/+1