aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2008-01-13 * configure.ac: Check for void * as 3 argument of ptrace.Nick Hudson1-0/+5
* configure: regenerate.
2008-01-11 * alpha-tdep.c (alpha_heuristic_proc_start)Markus Deuling1-0/+75
(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 Deuling1-0/+32
(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 Deuling1-0/+41
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 Evans1-0/+5
* target.c (target_translate_tls_address): Fix comment spelling error.
2008-01-09 * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.Thiago Jung Bauermann1-0/+11
(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 * gdbtypes.c (create_array_type): Add handling of null Ada arrays.Joel Brobecker1-0/+5
(check_typedef): Likewise.
2008-01-09 * printcmd.c (printf_command): Add seen_big_h, seen_big_d andLuis Machado1-0/+6
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 Brobecker1-0/+4
2008-01-08 * config.in: Regenerate.Thiago Jung Bauermann1-0/+4
2008-01-08 * ada-lang.c (ada_convert_actual): Renames convert_actual.Joel Brobecker1-0/+12
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 * ada-lang.c (ensure_lval): Fix value lval kind.Joel Brobecker1-0/+5
(convert_actual): Add handling for arguments passed by reference.
2008-01-08 * dbxread.c (read_dbx_symtab): Fix indentation.Doug Evans1-0/+4
2008-01-07 * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.Thiago Jung Bauermann1-0/+44
(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 Prus1-0/+10
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.
2008-01-06* win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings whenChristopher Faylor1-0/+5
using MS-DOS paths.
2008-01-05 gdb/Pedro Alves1-0/+4
* NEWS: Mention --pid and --core command line behaviour changes. gdb/doc/ * gdb.texinfo (File Options): Remove mention of the attempt to open a core file with the -p option. Don't list -c as a valid option to attach to a process.
2008-01-05 gdb/Pedro Alves1-0/+9
* main.c (captured_main): Remove 'count' varible and the ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and --pid options were issued simultaneously. If an explicit pid option was passed, don't fallback to core file. Detect extra arguments better in the presence of explicit pid or core arguments. gdb/doc/ * gdbint.texinfo (Host Conditionals): Remove mention of ALIGN_STACK_ON_ENTRY.
2008-01-05 * ada-lang.c (ada_which_variant_applies): Correctly computeJoel Brobecker1-0/+5
the value of the discriminant when the variant record is packed.
2008-01-04 * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixesJoel Brobecker1-0/+5
that are used to differentiate homonyms.
2008-01-04 * ada-lang.c (decode_packed_array_type): Avoid a seg faultJoel Brobecker1-0/+8
when the type is an anonymous pointer type. (ada_check_typedef): Avoid a seg fault when the type is null. * ada-typeprint.c (print_array_type): Add support for pointer to packed arrays.
2008-01-04 * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.Joel Brobecker1-0/+4
2008-01-04 * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types inJoel Brobecker1-0/+5
EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
2008-01-04 * ada-exp.y (chop_separator): New function.Joel Brobecker1-0/+8
(write_selectors): Rewrite to re-use chop_separator. (ada_nget_field_index, get_symbol_field_type): New functions. (write_var_or_type): Add support for "ptype TYPENAME.FIELD" expressions.
2008-01-03 * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS insteadThiago Jung Bauermann1-0/+5
of SYMBOL_VALUE when working with function symbols.
2008-01-03 * ada-lang.c (resolve_subexp): Add handling of OP_REGISTERJoel Brobecker1-0/+5
expressions. These expressions do not need to be rewriten.
2008-01-03 * dwarf2read.c (read_enumeration_type): Flag type as stub ifJoel Brobecker1-0/+5
the given die is a declaration.
2008-01-03 * ada-lang.c (ada_array_bound_from_type): Make non-static.Joel Brobecker1-0/+8
Handle properly the case when the index type is an enumerated type. Do not return the subtype of the bounds type, just return the bounds type directly - this is not needed and is more consistent with what we do for arrays when no XA parallel type exists.
2008-01-03 * ada-lang.c (static_unwrap_type): Add forward declaration.Joel Brobecker1-0/+10
(template_to_static_fixed_type): Fields of dynamic types sometimes also need to be unwrapped. Take this into account. (ada_to_fixed_type_1): Renamed from ada_to_fixed_type. (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1. * ada-typeprint.c (ada_print_type): Get the typename from the original type, not the base type.
2008-01-03 * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)Joel Brobecker1-0/+13
(to_fixed_array_type, ada_to_fixed_value_create, unwrap_value): Update calls to ada_to_fixed_type. (ada_template_to_fixed_record_type_1): Ditto, but without looking for the tag. (ada_to_fixed_type): Add check_tag parameter; do not look for tag if null. When looking for a tag, use a fixed record type. * ada-lang.h (ada_to_fixed_type): Add check_tag parameter. * ada-valprint.c (printable_val_type, ada_value_print): Update calls to ada_to_fixed_type.
2008-01-03 * doublest.c (convert_floatformat_to_doublest): CallLuis Machado1-0/+8
floatformat_to_doublest instead of floatformat_to_double and use DOUBLEST variables. (convert_doublest_to_floatformat): Call floatformat_from_doublest instead of floatformat_from_double and use DOUBLEST variables.
2008-01-032008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>Nick Hudson1-0/+4
* MAINTAINERS (Write After Approval): Add self.
2008-01-03 * symfile.c (set_initial_language): Make non-static.Joel Brobecker1-0/+8
* symfile.h (set_initial_language): Add declaration. * language.c: #include "symfile.h". (set_language): Call set_initial_language if the frame language could not be determined.
2008-01-03 * eval.c (evaluate_subexp_for_address): Provide frame address toJoel Brobecker1-0/+5
locate_var_value only if it will be needed.
2008-01-02 * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.Jan Kratochvil1-0/+4
* gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c: New files
2008-01-02 * ada-lang.c (ada_evaluate_subexp): Modify the value returnedJoel Brobecker1-0/+8
when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory. This is needed to make sure that any other treatment applied to the resulting value does not fail for spurious reason, such as trying to take the address of this value.
2008-01-02 * ada-lang.c (ada_value_equal): Dereference reference types whenJoel Brobecker1-0/+5
comparing arrays.
2008-01-01 Updated copyright notices for most files.Daniel Jacobowitz1-0/+4
2008-01-01* win32-nat.c (psapi_module_handle): Remove static.Christopher Faylor1-0/+14
(get_module_name): Rename from psapi_get_dll_name. Revamp slightly to return first module found if base_address is zero. Don't initialize psapi function pointers here. Convert to cygwin paths when appropriate. (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine executable name. Use get_module_name when that fails or when !__CYGWIN__. (_initialize_psapi): New function. Initialize psapi stuff before it is needed or issue a warning if it is not found. Move psapi_module_handle here.
2008-01-01 * ada-lang.c (ada_remove_trailing_digits): New function.Joel Brobecker1-0/+8
(ada_remove_po_subprogram_suffix): New function. (ada_decode): Improve. Move the description of the algorithm directly inside the code, instead of in the function global description.
2008-01-01 * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_refJoel Brobecker1-0/+5
and always print the dereferenced value.
2008-01-01 * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handlingJoel Brobecker1-0/+6
of the case where the first argument is a reference. (ada_evaluate_subexp, case BINOP_ADD): Likewise.
2008-01-01 Implement support for Ada interface types.Joel Brobecker1-0/+8
* ada-lang.c (ada_is_dispatch_table_ptr_type): New function. (ada_is_ignored_field): Ignore fields that are a dispatch table of a tagged type.
2008-01-01 * top.c (print_gdb_version): Update copyright year.Joel Brobecker1-0/+4
2008-01-01 * ChangeLog-2007: New ChangeLog rotation.Joel Brobecker1-10617/+6
* ChangeLog: Reset for 2008. * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and ChangeLog-2007.
2007-12-31 * remote.c (unpack_nibble): Use fromhex.Daniel Jacobowitz1-0/+5
* symtab.c (find_line_common): Always set exact_match.
2007-12-31 * hppa-linux-nat.c: Use hppa-linux-offsets.h.Daniel Jacobowitz1-0/+5
* hppa-linux-offsets.h: New file.
2007-12-30 * configure.tgt (*-*-mingw32ce*): Set gdb_osabi toPedro Alves1-0/+6
GDB_OSABI_WINCE. (*-*-mingw* | *-*-cygwin*): Set gdb_osabi to GDB_OSABI_CYGWIN.
2007-12-29* i386nbsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h"Mark Kettenis1-0/+15
(sigtramp_retcode, i386nbsd_sigtramp_offset, i386nbsd_sigtramp_p): Remove (i386nbsd_mc_reg_offset): New array. (i386nbsd_sigtramp_cache_init): New function. (i386nbsd_sigtramp_sc16, i386nbsd_sigtramp_sc2, i386nbsd_sigtramp_si2) (i386nbsd_sigtramp_si31, i386nbsd_sigtramp_si4): New signal trampoline frame descriptions. (i386nbsd_init_abi): Override ABI sigcontext defaults and register new signal frame unwinders * Makefile.in (i386nbsd-tdep.o): Update dependencies. * tramp-frame.h (struct tramp_frame): Allow for 48 instructions
2007-12-29 * ada-lang.c (_initialize_ada_language): Attach executable_changedJoel Brobecker1-0/+5
observer.