aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2007-10-24 * config/frv/frv.mt (DEPRECATED_TM_FILE): Remove.Ulrich Weigand3-41/+5
* config/frv-tm-frv.h: Delete file.
2007-10-24 * NEWS: Mention gdbserver support for non-libthread_db operation.Daniel Jacobowitz2-0/+7
2007-10-24 * amd64-tdep.c (amd64_convert_register_p): Delete.Daniel Jacobowitz10-37/+75
(amd64_init_abi): Use i387_convert_register_p. * alpha-tdep.c (alpha_convert_register_p): Return zero for eight byte types. (alpha_register_to_value, alpha_value_to_register): Do not handle eight byte types. * i386-tdep.c (i386_convert_register_p): Use i387_convert_register_p. * i387-tdep.c (i387_convert_register_p): New. (i387_register_to_value, i387_value_to_register): Update comments. * i387-tdep.h (i387_convert_register_p): Declare. * ia64-tdep.c (ia64_convert_register_p): Return zero for builtin_type_ia64_ext. (ia64_gdbarch_init): Do not initialize builtin_type_ia64_ext here. (_initialize_ia64_tdep): Initialize builtin_type_ia64_ext here. * m68k-tdep.c (m68k_convert_register_p): Return zero for builtin_type_m68881_ext. (m68k_register_to_value, m68k_value_to_register): Update comments. * gdbint.texinfo (Register and Memory Data, Target Conditionals): Document that gdbarch_convert_register_p should return zero for no-op conversions.
2007-10-242007-10-24 Nathan Sidwell <nathan@codesourcery.com>Daniel Jacobowitz2-2/+7
* target-memory.c (claim_memory): Propagate baton for split memory requests.
2007-10-242007-10-24 Pedro Alves <pedro_alves@portugalmail.pt>Daniel Jacobowitz2-2/+11
PR gdb/2341 * sol-thread.c (sol_thread_fetch_registers): Work around gcc 3.4 alias warning bug.
2007-10-24 * linux-low.c (handle_extended_wait): Handle unexpected signals.Daniel Jacobowitz2-4/+28
2007-10-24 * symtab.c (find_line_symtab): scan through psymtabsCarlos Eduardo Seo2-0/+13
when exact_match is zero.
2007-10-24*** empty log message ***gdbadmin1-1/+1
2007-10-23 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.Daniel Jacobowitz3-0/+135
2007-10-23 * inferiors.c (change_inferior_id): Delete.Daniel Jacobowitz7-106/+392
(add_pid_to_list, pull_pid_from_list): New. * linux-low.c (PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG) (PTRACE_O_TRACESYSGOOD, PTRACE_O_TRACEFORK, PTRACE_O_TRACEVFORK) (PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXEC, PTRACE_O_TRACEVFORKDONE) (PTRACE_O_TRACEEXIT, PTRACE_EVENT_FORK, PTRACE_EVENT_VFORK) (PTRACE_EVENT_CLONE, PTRACE_EVENT_EXEC, PTRACE_EVENT_VFORK_DONE) (PTRACE_EVENT_EXIT, __WALL): Provide default definitions. (stopped_pids, thread_db_active, must_set_ptrace_flags): New variables. (using_threads): Always set to 1. (handle_extended_wait): New. (add_process): Do not set TID. (linux_create_inferior): Set must_set_ptrace_flags. (linux_attach_lwp): Remove TID argument. Do not check using_threads. Use PTRACE_SETOPTIONS. Call new_thread_notify. Update all callers. (linux_thread_alive): Rename TID argument to LWPID. (linux_wait_for_process): Handle unknown processes. Do not use TID. (linux_wait_for_event): Do not use TID or check using_threads. Update call to dead_thread_notify. Call handle_extended_wait. (linux_create_inferior): Use PTRACE_SETOPTIONS. (send_sigstop): Delete sigstop_sent. (wait_for_sigstop): Avoid TID. (linux_supports_tracefork_flag, linux_tracefork_child, my_waitpid) (linux_test_for_tracefork): New. (linux_lookup_signals): Use thread_db_active and linux_supports_tracefork_flag. (initialize_low): Use thread_db_active and linux_test_for_tracefork. * linux-low.h (get_process_thread): Avoid TID. (struct process_ifo): Move thread_known and tid to the end. Remove sigstop_sent. (linux_attach_lwp, thread_db_init): Update prototypes. * server.h (change_inferior_id): Delete prototype. (add_pid_to_list, pull_pid_from_list): New prototypes. * thread-db.c (thread_db_use_events): New. (find_first_thread): Rename to... (find_one_thread): ...this. Update callers and messages. Do not call fatal. Check thread_db_use_events. Do not call change_inferior_id or new_thread_notify. (maybe_attach_thread): Update. Do not call new_thread_notify. (thread_db_init): Set thread_db_use_events. Check use_events. * utils.c (fatal, warning): Correct message prefix.
2007-10-232007-10-23 Atsushi Nemoto <anemo@mba.ocn.ne.jp>Daniel Jacobowitz2-0/+114
* mips-tdep.c (LL_OPCODE, LLD_OPCODE, SC_OPCODE, SCD_OPCODE): Define. (deal_with_atomic_sequence): New. (mips_software_single_step): Use it.
2007-10-23 PR gdb/2336Daniel Jacobowitz3-2/+10
* Makefile.def (dependencies): Make configure-gdb depend on all-intl. * Makefile.in: Regenerated. * configure.ac: Modify $LIBINTL before the BFD check. * configure: Regenerated.
2007-10-23 * buildsym.c (free_pending_blocks): Remove commented-out code.Joel Brobecker2-30/+9
(make_blockvector): Likewise. Re-use free_pending_blocks. (end_symtab): Remove commented-out code.
2007-10-23*** empty log message ***gdbadmin1-1/+1
2007-10-22 * top.c (command_loop): Fix output for shrinkage.Daniel Jacobowitz2-2/+6
2007-10-22 * cp-name-parser.y (exp1): Add & ( var ) as a reference expression.Daniel Jacobowitz2-12/+14
(exp): Remove and document function-like casts.
2007-10-22 * cp-support.c: Include "safe-ctype.h".Daniel Jacobowitz5-54/+127
(cp_already_canonical): New function. (cp_canonicalize_string): Use it. Return NULL for already canonical strings. (mangled_name_to_comp): Update call to cp_demangled_name_to_comp. (cp_func_name, remove_params): Likewise. (cp_find_first_component_aux): Use ISSPACE. * cp-support.h (cp_demangled_name_to_comp): Correct comment. Remove MEMORY_P argument. * cp-name-parser.y (ALLOC_CHUNK): Define. (struct demangle_info): Add PREV and NEXT. Increase the size of COMPS. (d_grab): Convert to a function. (allocate_info): Rewrite. (cp_demangled_name_to_comp): Remove MEMORY argument. Do not use strlen. Update call to allocate_info. Do not free it on failure. (main): Update calls to cp_demangled_name_to_comp. * Makefile.in (cp-support.o): Update.
2007-10-22 * gdbarch.texi (Compiler Characteristics): Move documentationUlrich Weigand2-32/+38
of set_gdbarch_sofun_address_maybe_missing back to ... (Target Conditionals): ... here to fix build break.
2007-10-222007-10-22 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-11/+22
* std-regs.c (value_of_builtin_frame_fp_reg) value_of_builtin_frame_pc_reg, value_of_builtin_frame_sp_reg) value_of_builtin_frame_ps_reg): Use get_frame_arch to get at the current architecture by frame_info.
2007-10-222007-10-22 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-5/+8
* reggroups.c (default_register_reggroup_p): Replace current_gdbarch by gdbarch.
2007-10-222007-10-22 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-31/+40
* infcmd.c (default_print_registers_info, print_return_value) (print_vector_info, print_float_info): Replace current_gdbarch by gdbarch. (registers_info): Use get_frame_arch to get at the current architecture by frame_info.
2007-10-222007-10-22 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-2/+7
* i387-tdep.c (i387_collect_fsave, i387_collect_fxsave): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-222007-10-22 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-7/+13
* target.c (debug_print_register): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-22 * dwarf2read.c (read_file_scope): Add a comment.Daniel Jacobowitz2-38/+41
(dwarf2_add_field, dwarf2_add_member_fn, read_structure_type) (read_enumeration_type, process_enumeration_scope, read_array_type) (read_typedef, read_base_type, read_subrange_type) (read_unspecified_type): Use dwarf2_name.
2007-10-22 * coffread.c (coff_symfile_finish): Call dwarf2_free_objfile.Daniel Jacobowitz5-0/+29
* dwarf2read.c (dwarf2_free_objfile): New. * elfread.c (elf_symfile_finish): Call dwarf2_free_objfile. * symfile.h (dwarf2_free_objfile): Declare.
2007-10-22*** empty log message ***gdbadmin1-1/+1
2007-10-22 * hppa-hpux-nat.c (hppa_hpux_store_register): Add missing semi-colon.Joel Brobecker2-1/+5
2007-10-21 * rs6000-tdep.c (ppc_dwarf2_frame_init_reg): New function.Luis Machado2-0/+71
(rs6000_gdbarch_init): Install ppc_dwarf2_frame_init_reg as default dwarf2_frame_set_init_reg function.
2007-10-21 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec whenUlrich Weigand3-2/+8
compiling test case with GCC. * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
2007-10-21 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for outputUlrich Weigand2-2/+7
format changes.
2007-10-21 * NEWS: Mention native MinGW configuration.Pedro Alves2-0/+7
2007-10-21*** empty log message ***gdbadmin1-1/+1
2007-10-20*** empty log message ***gdbadmin1-1/+1
2007-10-19 * gdbarch.sh: Remove "macro" column of input table. Remove handlingUlrich Weigand2-223/+111
of "macro" column throughout the file. Remove (empty) "macro" entry of all gdbarch functions.
2007-10-19 * gdbarch.sh (sofun_address_maybe_missing): New gdbarch variable.Ulrich Weigand30-208/+157
* gdbarch.c, gdbarch.h: Regenerate. * dbxread.c (find_stab_function_addr): Define unconditionally. (read_dbx_symtab): Use gdbarch_sofun_address_maybe_missing instead of SOFUN_ADDRESS_MAYBE_MISSING. (end_psymtab): Likewise. (process_one_symbol): Likewise. * mdebugread.c (parse_partial_symbols): Likewise. * symtab.h (struct minimal_symbol): Always define "filename" member. * elfread.c (elf_symtab_read): Use msym->filename unconditionally. * minsyms.c (lookup_minimal_symbol): Likewise. * symmisc.c (dump_msymbols): Likewise. * config/i386/i386sol2.mt (DEPRECATED_TM_FILE): Remove. * config/i386/linux.mt (DEPRECATED_TM_FILE): Remove. * config/i386/tm-i386sol2.h: Remove file. * config/i386/tm-linux.h: Remove file. * i386-linux-tdep.c (i386_linux_init_abi): Add call to set_gdbarch_sofun_address_maybe_missing. * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Remove. * config/powerpc/nbsd.mt (DEPRECATED_TM_FILE): Remove. * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Remove. * config/powerpc/ppc-eabi.mt (DEPRECATED_TM_FILE): Remove. * config/powerpc/ppc-sim.mt (DEPRECATED_TM_FILE): Remove. * config/powerpc/tm-ppc-eabi.h: Remove file. * rs6000-tdep.c (rs6000_gdbarch_init): Add call to set_gdbarch_sofun_address_maybe_missing. * config/sparc/sol2-64.mt (DEPRECATED_TM_FILE): Remove. * config/sparc/sol2.mt (DEPRECATED_TM_FILE): Remove. * config/sparc/tm-sol2.h: Remove file. * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Add call to set_gdbarch_sofun_address_maybe_missing. * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Likewise. doc/ChangeLog: * gdbarch.texi (Target Conditionals): Remove documentation of SOFUN_ADDRESS_MAYBE_MISSING, replaced by ... (Compiler Characteristics): ... documentation of set_gdbarch_sofun_address_maybe_missing.
2007-10-19 * gdbarch.sh (static_transform_name): New gdbarch callback.Ulrich Weigand16-89/+169
* gdbarch.c, gdbarch.h: Regenerate. * dbxread.c (read_dbx_symtab): Use gdbarch_static_transform_name instead of STATIC_TRANSFORM_NAME. * mdebugread.c (parse_partial_symbols): Likewise. * stabsread.c (define_symbol): Likewise. * xcoffread.c (scan_xcoff_symtab): Likewise. * config/i368/tm-i386sol2.h (STATIC_TRANSFORM_NAME): Remove. (IS_STATIC_TRANSFORM_NAME): Remove. * i386-tdep.c (sunpro_static_transform_name): Remove, move to ... * i386-sol2-tdep.c (i386_sol2_static_transform_name): ... here. (i386_sol2_init_abi): Install it. * config/sparc/tm-sol2.h (STATIC_TRANSFORM_NAME): Remove. (IS_STATIC_TRANSFORM_NAME): Remove. * sparc-tdep.c (sparc_stabs_unglobalize_name): Remove, move to ... * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): ... here. (sparc32_sol2_init_abi): Install it. * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Likewise. * sparc-tdep.h (sparc_sol2_static_transform_name): Add prototype.
2007-10-19*** empty log message ***gdbadmin1-1/+1
2007-10-18 * mips-tdep.c (mips_xfer_register): Take a gdbarch argument.Daniel Jacobowitz2-22/+31
(mips_n32n64_return_value, mips_o32_return_value) (mips_o64_return_value): Update calls to mips_xfer_register.
2007-10-182007-10-18 Michael Snyder <msnyder@specifix.com>Michael Snyder2-1/+5
* gdb.base/dbx.exp: Add missing "-re " operator.
2007-10-18*** empty log message ***gdbadmin1-1/+1
2007-10-17 * frame.c (frame_unwind_unsigned_register): Delete.Daniel Jacobowitz14-58/+54
(frame_sp_unwind): Use frame_unwind_register_unsigned instead. * frame.h (frame_unwind_unsigned_register): Delete prototype. * alpha-linux-tdep.c, alpha-mdebug-tdep.c, alpha-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, m68hc11-tdep.c, mn10300-tdep.c, mt-tdep.c: Replace frame_unwind_unsigned_register with frame_unwind_register_unsigned. * gdbint.texinfo (Target Conditionals): Use frame_unwind_register_unsigned in examples instead of frame_unwind_unsigned_register.
2007-10-17*** empty log message ***gdbadmin1-1/+1
2007-10-16 * config/i386/mingw.mh, config/i386/mingw.mt: New files.Pedro Alves6-23/+112
* configure.tgt (i[34567]86-*-mingw32*): Set gdb_target = mingw. * win32-nat.c: Only include cygwin.h on Cygwin host. Don't include procfs.h. (cygwin_load_start, cygwin_load_end, cygwin_exceptions): Disable if not building on Cygwin. (win32_make_so, handle_output_debug_string, handle_exception) (do_initial_win32_stuff): Wrap Cygwin specific code in __CYGWIN__. (win32_attach): Only fallback to Cygwin pids if building on Cygwin. (win32_pid_to_exec_file): Disable Cygwin specific code, if not building on Cygwin. (win32_create_inferior): Disable starting the inferior through a shell, environment var processing and tty handling if not building on Cygwin. (cygwin_pid_to_str): Rename to ... (win32_pid_to_str): ... this. (init_win32_ops): Update use of win32_pid_to_str. Disable "shell" and "cygwin-exceptions" commands if not building on Cygwin.
2007-10-16* doc/gdb.texinfo: Add TSIZE definition, removedGaius Mulley7-38/+290
statement about unbounded arrays being unimplemented. * m2-valprint.c (m2_print_array_contents): New function. (m2_print_unbounded_array): New function. (m2_print_array_contents): New function. * m2-typeprint.c (m2_unbounded_array): New function. (m2_is_unbounded_array): New function. (m2_print_type): Test for unbounded array when walking across structs. * m2-lang.h: Added extern m2_is_unbounded_array. * m2-lang.c (evaluate_subexp_modula2): New function. (exp_descriptor_modula2): New structure. (m2_language_defn): Use exp_descriptor_modula2. * m2-exp.y: Added TSIZE and binary subscript.
2007-10-16* configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.Gaius Mulley5-3/+153
* configure.ac: Removed trailing spaces after backslash. * gdb.modula2: New directory. * gdb.modula2/Makefile.in: New file. * gdb.modula2/unbounded-array.exp: New file. * gdb.modula2/unbounded1.c: New file.
2007-10-16 * mi/mi-main.c (captured_mi_execute_command): Clear mi_error_messageDaniel Jacobowitz2-0/+7
after freeing it.
2007-10-16 * m32r-tdep.c (decode_prologue): Sign extend offset forKevin Buettner2-2/+8
"addi sp, xx" case. (m32r_frame_unwind_cache): Likewise.
2007-10-16*** empty log message ***gdbadmin1-1/+1
2007-10-15 * rs6000-tdep.c (skip_prologue): Restore comment withThiago Jung Bauermann2-23/+28
function description to its proper place.
2007-10-15 * NEWS: Mention gdbserver PowerPC improvements.Daniel Jacobowitz2-0/+7