aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2009-05-01Link gdb with moxie simAnthony Green1-0/+4
2009-04-302009-04-30 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov1-0/+5
* elfread.c (elf_symtab_read): Don't assume .data and .rodata are present.
2009-04-30I386 Linux process record and replay support.Hui Zhu1-0/+15
* i386-linux-tdep.c (i386_linux_record_tdep): New variable. This struct has the argument for the function "record_linux_system_call". (i386_linux_intx80_sysenter_record): New function. Parse the system call instruction and call function "record_linux_system_call" to record execute log. (i386_linux_init_abi): Initialize "i386_linux_record_tdep". Set "i386_linux_intx80_sysenter_record" to "i386_intx80_record" and "i386_sysenter_record".
2009-04-30I386 architecture process record and replay support.Hui Zhu1-0/+22
* i386-tdep.c (PREFIX_REPZ, PREFIX_REPNZ, PREFIX_LOCK, PREFIX_DATA, PREFIX_ADDR): New macros. Help decode the i386 instruction set. (aflag, dflag, override, modrm, mod, reg, rm, ot, i386_record_pc): New variables. Ditto. (i386_record_modrm, i386_record_lea_modrm_addr, i386_record_lea_modrm): New functions. Ditto. (i386_process_record): New function. Parse the instruction in address "addr" and record the values of registers and memory that will be changed by this instruction. (i386_gdbarch_init): Set "i386_process_record" to GDBARCH "process_record" interface. * i386-tdep.h (gdbarch_tdep): New function pointers "i386_intx80_record" and "i386_sysenter_record" that point to the function that can record "intx80" and "sysenter" execute log.
2009-04-30* infrun.c (use_displaced_stepping): Return false if processHui Zhu1-0/+8
record and replay target is used. (proceed): Call function "record_not_record_set" if pocess record and replay target is used.
2009-04-30Linux process record and replay support.Hui Zhu1-0/+11
* Makefile.in (ALLDEPFILES): Add linux-record.c. (ALL_TARGET_OBS): Add linux-record.o. * configure.tgt (x86_64-*-linux*): Add linux-record.o. (i[34567]86-*-linux*): Add linux-record.o. * linux-record.c, linux-record.h: New file.
2009-04-30Process record and replay target.Hui Zhu1-0/+9
* Makefile.in (SFILES): Add record.c. (COMMON_OBS): Add record.o. * record.c, record.h: New file.
2009-04-30* target.h (strata): New stratum "record_stratum".Hui Zhu1-0/+5
2009-04-30* gdbarch.sh (process_record): This interface point to theHui Zhu1-0/+8
function that records the inferior execute log.
2009-04-29 * i386-nat.c (child_post_startup_inferior): Delete, unused.Doug Evans1-0/+4
2009-04-29 * breakpoint.c (print_exception_catchpoint): Access `b' directlyPedro Alves1-0/+6
instead of `b->loc->owner'. (print_mention_exception_catchpoint): Ditto.
2009-04-29gdb/Jan Kratochvil1-0/+4
* macrocmd.c (info_macro_command): Print -Dname=value if LINE is zero. gdb/doc/ * gdb.texinfo (Macros): Note command-line for `info macro'. Append a new part on command-line defined macros. gdb/testsuite/ * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'. (info_macro): Remova `decimal' declaration. New variable `nonzero'. Replace all uses of `decimal' by `nonzero'. (info macro FROM_COMMANDLINE): New test.
2009-04-28gdbTom Tromey1-0/+4
* c-exp.y (yylex): Handle '[' and ']' like '(' and ')'. gdb/testsuite * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
2009-04-27 * symtab.c (append_exact_match_to_sals): New function, extractedJerome Guitton1-0/+7
from expand_line_sal. (expand_line_sal): Use append_exact_match_to_sals to append exact matches. If none found, append all best items.
2009-04-27 * main.c (captured_main): Move gdbinit lookups after gdb_init.Jerome Guitton1-0/+4
2009-04-27gdb/Jan Kratochvil1-0/+6
PR gdb/9675: * dwarf2read.c (unsigned_int_compar, inherit_abstract_dies): New. (read_func_scope): Call inherit_abstract_dies. gdb/testsuite/ * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
2009-04-25 * Makefile.in (ALLDEPFILES): Remove duplicate entries forEli Zaretskii1-1/+4
sparc-sol2-nat.c and sparc-sol2-tdep.c.
2009-04-25 * stack.c (_initialize_stack) <disassemble-next-line>: Doc fix.Eli Zaretskii1-0/+4
2009-04-24 ARI change: Use "/* ARI: rule */" pattern.Pierre Muller1-0/+6
* utils.c: Update ARI patterns. * gdb_dirent.h: Likewise.
2009-04-24Add moxie-elf port.Anthony Green1-0/+7
2009-04-23Spell my name properly in the last entry :-).Joel Brobecker1-1/+1
2009-04-23 * ada-lang.c: Remove an extra empty line. No code change.Joel Brobecker1-0/+4
2009-04-23gdb/Jan Kratochvil1-0/+8
Fix double free on error inserting the breakpoint instruction. * breakpoint.c (create_breakpoints): Move the update_global_location_list call to ... (break_command_really): ... here together with the second local call both unified after all the cleanups.
2009-04-23gdbTom Tromey1-0/+16
2009-04-23 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> Tom Tromey <tromey@redhat.com> * configure, config.in: Regenerate. * configure.ac: Support for relocatable GDB datadir. Use GDB_AC_WITH_DIR. Always define TARGET_SYSTEM_ROOT_RELOCATABLE. * acinclude.m4 (GDB_AC_WITH_DIR): New defun. * top.c (init_main): Add "set data-directory". * defs.h (gdb_datadir): Declare. * main.c (gdb_datadir): New global. (captured_main): Initialize gdb_datadir. Use relocate_directory. (relocate_path): New function. (relocate_directory): Likewise. (get_init_files): Use relocate_path. (README): Mention --with-gdb-datadir. gdb/doc 2009-04-23 Tom Tromey <tromey@redhat.com> * gdb.texinfo (Data Files): New node. (GDB Files): Update menu.
2009-04-23 * ada-tasks (task_command_1): Call target_find_new_threads.Joel Brobecker1-0/+4
2009-04-23 * stack.c (do_gdb_disassembly): Print the exception message if anJoel Brobecker1-0/+5
error was thrown while trying to perform the disassembly.
2009-04-22gdb/Jan Kratochvil1-0/+4
* varobj.c (free_variable): Replace free_current_contents by xfree.
2009-04-22 * arm-linux-nat.c (fetch_register, store_register): UseKazu Hirata1-0/+9
ARM_CPSR_GREGNUM instead of ARM_CPSR_REGNUM. * arm-linux-tdep.c (arm_linux_supply_gregset, arm_linux_collect_gregset): Likewise. * arm-linux-tdep.h (ARM_CPSR_GREGNUM): New. * arm-tdep.h (ARM_CPSR_REGNUM): Remove.
2009-04-22 * stack.c (_initialize_stack): Set the default ofHui Zhu1-0/+5
disassemble-next-line to off.
2009-04-22 * acinclude.m4: Use AS_HELP_STRING, not AC_HELP_STRING.Tom Tromey1-0/+5
* configure.ac: Use AS_HELP_STRING, not AC_HELP_STRING.
2009-04-21* configure.ac: Add quotes to not lose brackets in help text.Andreas Schwab1-0/+5
* configure: Rebuild.
2009-04-21Fix date.Andreas Schwab1-1/+1
2009-04-21 * configure.ac: Don't postprocess Makefile in config.status.Andreas Schwab1-2/+11
Substitute GDB_NM_FILE. Don't substitute nm_h. * Makefile.in (GDB_NM_FILE): Substitute. (TAGS): Use $(GDB_NM_FILE) instead of $(NAT_FILE). * configure: Regenerate. * gnulib/Makefile.in: Regenerate.
2009-04-21gdb:Joseph Myers1-0/+6
* configure.ac (--with-datarootdir, --with-docdir, --with-pdfdir, --with-htmldir): New. * configure: Regenerate. gdb/doc: * configure.ac (--with-datarootdir, --with-docdir, --with-pdfdir, --with-htmldir): New. * configure: Regenerate. * Makefile.in (datarootdir, docdir): Define. (gdb.dvi, gdb.pdf): Use same -I options as for building gdb.info instead of $(SET_TEXINPUTS). (gdbint.dvi, gdbint.pdf): Use same -I options as for building gdbint.info instead of $(SET_TEXINPUTS). (gdbint/index.html): Use same -I options as for building gdbint.info. (stabs.dvi, stabs.pdf): Use same -I options as for building stabs.info instead of $(SET_TEXINPUTS). (stabs/index.html): Use same -I options as for building stabs.info. (annotate.dvi, annotate.pdf): Use same -I options as for building annotate.info instead of $(SET_TEXINPUTS). (annotate/index.html): Use same -I options as for building annotate.info.
2009-04-21 * configure: Rebuild.Tom Tromey1-0/+6
* configure.ac: Use lower case for start of help strings. Clean up --with-sysroot help.
2009-04-21 * configure: Rebuild.Tom Tromey1-0/+7
* acinclude.m4 (AM_ICONV): Use AC_HELP_STRING. * configure.ac: Use AC_HELP_STRING. Use upper case for variables in help.
2009-04-21 ARI fix: remove "%p".Pierre Muller1-0/+9
* ia64-tdep.c (ia64_frame_this_id): Use host_address_to_string function. (ia64_sigtramp_frame_this_id): Ditto. (ia64_libunwind_frame_this_id): Ditto. (ia64_libunwind_sigtramp_frame_this_id): Ditto. * symmisc.c (maintenance_info_psymtabs): Ditto.
2009-04-21gdb:Joseph Myers1-0/+9
* configure.ac (--with-relocated-sources): New. * configure, config.in: Regenerate. * source.c (add_substitute_path_rule): Remove static. * source.h (add_substitute_path_rule): Declare. * main.c: Include "source.h". (captured_main): Add substitution rule if RELOC_SRCDIR. gdb/doc: * gdb.texinfo (Source Path): Document --with-relocated-sources.
2009-04-21 * gnu-nat.h (proc_debug): Add missing continuation line in macro.Pierre Muller1-0/+4
2009-04-202009-04-20 David Daney <ddaney@caviumnetworks.com>David Daney1-0/+32
* NEWS: Mention MIPS/Linux hardware watchpoint support. 2009-04-20 David Daney <ddaney@caviumnetworks.com> * mips-linux-nat.c (command.h, gdbcmd.h, gdb_assert.h): New #includes. (maint_show_dr, super_close): New variables. (super_fetch_registers, super_store_registers): Make static. (PTRACE_GET_WATCH_REGS, PTRACE_SET_WATCH_REGS, W_BIT, R_BIT, I_BIT) (W_MASK, R_MASK, I_MASK, IRW_MASK, MAX_DEBUG_REGISTER): Define. (pt_watch_style): Define new enum. (mips32_watch_regs, mips64_watch_regs, pt_watch_regs, mips_watchpoint): Define new structs. (watch_readback_valid, watch_readback, current_watches, watch_mirror): New variables. (get_irw_mask, get_reg_mask, get_num_valid, get_watchlo) (set_watchlo, get_watchhi, set_watchhi, mips_show_dr) (mips_linux_read_watch_registers, mips_linux_can_use_hw_breakpoint) (mips_linux_stopped_by_watchpoint, mips_linux_stopped_data_address) (type_to_irw, fill_mask, try_one_watch) (mips_linux_region_ok_for_hw_watchpoint, write_watchpoint_regs) (mips_linux_new_thread, populate_regs_from_watches) (mips_linux_insert_watchpoint, mips_linux_remove_watchpoint) (mips_linux_close): New functions. (_initialize_mips_linux_nat): Register watchpoint functions with the target_ops. Add show-debug-regs maintenance command. 2009-04-20 David Daney <ddaney@caviumnetworks.com> * infrun.c (handle_inferior_event): Move gegisters_changed call down.
2009-04-19 * NEWS: Mention gdbserver support for x86 Windows CE.Pedro Alves1-0/+4
2009-04-19 * config/djgpp/fnchange.lst: Fix typos.Eli Zaretskii1-0/+2
2009-04-19 Set default host and target charsets in the DJGPP port.Eli Zaretskii1-0/+17
* config/djgpp/config.sed (am_cv_langinfo_codeset) (bash_cv_langinfo_codeset, ac_cv_header_nl_types_h): Set to "yes" in all configure scripts that define ac_cv_env_CPP_value. * go32-nat.c (dos_codepage, nl_langinfo): New functions. Include langinfo.h. * config/djgpp/nl_types.h: New file. * config/djgpp/langinfo.h: New file. * config/i386/go32.mh (MH_CFLAGS): Add $(srcdir)/config/djgpp.
2009-04-18gdb:Joseph Myers1-0/+5
2009-04-18 Carlos O'Donell <carlos@codesourcery.com> * Makefile.in (MAKEHTML): Set to makeinfo --html. (MAKEHTMLFLAGS): Set to empty. gdb/doc: 2009-04-18 Carlos O'Donell <carlos@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * Makefile.in (MAKEHTML): Set to makeinfo --html. (MAKEHTMLFLAGS): Set to empty. (html__strip_dir): Define. (HTMLFILES): Define. (HTMLFILES_INSTALL): Define. (install-html): Copy new automake rule. (html): Depend on $(HTMLFILES). (gdb_toc.html): Rename to gdb/index.html. (gdbint_toc.html): Rename to gdbint/index.html. (stabs_toc.html): Rename to stabs/index.html. (annotate_toc.html): Rename to annotate/index.html.
2009-04-18 * NEWS: Mention all new set/show commands added since GDB 6.8 wasEli Zaretskii1-0/+3
released.
2009-04-18 * go32-nat.c (go32_sysinfo): Check if the call toEli Zaretskii1-0/+6
__dpmi_get_capabilities fills the buffer with information, and don't use the buffer if not.
2009-04-17 * charset.c (_initialize_charset): Add special case for "646".Tom Tromey1-0/+4
2009-04-17gdb:Joseph Myers1-0/+8
2009-04-17 Carlos O'Donell <carlos@codesourcery.com> * configure.ac: AC_SUBST datarootdir, docdir, htmldir, pdfdir. * configure: Regenerate. * Makefile.in: Set datarootdir, docdir, htmldir, and pdfdir from configure substitutions. (FLAGS_TO_PASS): Add datarootdir, docdir, and htmldir. gdb/doc: 2009-04-17 Carlos O'Donell <carlos@codesourcery.com> * Makefile.in: Set pdfdir and htmldir from configure substitutions. * configure.ac: AC_SUBST datarootdir, docdir, htmldir, pdfdir. * configure: Regenerate. readline: 2009-04-17 Carlos O'Donell <carlos@codesourcery.com> * Makefile.in: Add html target. Add dummy install-html and install-pdf targets. sim: 2009-04-17 Carlos O'Donell <carlos@codesourcery.com> * Makefile.in: Add dummy install-pdf, html, and install-html targets.
2009-04-17 ARI fix: Do not use %p, replace by call to host_address_to_stringPierre Muller1-0/+13
for host pointers. * darwin-nat.c (darwin_xfer_partial): Apply change. * gnu-nat.c (inf_continue, gnu_xfer_memory): Ditto. * gnu-nat.h (proc_debug): Ditto. * symmisc.c (maintenance_info_symtabs): Ditto. (maintenance_info_psymtabs): Ditto. * windows-nat.c (handle_load_dll): Ditto. (handle_unload_dll, info_w32_command, handle_exception): Ditto. * xtensa-tdep.c (xtensa_unwind_pc): Ditto.
2009-04-17 * configure.tgt (i[34567]86-*-linux*): Use 64-bit configuration ifJoseph Myers1-0/+6
--enable-64-bit-bfd. (sparc-*-linux*): Likewise.