aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2008-01-18 * gdbarch.sh (function_list): Add new property bits_big_endian toMarkus Deuling15-31/+91
gdbarch structure. * gdbarch.{c,h}: Regenerate. * value.c (struct value): Replace BITS_BIG_ENDIAN by gdbarch_bits_big_endian (comment). (unpack_field_as_long, modify_field): Likewise. * value.h: Likewise (comment). * valops.c (value_slice): Likewise. * valarith.c (value_subscript, value_bit_index): Likewise. * gdbtypes.h (field): Likewise (comment). * eval.c (evaluate_subexp_standard): Likewise. * dwarf2read.c (dwarf2_add_field): Likewise. * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val) (move_bits, ada_value_assign, value_assign_to_component): Likewise. * defs.h (BITS_BIG_ENDIAN): Remove. * gdbint.texinfo (Target Conditionals): Replace the description of BITS_BIG_ENDIAN with a description of gdbarch_bits_big_endian.
2008-01-18 * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriateMarkus Deuling5-59/+38
function calls. * m2-exp.y (yylex): Likewise. * objc-exp.y (yylex): Likewise. * defs.h (DEPRECATED_STREQN): Remove.
2008-01-18*** empty log message ***gdbadmin1-1/+1
2008-01-17binutils/H.J. Lu2-1/+5
2008-01-17 H.J. Lu <hjl.tools@gmail.com> * MAINTAINERS: Update my email address. gdb/ 2008-01-17 H.J. Lu <hjl.tools@gmail.com> * MAINTAINERS: Update my email address.
2008-01-17* README: Mention gdbserver/README.Jim Blandy2-0/+8
2008-01-17 * valarith.c (value_binop): Handle BINOP_INTDIVPierre Muller2-0/+7
for unsigned and signed integers.
2008-01-17 * s390-tdep.c (s390_gdbarch_init): Set default long doubleUlrich Weigand2-0/+11
type to 128-bit IEEE quad.
2008-01-17 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integerPedro Alves5-8/+26
and 'dummy_ptr' integer pointer. Initialize struct_declarations with dummy_ptr's address. * gdb.mi/var-cmd.c (do_children_tests): Likewise. * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on all targets. * gdb.mi/mi2-var-child.exp: Likewise.
2008-01-17 * hpux-thread.c (hpux_thread_resume): Delete commented-out code.Joel Brobecker2-9/+4
2008-01-17*** empty log message ***gdbadmin1-1/+1
2008-01-16* auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.Mark Kettenis2-0/+4
2008-01-16* dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.Mark Kettenis4-4/+9
* value.c: All callers changed.
2008-01-16 * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): ReplaceMarkus Deuling8-26/+41
DEPRECATED_STREQ by its expression. * coffread.c (coff_locate_sections, coff_symtab_read): Likewise. * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos) (scan_xcoff_symtab): Likewise. * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise. * f-lang.c (find_common_for_function): Likewise. * objc-exp.y (parse_number): Likewise. * defs.h (DEPRECATED_STREQ): Remove.
2008-01-16 * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.Markus Deuling3-11/+29
* mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use get_frame_arch to get at the current_architecture. Update AM33_MODE call. (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller. (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current architecture. (set_reg_offsets, mn10300_analyze_prologue): Fix indentation.
2008-01-16 * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch asMarkus Deuling5-20/+43
parameter. * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise. (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace current_gdbarch by gdbarch. Update caller. * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers) (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at the current architecture. Update calls of amd64_native_gregset_supplies_p. * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers) (amd64bsd_store_inferior_registers): Likewise.
2008-01-16 * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter.Markus Deuling2-5/+10
Replace current_gdbarch by gdbarch. Update caller.
2008-01-16 * dbxread.c (repeated_header_complaint, dbx_symfile_init)Markus Deuling2-49/+88
(read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint) (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1) (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol) (stabsect_build_psymtabs): Fix indentation.
2008-01-162008-01-15 Michael Snyder <msnyder@specifix.com>Michael Snyder2-1/+5
* corelow.c (core_xfer_partial): Comment, cut/paste error.
2008-01-16*** empty log message ***gdbadmin1-1/+1
2008-01-15*** empty log message ***gdbadmin1-1/+1
2008-01-14 * win32-nat.c (win32_create_inferior): Restore code callingPierre Muller3-0/+11
CloseHandle on ProcessInformation structure.
2008-01-14*** empty log message ***gdbadmin1-1/+1
2008-01-13 * configure.ac: Check for void * as 3 argument of ptrace.Nick Hudson3-2/+7
* configure: regenerate.
2008-01-13*** empty log message ***gdbadmin1-1/+1
2008-01-12 * gdb.texinfo (C Operators): Remove incorrect parenthetical commentJoel Brobecker2-1/+6
about &&var, which is rejected by the expression parser.
2008-01-12*** empty log message ***gdbadmin1-1/+1
2008-01-11 * alpha-tdep.c (alpha_heuristic_proc_start)Markus Deuling17-140/+244
(alpha_sigtramp_register_address): Add gdbarch as parameter. Replace current_gdbarch by gdbarch. (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the current architecture by frame_info. Update alpha_heuristic_proc_start call. (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use get_frame_arch to get at the current architecture by frame_info. Update alpha_sigtramp_register_address call. * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace current_gdbarch by gdbarch. Update caller. (convert_to_extended, convert_from_extended): Add endianess parameter for comparison. Update caller. (arm_extract_return_value, arm_store_return_value): Use get_regcache_arch to get at the current architecture. * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace current_gdbarch by gdbarch. Update caller. (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch. * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add gdbarch as parameter. Update caller. (h8300_init_frame_cache): Add gdbarch as parameter. Replace current_gdbarch by gdbarch. Update caller. * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and update caller. Replace current_gdbarch by gdbarch. * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at the current architecture. Replace current_gdbarch by gdbarch. * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise. (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its expression. Add gdbarch as parameter and replace current_gdbarch with it. Update caller. (M6811_TDEP): Remove. (m68hc11_frame_prev_register): Use get_frame_arch to get at the current architecture. (m68hc11_scan_prologue): Add gdbarch as parameter. Replace current_gdbarch by gdbarch. Update caller. * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and update caller. (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch by gdbarch. * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update caller. Relace current_gdbarch by gdbarch. (altivec_register_p, spe_register_p): Likewise. * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as parameter. * ppc-linux-nat.c (fetch_register, store_register): Update caller of altivec_register_p and spe_register_p. * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch. (score_analyze_prologue): use get_frame_arch to get at the current architecture. * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter. * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace current_gdbarch by gdbarch. Update caller. (sparc_frame_cache): Use get_frame_arch to get at the current architecture. * sparce64-tdep.c (sparc64_skip_prologue): Update call of sparc_analyze_prologue. * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as parameter.
2008-01-11 * exec.c: #include "arch-utils.h"Markus Deuling19-103/+124
(print_section_info): Use gdbarch_from_bfd to get at the current architecture. Replace current_gdbarch. Fix indention. Replace deprecated_print_address_numeric by paddress. * Makefile.in (exec.o) Add dependency to arch-utils.h. * valprint.c (val_print_string): Replace deprecated_print_address_numeric. * tracepoint.c (trace_mention, scope_info): Likewise. * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol) (print_symbol, print_partial_symbols, maintenance_info_psymtabs) (maintenance_check_symtabs): Likewise. * symfile.c (list_overlays_command): Likewise. * stack.c (frame_info, print_block_frame_labels): Likewise. * printcmd.c (print_address, print_address_demangle) (address_info): Likewise. * corefile.c (memory_error): Likewise. * infcmd.c (jump_command): Likewise. * breakpoint.c (insert_bp_location, describe_other_breakpoints) (mention, delete_breakpoint): Likewise. * c-valprint.c (print_function_pointer_address, c_val_print): Likewise. * dwarf2read.c (dump_die): Likewise. * ada-valprint.c (ada_val_print_1): Likewise. * f-valprint.c (f_val_print): Likewise. * linux-fork.c (info_forks_command): Likewise. * m32r-com.c (m32r_load_section, m32r_load) (m32r_upload_command): Likewise. * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.
2008-01-11 * gdbarch.sh (skip_prologue): Add gdbarchMarkus Deuling36-38/+79
as parameter. * gdbarch.{c,h}: Regenerate. * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter. * amd64-tdep.c (amd64_skip_prologue): Likewise. * avr-tdep.c (avr_skip_prologue): Likewise. * cris-tdep.c (cris_skip_prologue): Likewise. * frv-tdep.c (frv_skip_prologue): Likewise. * h8300-tdep.c (h8300_skip_prologue): Likewise. * hppa-tdep.c (hppa_skip_prologue): Likewise. * i386-tdep.c (i386_skip_prologue): Likewise. * ia64-tdep.c (ia64_skip_prologue): Likewise. * iq2000-tdep.c (iq2000_skip_prologue): Likewise. * m32r-tdep.c (m32r_skip_prologue): Likewise. * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise. * m68k-tdep.c (m68k_skip_prologue): Likewise. * m88k-tdep.c (m88k_skip_prologue): Likewise. * mep-tdep.c (mep_skip_prologue): Likewise. * mips-tdep.c (mips_skip_prologue): Likewise. * mn10300-tdep.c (mn10300_skip_prologue): Likewise. * mt-tdep.c (mt_skip_prologue): Likewise. * rs6000-tdep.c (rs6000_skip_prologue): Likewise. * score-tdep.c (score_skip_prologue): Likewise. * sh64-tdep.c (sh64_skip_prologue): Likewise. * sh-tdep.c (sh_skip_prologue): Likewise. * sparc64-tdep.c (sparc64_skip_prologue): Likewise. * sparc-tdep.c (sparc32_skip_prologue): Likewise. * spu-tdep.c (spu_skip_prologue): Likewise. * v850-tdep.c (v850_skip_prologue): Likewise. * vax-tdep.c (vax_skip_prologue): Likewise. * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise. * xtensa-tdep.c (xtensa_skip_prologue): Likewise. * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace current_gdbarch by gdbarch. * m32c-tdep.c (m32c_skip_prologue): Likewise. * s390-tdep.c (s390_skip_prologue): Likewise.
2008-01-11 * defs.h (struct continuation_arg): Fix typo in comment.Doug Evans3-2/+7
* target.c (target_translate_tls_address): Fix comment spelling error.
2008-01-11*** empty log message ***gdbadmin1-1/+1
2008-01-10*** empty log message ***gdbadmin1-1/+1
2008-01-09 * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.Thiago Jung Bauermann8-10/+22
(DOUBLEST_SCAN_FORMAT): Likewise. * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT. * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT. * c-exp.y (parse_number): Likewise. * jv-exp.y (parse_number): Likewise. * objc-exp.y (parse_number): Likewise. * p-exp.y (parse_number): Likewise.
2008-01-09 * gdb.ada/null_array: New test program.Joel Brobecker5-0/+131
* gdb.ada/null_array.exp: New testcase.
2008-01-09 * gdbtypes.c (create_array_type): Add handling of null Ada arrays.Joel Brobecker2-7/+26
(check_typedef): Likewise.
2008-01-09 * printcmd.c (printf_command): Add seen_big_h, seen_big_d andLuis Machado6-95/+158
seen_double_big_d, treat the new H, D, and DD modifiers as length modifiers. * doc/gdb.texinfo (Output): Update documentation on using printf with DFP types. * testsuite/gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls with required float modifiers.
2008-01-09 * dwarf2read.c (read_enumeration_type): Add comment.Joel Brobecker2-0/+9
2008-01-09*** empty log message ***gdbadmin1-1/+1
2008-01-08 * gdb.ada/funcall_param: New test program.Joel Brobecker5-0/+129
* gdb.ada/funcall_param.exp: New testcase.
2008-01-08 * config.in: Regenerate.Thiago Jung Bauermann2-0/+7
2008-01-08 * gdb.ada/arrayparam: New test program.Joel Brobecker5-0/+145
* gdb.ada/arrayparam.exp: New testcase.
2008-01-08 * ada-lang.c (ada_convert_actual): Renames convert_actual.Joel Brobecker5-34/+30
Make non-static. (ada_convert_actuals): Delete. * ada-lang.h (ada_convert_actual): Add declaration. (ada_convert_actuals): Remove declaration. * infcall.c: #include "ada-lang.h". (value_arg_coerce): Add new parameter sp. Update function documetnation. Add handling of Ada function call parameters. * Makefile.in (infcall.o): Update dependencies.
2008-01-08 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmdJoel Brobecker2-0/+9
landed. Should also fix random failures in the test following it.
2008-01-08 * ada-lang.c (ensure_lval): Fix value lval kind.Joel Brobecker2-3/+14
(convert_actual): Add handling for arguments passed by reference.
2008-01-08 * dbxread.c (read_dbx_symtab): Fix indentation.Doug Evans2-2/+6
2008-01-08*** empty log message ***gdbadmin1-1/+1
2008-01-07 * gdb.texinfo (C and C++): Add Decimal Floating Point formatThiago Jung Bauermann2-0/+29
subsubsection. (Decimal Floating Point format): New subsubsection.
2008-01-07 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add testsThiago Jung Bauermann4-38/+230
for expressions with decimal float values. (test_dfp_conversions): New function to test casts to and from decimal float types. Call test_dfp_conversions. * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8 elements. (main): Initialize ds.float4 and ds.double8 elements. * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect string to new error message. (d64_set_tests): Likewise. (d128_set_tests): Likewise. Add tests for expressions with decimal float variables. Add tests for conversions to and from decimal float types.
2008-01-07 * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.Thiago Jung Bauermann9-33/+510
(valarith.o): Depend on dfp.h. (valops.o): Likewise. * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h. (set_decnumber_context): New function. (decimal_check_errors): Likewise. (decimal_from_number): Likewise. (decimal_to_number): Likewise. (decimal_from_string): Use set_decnumber_context and decimal_check_errors. (decimal_from_integral): New function. (decimal_from_floating): Likewise. (decimal_to_double): Likewise. (promote_decimal): Likewise. (decimal_binop): Likewise. (decimal_is_zero): Likewise. (decimal_compare): Likewise. (decimal_convert): Likewise. * dfp.h (decimal_from_integral): New prototype. (decimal_from_floating): Likewise. (decimal_to_double): Likewise. (decimal_binop): Likewise. (decimal_is_zero): Likewise. (decimal_compare): Likewise. (decimal_convert): Likewise. * eval.c (evaluate_subexp_standard): Remove expect_type argument from call to value_from_decfloat. * valarith.c: Include dfp.h. (value_args_as_decimal): New function. (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values. (value_logical_not): Likewise. (value_equal): Likewise. (value_less): Likewise. (value_pos): Likewise. (value_neg): Formatting fix. * valops.c: Include dfp.h. (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values. * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT. (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT. (value_from_decfloat): Remove expect_type argument. * value.h (value_from_decfloat): Update prototype.
2008-01-07 Ignore change in name of dynamic linker duringVladimir Prus4-2/+44
execution, on Solaris. This also unbreaks pending breakpoints. * solist.h (struct target_so_ops): New field same. * solib-svr4.c (svr4_same): New. (_initialize_svr4_solib): Register svr4_same. * solib.c (update_solib_list): Use ops->same, if available.