aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2007-05-21Move entry for modification to dwarf2.h (for adding ability to reportCaroline Tice1-2/+0
when a variable's value is uninitialized) to the correct ChangeLog file.
2007-05-21 * config/i386/tm-linux.h (sys_quotactl): Do not define.Ulrich Weigand5-33/+9
* configure.ac (sys_quotactl, START_INFERIOR_TRAPS_EXPECTED): Do not define for i[[3456]]86-*-linux* native configurations. * config.in, configure: Regenerate.
2007-05-21*** empty log message ***gdbadmin1-1/+1
2007-05-20*** empty log message ***gdbadmin1-1/+1
2007-05-19 * rs6000-nat.c (xcoff_relocate_symtab): Do nothing if debuggingJoel Brobecker2-1/+11
a core file. Add comment in the function description.
2007-05-19*** empty log message ***gdbadmin1-1/+1
2007-05-18Accidentally left this out of previous commit; part of adding abilityCaroline Tice1-0/+6
to report when a variable's value is uninitialized.
2007-05-18Add ability to report when a variable's value is uninitialized,Caroline Tice7-1/+69
based on information provided by the compiler. Also add new DWARF OP, DW_OP_GNU_uninit, for this purpose.
2007-05-18Add self to 'Write After Approval' list.Caroline Tice2-0/+5
2007-05-18*** empty log message ***gdbadmin1-1/+1
2007-05-17 * gdbtypes.c (make_reference_type): Preserve the type chainJoel Brobecker2-0/+16
and set the length of all the variants of the pointer type.
2007-05-17 * gdbtypes.c (make_pointer_type): Preserve the pointer type chainJoel Brobecker2-0/+16
and set the length of all the variants of the pointer type.
2007-05-17* mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat aMaciej W. Rozycki2-8/+12
comment. (mips_o64_push_dummy_call): Reformat a comment.
2007-05-17* gdb.base/sigbpt.exp: Preset segv_addr.Maciej W. Rozycki2-0/+5
2007-05-172007-05-17 Qinwei <qinwei@sunnorth.com.cn>Qinwei1-34/+218
* score-tdep.c (score_frame_cache->fp, score_analyze_prologue) (score_prologue_frame_base_address): Return fp to keep gdb print local variables correctly when debugging information is stabs. (score_analyze_prologue): For software watchpoint, fetch all the instructions from range [startaddr, pc] once and identify them locally to reduce memory access. (score_malloc_and_get_memblock, score_free_memblock) (score_adjust_memblock_ptr): New functions. (score_fetch_inst): Fetch single instruction or mutiple instructions. (score_target_can_use_watch, score_stopped_by_watch) (score_target_insert_watchpoint, score_target_remove_watchpoint) (score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint): New functions for remote & local hw-watchpoint and hw-breakpoint.
2007-05-172007-05-17 Qinwei <qinwei@sunnorth.com.cn>Qinwei1-0/+18
* score-tdep.c (score_frame_cache->fp, score_analyze_prologue) (score_prologue_frame_base_address): Return fp to keep gdb print local variables correctly when debugging information is stabs. (score_analyze_prologue): For software watchpoint, fetch all the instructions from range [startaddr, pc] once and identify them locally to reduce memory access. (score_malloc_and_get_memblock, score_free_memblock) (score_adjust_memblock_ptr): New functions. (score_fetch_inst): Fetch single instruction or mutiple instructions. (score_target_can_use_watch, score_stopped_by_watch) (score_target_insert_watchpoint, score_target_remove_watchpoint) (score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint): New functions for remote & local hw-watchpoint and hw-breakpoint.
2007-05-17*** empty log message ***gdbadmin1-1/+1
2007-05-16Fix typo.Pedro Alves1-2/+1
2007-05-16 * reply_mig_hack.awk: Check for `auto const mach_msg_type_t'Alfred M. Szmidt1-0/+5
declarations as well.
2007-05-16 * reply_mig_hack.awk: Check for `auto const mach_msg_type_t' declarations ↵Alfred M. Szmidt1-1/+1
as well.
2007-05-16 * config/arm/embed.mt (DEPRECATED_TM_FILE): Set to tm-arm.h.Ulrich Weigand9-67/+70
* config/arm/tm-embed.h: Delete file. * arm-tdep.h (arm_software_single_step): Declare. * arm-tdep.c (arm_software_single_step): Make global. (arm_gdbarch_init): Move set_gdbarch_software_single_step call from here to ... * arm-linux-tdep.c (arm_linux_init_abi): ... here ... * armnbsd-tdep.c (arm_netbsd_init_abi_common): ... here ... * armobsd-tdep.c (armobsd_init_abi): ... here ... * arm-wince-tdep.c (arm_wince_init_abi): ... and here. * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT): No longer allow defines to be overriden by TM file. (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Likewise. Also, change default to {0xbe,0xbe}. * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint, arm_obsd_thumb_be_breakpoint): New global variables. (armobsd_init_abi): Override tdep->thumb_breakpoint and tdep->thumb_breakpoint_size. * arm-wince-tdep.c (arm_wince_thumb_le_breakpoint): New variable. (arm_wince_init_abi): Override tdep->thumb_breakpoint and tdep->thumb_breakpoint_size. * arm-tdep.c (arm_gdbarch_init): Add set_gdbarch_skip_trampoline_code.
2007-05-162007-05-16 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-0/+13
* server.c (handle_query): Add reply for qC packet.
2007-05-16 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.Daniel Jacobowitz10-30/+142
(gdb_compile_shlib): Likewise. (skip_shlib_tests, gdb_download, gdb_load_shlibs): New. (default_gdb_init): Clear cleanfiles. (gdb_finish): Delete recorded cleanfiles. * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download. * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs. Do not use isnative. * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp, gdb.base/so-impl-ld.exp: Likewise. * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets. * gdb.base/unload.exp: Likewise. Do not pass empty option to gdb_compile.
2007-05-16 * NEWS: Mention removed "set mips stack-arg-size" and "set mipsDaniel Jacobowitz5-220/+116
saved-gpreg-size". * mips-tdep.c (MIPS32_REGSIZE, MIPS64_REGSIZE): New constants. (size_auto, size_32, size_64, size_enums, mips_abi_regsize_string) (mips_stack_argsize_string, mips_stack_argsize): Delete. (mips_abi_regsize): Simplify. (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) (mips_n32n64_return_value, mips_o32_push_dummy_call) (mips_o32_return_value, mips_o64_push_dummy_call) (mips_o64_return_value): Propogate constant register sizes. Use the ABI register size instead of mips_stack_argsize. (mips_dump_tdep): Don't print mips_stack_argsize. (_initialize_mips_tdep): Remove saved-gpreg-size and stack-arg-size settings. * gdb.texinfo (MIPS): Remove documentation for set mips saved-gpreg-size, show mips saved-gpreg-size, and set mips stack-arg-size.
2007-05-16Commit file missed in last commit.Daniel Jacobowitz1-29/+0
2007-05-16 * config/mips/linux.mt (DEPRECATED_TM_FILE): Delete.Daniel Jacobowitz8-7/+60
* config/mips/tm-linux.h: Delete. * mips-linux-tdep.c (mips_svr4_so_ops): New. (mips_linux_in_dynsym_resolve_code): Make static. Use svr4_in_dynsym_resolve_code. (mips_linux_init_abi): Initialize mips_svr4_so_ops. Call set_solib_ops. * solib-svr4.c (svr4_in_dynsym_resolve_code, svr4_so_ops): Make global. * solib-svr4.h (svr4_so_ops, svr4_in_dynsym_resolve_code): Declare. * Makefile.in (mips-linux-tdep.o): Update. * solib.c (set_solib_ops): New. (current_target_so_ops): Update comment. * solib.h (set_solib_ops): New prototype.
2007-05-16* printcmd.c (do_examine): Fix typos in a comment.Maciej W. Rozycki2-2/+6
2007-05-16gdb/Richard Sandiford3-12/+63
* configure.ac: Allow sysroots to be relocated under $prefix as well as $exec_prefix. * configure: Regenerate.
2007-05-16*** empty log message ***gdbadmin1-1/+1
2007-05-15 * config/unknown.exp: Remove.Vladimir Prus2-21/+4
2007-05-152007-05-15 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-0/+8
* gdb.base/info-proc.exp: Check is_remote.
2007-05-15*** empty log message ***gdbadmin1-1/+1
2007-05-14 * hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>.Ulrich Weigand2-8/+8
(offsetof): Do not define. (find_stub_with_shl_get): Use numerical value 3 instead of symbolic value TYPE_PROCEDURE.
2007-05-142007-05-14 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+5
* gdb.base/gcore.exp: Initialize variable core_supported.
2007-05-14 * all-cfg.texi (GDBTUI): New.Bob Wilson3-115/+104
* gdb.texinfo (Mode Options): Use GDBTUI variable. (TUI, TUI Overview, TUI Keys, TUI Single Key Mode, TUI Commands) (TUI Configuration): Edit to improve clarity and fix problems of both style and content.
2007-05-14 * gdb_proc_service.h (paddr_t): Delete typedef.Daniel Jacobowitz5-16/+51
* proc-service.c (ps_addr_to_core_addr, core_addr_to_ps_addr): New. (ps_xfer_memory): Take a psaddr_t. Use ps_addr_to_core_addr. (ps_pglobal_lookup): Take a psaddr_t *. Use core_addr_to_ps_addr. (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Take a psaddr_t. * sol-thread.c (gdb_ps_addr_t): Use psaddr_t instead of paddr_t. * Makefile.in (proc-service.o): Update.
2007-05-14 * Makefile.in (mips-tdep.o): Update.Daniel Jacobowitz3-1/+11
* mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI unwinder.
2007-05-14 * dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_longDaniel Jacobowitz4-24/+36
instead of store_typed_address. * value.c (pack_long): New. (value_from_longest): Use it. * value.h (pack_long): New prototype.
2007-05-14 * dwarf2-frame.c (read_encoded_value): Correct typo. UseDaniel Jacobowitz2-2/+11
DW_EH_PE_signed if appropriate.
2007-05-14 * dwarf2read.c (dwarf2_debug_line_missing_file_complaint): NewDaniel Jacobowitz2-34/+68
function. (dwarf_decode_lines): Check for line info without a file.
2007-05-14 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.Daniel Jacobowitz2-2/+6
2007-05-14 * linux-thread-db.c (thread_db_pid_to_str): Print thread IDsDaniel Jacobowitz5-5/+16
as hexadecimal. * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs. * gdb.threads/print-threads.exp (test_all_threads): Allow negative and hexadecimal thread IDs.
2007-05-14 * jv-exp.y (push_fieldnames): Use STRUCTOP_PTR instead ofDaniel Jacobowitz6-6/+19
STRUCTOP_STRUCT. * jv-lang.c (evaluate_subexp_java): Handle STRUCTOP_PTR instead of STRUCTOP_STRUCT. * jv-typeprint.c (java_print_type): Do not crash on NULL varstring. * gdb.java/jprint.java (public): Avoid invalid call to static method.
2007-05-14 * gdbarch.sh (read_sp): Remove.Ulrich Weigand8-109/+40
* gdbarch.c, gdbarch.h: Regenerate. * frame.c (frame_sp_unwind): Do not call TARGET_READ_SP. * avr-tdep.c (avr_read_sp): Remove. (avr_unwind_sp): New function. (avr_gdbarch_init): Install unwind_sp instead of read_sp callback. * mips-tdep.c (mips_read_sp): Remove. (mips_unwind_sp): New function. (mips_gdbarch_init): Install unwind_sp instead of read_sp callback. * score-tdep.c (score_read_unsigned_register): Remove. (score_read_sp): Remove. (score_unwind_sp): New function. (score_gdbarch_init): Install unwind_sp instead of read_sp callback.
2007-05-14 * buildsym.c (start_subfile): Handle absolute pathnamesDaniel Jacobowitz2-1/+22
while comparing subfile names.
2007-05-142007-05-14 Denis Pilat <denis.pilat@st.com>Denis Pilat14-47/+8
* gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp, gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
2007-05-14*** empty log message ***gdbadmin1-1/+1
2007-05-13 * hppa-hpux-tdep.c: Include "regcache.h".Ulrich Weigand5-8/+20
* hppa-linux-tdep.c: Likewise. * hppa-tdep.c: Include "gdb_stdint.h". (find_unwind_entry): Cast host pointer to uintptr_t before passing it to paddr_nz. * Makefile.in: Update dependencies.
2007-05-13 * blockframe.c: Remove obsolete comments.Ulrich Weigand7-28/+17
* alpha-nat.c (fetch_osf_core_registers): Update comment. * arm-tdep.h (enum gdb_regnum): Remove obsolete part of comment. * hppa-tdep.h (enum hppa_regnum): Likewise. * mips-tdep.h: Likewise. * m68hc11-tdep.c: Likewise.
2007-05-13 * inferior.h (read_sp): Remove prototype.Ulrich Weigand7-29/+25
* regcache.c (read_sp): Remove. * gcore.c (derive_stack_segment): Use get_frame_sp instead of read_sp. * infcall.c (call_function_by_hand): Likewise. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use regcache instead of calling read_sp. * rs6000-tdep.c (rs6000_push_dummy_call): Likewise.