2003-09-25 David Carlton <carlton@kealia.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 734c8ae35f0031f5e172a6b367ac9cf3c3993092..f7a0c9e5457a7d4889f50a83bcca7078f17b6662 100644 (file)
@@ -1,3 +1,279 @@
+2003-09-25  David Carlton  <carlton@kealia.com>
+
+       * c-exp.y: Include cp-support.h.  Add qualified_type.
+       (yylex): Delete nested type hack; add comments.
+       * cp-namespace.c (cp_lookup_nested_type): New function.
+       * cp-support.h: Declare cp_lookup_nested_type.
+       * eval.c (evaluate_subexp_standard): Call value_aggregate_elt
+       instead of value_struct_elt_for_reference.
+       * valops.c: Include cp-support.h.
+       (value_aggregate_elt): New function.
+       (value_namespace_elt): Ditto.
+       (value_struct_elt_for_reference): Make static.
+       * value.h: Delete declaration of value_struct_elt_for_reference;
+       add declaration for value_aggregate_elt.
+       * Makefile.in (c-exp.tab.o): Depend on $(cp_support_h).
+       (valops.o): Ditto.
+
+2003-09-25  Daniel Jacobowitz  <drow@mvista.com>
+
+       * stack.c: Include "reggroups.h".
+       (frame_info): Only display registers in all_reggroup.
+       * Makefile.in (stack.o): Update dependencies.
+
+2003-09-25  Jerome Guitton  <guitton@act-europe.fr>
+
+       * arm-tdep.c (arm_skip_prologue): Handle "sub ip, sp #n" and
+       "add ip, sp #n" in the prologue.
+       (arm_scan_prologue): Ditto.
+
+2003-09-25  Jerome Guitton  <guitton@act-europe.fr>
+
+       * MAINTAINERS (write after approval): Add myself.
+
+2003-09-25  Andreas Schwab  <schwab@suse.de>
+
+       * m68k-tdep.c: Include "dwarf2-frame.h".
+       (m68k_gdbarch_init): Add the DWARF CFI frame unwinder.
+       * Makefile.in (m68k-tdep.o): Update dependencies.
+
+2003-09-25  Corinna Vinschen  <vinschen@redhat.com>
+
+       * sh-tdep.c (struct frame_extra_info): Remove.
+       (struct sh_frame_cache): New structure.
+       (GET_SOURCE_REG): New macro extracting source register of an opcode.
+       (GET_TARGET_REG): Ditto but target register.
+       (GET_PUSHED_REG): Remove.
+       (IS_MOV_ARG_TO_REG): New macro.
+       (IS_MOV_ARG_TO_IND_R14): New macro.
+       (IS_MOV_ARG_TO_IND_R14_WITH_DISP): New macro.
+       (IS_MOVW_PCREL_TO_REG): New macro.
+       (IS_MOVL_PCREL_TO_REG): New macro.
+       (IS_SUB_REG_FROM_SP): New macro.
+       (IS_ARG_MOV): Remove.
+       (IS_MOV_TO_R14): Remove.
+       (IS_RESTORE_FP): New macro.
+       (IS_RTS): New macro.
+       (IS_LDS): New macro.
+       (IS_MOV_FP_SP): New macro.
+       (IS_ADD_REG_TO_FP): New macro.
+       (IS_ADD_IMM_FP): New macro.
+       (sh_skip_prologue_hard_way): Remove.
+       (sh_saved_pc_after_call): Remove.
+       (sh_frame_chain): Remove.
+       (sh_find_callers_reg): Remove.
+       (sh_nofp_frame_init_saved_regs): Remove. 
+       (sh_fp_frame_init_saved_regs): Remove.
+       (sh_init_extra_frame_info): Remove.
+       (sh_analyze_prologue): New function.
+       (sh_skip_prologue): Remove deprecated code.  Rely on new function
+       sh_analyze_prologue when after_prologue fails.
+       (sh_frame_saved_pc): Remove.
+       (sh_alloc_frame_cache): New function.
+       (sh_frame_cache): Ditto.
+       (sh_frame_prev_register): Ditto.
+       (sh_frame_this_id): Ditto.
+       (sh_frame_unwind): New structure defining the heuristic frame
+       sniffer interface.
+       (sh_frame_sniffer): New function.
+       (sh_unwind_sp): Ditto.
+       (sh_unwind_pc): Ditto.
+       (sh_unwind_dummy_id): Ditto.
+       (sh_frame_base_address): Ditto.
+       (sh_frame_base): New structure defining new frame base code.
+       (sh_in_function_epilogue_p): New function.
+       (sh_gdbarch_init): Restructure and simplify to eliminate deprecated
+       code and to call all new code instead.  Initialize dwarf2 and
+       heuristic frame sniffer.
+
+2003-09-24  Paul N. Hilfinger  <hilfingr@nile.gnat.com>
+
+       * parser-defs.h (struct exp_descriptor): New definition, containing 
+       language-specific info for printing, prefixifying, dumping, and 
+       evaluating expressions.
+       (exp_descriptor_standard): Declare new variable.
+       (print_subexp): Make global and declare here (from expprint.c).
+       (dump_subexp): Ditto.
+       (dump_subexp_body_standard): Declare.
+       (operator_length_standard): Declare.
+       (op_name_standard): Declare.
+       (print_subexp): Declare.
+       (print_subexp_standard): Declare.
+
+       * language.h (struct language_defn): Add la_exp_desc field to hold
+       pointer to table for language-specific operators.
+       Remove evaluate_exp field, which is now in struct exp_descriptor.
+       
+       * parse.c (operator_length): Move most code to new 
+       operator_length_standard function.  Use language-specific information.
+       (operator_length_standard): New function taking most code from 
+       operator_length.
+       (exp_descriptor_standard): New constant.
+       
+       * expression.h (enum exp_opcode): Add definitions of OP_EXTENDED0 
+       and OP_EXTENDED_LAST.
+       
+       * expprint.c (print_subexp): Use language-specific print_subexp.  
+       Make global; remove static declaration.
+       Move most code to print_subexp_standard.
+       (print_subexp_standard): New function, containing code formerly in 
+       print_subexp.
+       (op_name): Add expression to argument signature.
+       Use langauge-specific op_name. 
+       Move most code to op_name_standard.
+       (op_name_standard): New function, containing code formerly in op_name.
+       (dump_subexp):  Use new version of op_name function.
+       Use language-specific dump_subexp_body, and move most existing code to
+       dump_subexp_body_standard.
+       (dump_raw_expression): Use new op_name interface.
+       (dump_subexp_body): Move most code to dump_subexp_body_standard.
+       (dump_subexp_body_standard): New function, containing code formerly
+       in dump_subexp_body.
+       
+       * language.c (unknown_language): Add default la_exp_desc field and
+       remove evaluate_exp field.
+       (auto_language): Ditto.
+       (local_language): Ditto.
+       * f-lang.c (f_language_defn): Ditto.
+       * c-lang.c (c_language_defn): Ditto.
+       (cplus_language_defn): Ditto.
+       (asm_language_defn): Ditto.
+       (minimal_language_defn): Ditto.
+       * p-lang.c (pascal_language_defn): Ditto.
+       * m2-lang.c (m2_language_defn): Ditto.
+       * objc-lang.c (objc_language_defn): Ditto.
+       
+       * jv-lang.c (exp_descriptor_java): New variable, containing 
+       Java-specific expression evaluator.
+       (java_language_defn): Add la_exp_desc field and remove evaluate_exp
+       field.
+       * scm-lang.c (exp_descriptor_scm): New variable, containing 
+       Scheme-specific expression evaluator.
+       (scm_language_defn): Add la_exp_desc field and remove evaluate_exp
+       field.
+       * objc-lang.c (print_object_command): Take evaluate_exp from the
+       la_exp_desc field.
+       
+       * Makefile.in (eval.o): Add dependency on parser-defs.h.
+       
+       * eval.c: Include parser-defs.h for the full declaration of 
+       la_exp_desc's type.
+       (evaluate_subexp): Get evaluate_exp out of la_exp_desc field.
+       
+2003-09-23  Paul N. Hilfinger  <hilfingr@nile.gnat.com>
+
+       * parser-defs.h (operator_length): Declare.
+       
+       * parse.c (length_of_subexp): Use operator_length to get operator
+       lengths and arities for operators.
+       Move most code to new operator_length function.
+       (operator_length): New function absorbing most code from 
+       length_of_subexp.
+       (prefixify_subexp): Remove large case and use operator_length instead.
+       (parse_exp_1): Use renamings:
+       dump_prefix_expression => dump_raw_expression and 
+       dump_postfix_expression => dump_prefix_expression.
+       
+       * expression.h (dump_prefix_expression): Rename to ...
+       (dump_raw_expression): New name.
+       (dump_postfix_expression): Rename to ...
+       (dump_prefix_expression): New name.
+       
+       * expprint.c (dump_subexp): Make global.  Add comment.
+       Move most existing code to dump_subexp_body.
+       (dump_subexp_body): New function.
+       (dump_prefix_expression): Rename to dump_raw_expression.
+       Remove attempt to print the expression via print_expression: it can't 
+       work before the expression is prefixified.
+       (dump_raw_expression): Renamed from dump_prefix_expression.
+       (dump_postfix_expression): Rename to dump_prefix_expression, since 
+       that's what it does.
+       Remove 'note' parameter, since this routine must be used on 
+       prefixified expression.
+       (dump_prefix_expression): Renamed from dump_postfix_expression.
+       
+2003-09-22  Jim Blandy  <jimb@redhat.com>
+
+       * dwarf2read.c (read_array_type): When building the type for an
+       array of unspecified length, make sure to choose the upper bound
+       so that the array's total length comes out to be zero --- that's
+       how we represent such arrays.
+
+2003-09-22  Michael Chastain  <mec@shout.net>
+
+       * MAINTAINERS: Rename gdb.c++ to gdb.cp.
+
+2003-09-22  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * top.c (quit_force): Fix indirect call to quit_target so
+       a struct qt_args pointer is passed.
+
+2003-09-22  Andrew Cagney  <cagney@redhat.com>
+
+       * arch-utils.h (init_frame_pc_noop): Delete declaration.
+       * arch-utils.c (init_frame_pc_noop): Delete function.
+       * mn10300-tdep.c (mn10300_gdbarch_init): Do not set
+       "init_frame_pc".
+       * mips-tdep.c (mips_gdbarch_init): Ditto.
+       * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
+       * config/sparc/tm-sparc.h (init_frame_pc_noop): Delete
+       declaration.
+       (DEPRECATED_INIT_FRAME_PC): Delete macro.
+       * config/rs6000/tm-rs6000.h (init_frame_pc_noop): Delete
+       declaration.
+       (DEPRECATED_INIT_FRAME_PC): Delete macro.
+
+2003-09-22  Anthony Green  <green@redhat.com>
+
+       * monitor.c (monitor_expect): Delete unused conflicting targ_ops
+       declaration.
+
+2003-09-20  Andrew Cagney  <cagney@redhat.com>
+
+       * breakpoint.c: Eliminate ARGSUSED.
+       * buildsym.c, cli/cli-cmds.c, cli/cli-script.c: Ditto.
+       * coffread.c, corelow.c, dwarf2read.c, event-top.c: Ditto.
+       * exec.c, gcore.c, hpux-thread.c, infcmd.c, inflow.c: Ditto.
+       * infrun.c, inftarg.c, maint.c, ocd.c, printcmd.c: Ditto.
+       * procfs.c, regcache.c, remote-rdi.c, remote-sds.c: Ditto.
+       * remote.c, sol-thread.c, source.c, stabsread.c: Ditto.
+       * stack.c, symfile.c, target.c, top.c, typeprint.c: Ditto.
+       * utils.c, v850ice.c, valprint.c, values.c, win32-nat.c: Ditto.
+       * wince.c, remote-vx.c: Ditto.
+
+       * cli/cli-script.c: Remove "register" attributes.
+       * config/pa/tm-hppa.h: Ditto.
+       * cli/cli-decode.c: Ditto.
+       * cli/cli-cmds.c: Ditto.
+
+2003-09-19  Andrew Cagney  <cagney@redhat.com>
+
+       * sparcnbsd-nat.c (getregs_supplies): Rename NPC_REGNUM to
+       DEPRECATED_NPC_REGNUM.
+       * sparc64nbsd-nat.c (getregs_supplies): Ditto.
+
+2003-09-19  Christopher Faylor  <cgf@redhat.com>
+
+       * win32-nat.c (mappings): Remove HAVE_SSE conditional.
+
+2003-09-19  Jim Blandy  <jimb@redhat.com>
+
+       * macrotab.c (macro_include): Use the correct comparison to find
+       the appropriate place for this inclusion in the list.
+
+2003-09-19  Andrew Cagney  <cagney@redhat.com>
+
+       * config/pa/nm-hppah.h (NEED_TEXT_START_END): Delete.
+       (DEPRECATED_HPUX_TEXT_END): Define.
+       (deprecated_hpux_text_end): Declare.
+       (struct target_ops): Declare opaque.
+       * hppah-nat.c (text_end): Make static.
+       (deprecated_hpux_text_end): New function.
+       * exec.c (text_end): Delete global variable.
+       (NEED_TEXT_START_END): Do not define.
+       (exec_file_attach): Replace code computing "text_end" code with
+       call to DEPRECATED_HPUX_TEXT_END.
+
 2003-09-19  Andrew Cagney  <cagney@redhat.com>
 
        * utils.c (align_up, align_down): New functions.
This page took 0.03986 seconds and 4 git commands to generate.