gdb/
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index e432894d5d150924448b8b1404dafb80ccac2c63..36877b845b2afea3bd0b87fa8100c5934ac1eee6 100644 (file)
@@ -1,3 +1,93 @@
+2012-07-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup for the next patch.
+       * arm-linux-nat.c (arm_linux_stopped_data_address): Change variable
+       siginfo_p to siginfo, update its users incl. the linux_nat_get_siginfo
+       call for it.
+       * ia64-linux-nat.c (ia64_linux_stopped_data_address): Likewise.
+       (ia64_linux_stopped_data_address):
+       * linux-nat.c (linux_nat_get_siginfo): Add parameter siginfo, change
+       the return value.
+       * linux-nat.h (linux_nat_get_siginfo): Likewise.
+       * ppc-linux-nat.c (ppc_linux_stopped_data_address): Change variable
+       siginfo_p to siginfo, update its users incl. the linux_nat_get_siginfo
+       call for it.
+
+2012-07-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR 14321
+       * findcmd.c (parse_find_args): New variable pattern_buf_size_need.
+       Increase buffer sizes to 2x we need, not just 2x of the previous size.
+
+2012-07-06  Tom Tromey  <tromey@redhat.com>
+
+       * c-exp.y (DOTDOTDOT): New token.
+       (func_mod, exp): Use parameter_typelist.
+       (parameter_typelist): New production.
+       (tokentab3): Add "..." token.
+       * eval.c (make_params): Handle varargs.
+       * gdbtypes.c (lookup_function_type_with_arguments): Handle
+       varargs.
+
+2012-07-06  Tom Tromey  <tromey@redhat.com>
+
+       PR exp/9608:
+       * c-exp.y (%union) <tvec>: Change type.
+       (func_mod): Now uses <tvec> type.
+       (exp): Update for tvec change.
+       (direct_abs_decl): Push the typelist.
+       (func_mod): Return a typelist.
+       (nonempty_typelist): Update for tvec change.
+       * gdbtypes.c (lookup_function_type_with_arguments): New function.
+       * gdbtypes.h (lookup_function_type_with_arguments): Declare.
+       * parse.c (pop_type_list): New function.
+       (push_typelist): New function.
+       (follow_types): Handle tp_function_with_arguments.
+       * parser-defs.h (type_ptr): New typedef.  Define a VEC.
+       (enum type_pieces) <tp_function_with_arguments>: New constant.
+       (union type_stack_elt) <typelist_val>: New field.
+       (push_typelist): Declare.
+
+2012-07-06  Tom Tromey  <tromey@redhat.com>
+
+       * c-exp.y (%union) <type_stack>: New field.
+       (abs_decl, direct_abs_decl): Use <type_stack> type.  Update.
+       (ptr_operator_ts): New production.
+       (ptype): Update.
+       * parse.c (type_stack_reserve): New function.
+       (check_type_stack_depth): Use it.
+       (pop_type_stack, append_type_stack, push_type_stack)
+       (get_type_stack, type_stack_cleanup): New functions.
+       (follow_types): Handle tp_type_stack.
+       (_initialize_parse): Simplify initialization.
+       * parser-defs.h (enum type_pieces) <tp_type_stack>: New
+       constant.
+       (union type_stack_elt) <stack_val>: New field.
+       (get_type_stack, append_type_stack, push_type_stack)
+       (type_stack_cleanup): Declare.
+
+2012-07-06  Tom Tromey  <tromey@redhat.com>
+
+       * parser-defs.h (type_stack, type_stack_size, type_stack_depth):
+       Remove.
+       (struct type_stack): New.
+       * parse.c (type_stack, type_stack_size, type_stack_depth):
+       Remove.
+       (type_stack): New global.
+       (parse_exp_in_context, check_type_stack_depth)
+       (insert_into_type_stack, insert_type, push_type, push_type_int)
+       (insert_type_address_space, pop_type, pop_type_int)
+       (_initialize_parse): Update.
+
+2012-07-06  Tom Tromey  <tromey@redhat.com>
+
+       * c-exp.y (func_mod, direct_abs_decl, abs_decl, ptr_operator):
+       Remove %type.
+
+2012-07-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * c-lang.c (c_printstr): Remove ununsed variable WIDTH.
+
 2012-07-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
            Jan Kratochvil  <jan.kratochvil@redhat.com>
 
This page took 0.040839 seconds and 4 git commands to generate.