From: Hyeongsik Min Date: Thu, 26 Jan 2017 06:01:53 +0000 (+0900) Subject: Imported Upstream version 7.12.1 X-Git-Tag: upstream/7.12.1^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1ddb4beabc5c37104735810f6fc484fcaf03e164;p=platform%2Fupstream%2Fgdb.git Imported Upstream version 7.12.1 --- diff --git a/ChangeLog b/ChangeLog index 0453d9778..bfe7adf0a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2017-01-01 Joel Brobecker + + Update copyright year range in all GDB files. + 2016-07-20 Yan-Ting Lin * configure.ac (nds32*-*-*): Remove entry to enable gdb. diff --git a/bfd/doc/bfd.info b/bfd/doc/bfd.info index 5f23d93ba..0b7d7da31 100644 --- a/bfd/doc/bfd.info +++ b/bfd/doc/bfd.info @@ -1,4 +1,4 @@ -This is bfd.info, produced by makeinfo version 6.0 from bfd.texinfo. +This is bfd.info, produced by makeinfo version 6.1 from bfd.texinfo. This file documents the BFD library. @@ -10426,7 +10426,7 @@ various purposes different for each lopcode. As documented in 'lop_fixrx' 0x980500ZZ. 'Z' is 16 or 24. A value 'L' derived from the following 32-bit word are used in a manner similar to 'YZ' in - lop_fixr: it is xor:ed into the current location minus 4 * L. The + lop_fixr: it is xor:ed into the current location minus 4 * L. The first byte of the word is 0 or 1. If it is 1, then L = (LOWEST 24 BITS OF WORD) - 2^Z, if 0, then L = (LOWEST 24 BITS OF WORD). @@ -13714,9 +13714,9 @@ Node: coff371297 Node: elf400167 Node: mmo400568 Node: File layout401438 -Node: Symbol-table407352 -Node: mmo section mapping411115 -Node: GNU Free Documentation License414769 -Node: BFD Index439833 +Node: Symbol-table407351 +Node: mmo section mapping411114 +Node: GNU Free Documentation License414768 +Node: BFD Index439832  End Tag Table diff --git a/bfd/doc/bfdver.texi b/bfd/doc/bfdver.texi index 8c6bb8df7..2153f1ecc 100644 --- a/bfd/doc/bfdver.texi +++ b/bfd/doc/bfdver.texi @@ -1,4 +1,4 @@ @set VERSION 2.27.51 @set VERSION_PACKAGE (GNU Binutils) -@set UPDATED October 2016 +@set UPDATED January 2017 @set BUGURL @uref{http://www.sourceware.org/bugzilla/} diff --git a/bfd/version.h b/bfd/version.h index 18ae28222..3fc196559 100644 --- a/bfd/version.h +++ b/bfd/version.h @@ -1,4 +1,4 @@ -#define BFD_VERSION_DATE 20161007 +#define BFD_VERSION_DATE 20170121 #define BFD_VERSION @bfd_version@ #define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@ #define REPORT_BUGS_TO @report_bugs_to@ diff --git a/djunpack.bat b/djunpack.bat index f842bd760..afd9b18d7 100644 --- a/djunpack.bat +++ b/djunpack.bat @@ -17,8 +17,8 @@ Rem Rem The following 2 lines need to be changed with each new GDB release, to Rem be identical to the name of the top-level directory where the GDB Rem distribution unpacks itself. -set GDBVER=$package-7.12 -if "%GDBVER%"=="$package-7.12" GoTo EnvOk +set GDBVER=$package-7.12.1 +if "%GDBVER%"=="$package-7.12.1" GoTo EnvOk Rem If their environment space is too small, re-exec with a larger one command.com /e:4096 /c %0 %1 GoTo End diff --git a/gdb/.dir-locals.el b/gdb/.dir-locals.el index fbd9309ae..7e7d75d58 100644 --- a/gdb/.dir-locals.el +++ b/gdb/.dir-locals.el @@ -1,5 +1,5 @@ ;; Emacs settings. -;; Copyright (C) 2012-2016 Free Software Foundation, Inc. +;; Copyright (C) 2012-2017 Free Software Foundation, Inc. ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1fc5823ad..71c1f91d1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,140 @@ +2017-01-21 Joel Brobecker + + * version.in: Set GDB version number to 7.12.1. + * PROBLEMS: Likewise. + +2017-01-20 Simon Marchi + + PR python/21068 + * python/python-internal.h (PyMem_RawMalloc): Define for + Python < 3.4. + * python/py-gdb-readline.c (gdbpy_readline_wrapper): Use + PyMem_RawMalloc instead of PyMem_Malloc. + +2017-01-20 Yao Qi + + PR gdb/20939 + * disasm.c (dis_asm_memory_error): Catch the error and rethrow + it as a SJ/LJ exception. Add GDB_NOEXCEPT. + (disasm_print_insn_noexcept): New function. + (disasm_print_insn): New function. + (gdb_pretty_print_insn): Call disasm_print_insn instead of + gdbarch_print_insn. + (gdb_print_insn): Likewise. + (gdb_buffered_insn_length): Likewise. + * event-top.c (GDB_NOEXCEPT): Move it to ... + * exceptions.h (GDB_NOEXCEPT): ... here. + * guile/scm-disasm.c (gdbscm_disasm_memory_error): Remove. + (gdbscm_print_insn_from_port): Don't set di.memory_errro_func. + Call disasm_print_insn rather than gdbarch_print_insn. + +2017-01-12 Tom Tromey + + * python/py-framefilter.c (py_print_frame): Use + get_addr_from_python. Check for errors when getting line number. + +2016-12-20 Pedro Alves + + PR gdb/20977 + * event-top.c (GDB_NOEXCEPT): Define. + (gdb_rl_callback_read_char_wrapper_noexcept): Use GDB_NOEXCEPT + instead of noexcept and use (void) instead of (). + (gdb_rl_callback_handler): Use GDB_NOEXCEPT instead of noexcept. + +2016-12-20 Pedro Alves + Yao Qi + + PR gdb/20977 + * event-top.c (gdb_rl_callback_read_char_wrapper_noexcept): New + noexcept function, factored out from ... + (gdb_rl_callback_read_char_wrapper): ... this. + (gdb_rl_callback_handler): Mark noexcept. + +2016-12-12 Yao Qi + + PR tdep/20955 + * cris-tdep.c (cris_delayed_get_disassembler): Remove the + assert. + +2016-12-09 Yao Qi + + PR tdep/20954 + * rx-tdep.c (rx_psw_type): New function. + (rx_fpsw_type): New function. + (rx_register_type): Call rx_psw_type and rx_fpsw_type. + (rx_gdbarch_init): Move code to rx_psw_type and + rx_fpsw_type. + +2016-12-09 Yao Qi + + PR tdep/20953 + * rl78-tdep.c (rl78_psw_type): New function. + (rl78_register_type): Call rl78_psw_type. + (rl78_gdbarch_init): Move code to rl78_psw_type. + +2016-10-25 Rainer Orth + + PR build/20712 + * defs.h: Remove obsolete comment + (atof): Wrap in !__cplusplus. + * procfs.c (do_destroy_procinfo_cleanup): Add cast. + (sysset_t_alloc): Likewise. + (proc_set_traced_sysentry): Likewise. + (proc_set_traced_sysexit): Likewise. + [!PIOCLSTATUS && NEW_PROC_API] (do_closedir_cleanup): Likewise. + (proc_get_LDT_entry): Initiate cleanups before returns. + (procfs_wait): Use GDB_SIGNAL_0. + (procfs_corefile_thread_callback): Add cast. + * sol-thread.c (td_log_ftype, td_ta_new_ftype, td_ta_delete_ftype) + (td_init_ftype, td_ta_get_ph_ftype, td_ta_get_nthreads_ftype) + (td_ta_tsd_iter_ftype, td_ta_thr_iter_ftype) + (td_thr_validate_ftype, td_thr_tsd_ftype, td_thr_get_info_ftype) + (td_thr_getfpregs_ftype, td_thr_getxregsize_ftype) + (td_thr_getxregs_ftype, td_thr_sigsetmask_ftype) + (td_thr_setprio_ftype, td_thr_setsigpending_ftype) + (td_thr_setfpregs_ftype, td_thr_setxregs_ftype) + (td_ta_map_id2thr_ftype, td_ta_map_lwp2thr_ftype) + (td_thr_getgregs_ftype, td_thr_setgregs_ftype): New typedefs. + (p_td_log, p_td_ta_new, p_td_ta_delete, p_td_init, p_td_ta_get_ph) + (p_td_ta_get_nthreads, p_td_ta_tsd_iter, p_td_ta_thr_iter) + (p_td_thr_validate, p_td_thr_tsd, p_td_thr_get_info) + (p_td_thr_getfpregs, p_td_thr_getxregsize, p_td_thr_getxregs) + (p_td_thr_sigsetmask, p_td_thr_setprio, p_td_thr_setsigpending) + (p_td_thr_setfpregs, p_td_thr_setxregs, p_td_ta_map_id2thr) + (p_td_ta_map_lwp2thr, p_td_thr_getgregs, p_td_thr_setgregs): Use them. + (ps_pdread): Add cast. + (ps_ptread): Likewise. + (resolve): Likewise. + * top.c (gdb_safe_append_history): Print pid_t as long. + +2016-10-24 Tom Tromey + + PR breakpoints/20653: + * location.c (string_to_explicit_location): Use NULL, not '\0'. + +2016-10-14 Eli Zaretskii + + * common/common-defs.h [HAVE_STRINGS_H]: Include strings.h if + available, to get prototypes of 'strcasecmp' and 'strncasecmp'. + +2016-10-12 Yao Qi + + PR tdep/20682 + * aarch64-tdep.c: Replace 32 with AARCH64_D_REGISTER_COUNT. + (aarch64_analyze_prologue): Extend array 'regs' for D registers. + Assert that operand 0 and 1 can be X or D registers. Update + register number for D registers. Update registers in frame + cache. + * aarch64-tdep.h (AARCH64_D_REGISTER_COUNT): New macro. + +2016-10-07 Joel Brobecker + + * version.in: Set GDB version number to 7.12.0.DATE-git. + +2016-10-07 Joel Brobecker + + GDB 7.12 released. + 2016-10-07 Joel Brobecker * version.in: Set GDB version number to 7.12. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 7b2df8687..bb7da14dd 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1,4 +1,4 @@ -# Copyright (C) 1989-2016 Free Software Foundation, Inc. +# Copyright (C) 1989-2017 Free Software Foundation, Inc. # This file is part of GDB. diff --git a/gdb/PROBLEMS b/gdb/PROBLEMS index 974f4f010..d527c80b8 100644 --- a/gdb/PROBLEMS +++ b/gdb/PROBLEMS @@ -1,5 +1,5 @@ - Known problems in GDB 7.2.50 + Known problems in GDB 7.12.1 See also: http://www.gnu.org/software/gdb/bugs/ diff --git a/gdb/aarch32-linux-nat.c b/gdb/aarch32-linux-nat.c index 2df672df6..94e348fef 100644 --- a/gdb/aarch32-linux-nat.c +++ b/gdb/aarch32-linux-nat.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1999-2016 Free Software Foundation, Inc. +/* Copyright (C) 1999-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/aarch32-linux-nat.h b/gdb/aarch32-linux-nat.h index c80942b48..369fe30fd 100644 --- a/gdb/aarch32-linux-nat.h +++ b/gdb/aarch32-linux-nat.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1999-2016 Free Software Foundation, Inc. +/* Copyright (C) 1999-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/aarch64-linux-nat.c b/gdb/aarch64-linux-nat.c index 65ca8ff2a..0d472e2e5 100644 --- a/gdb/aarch64-linux-nat.c +++ b/gdb/aarch64-linux-nat.c @@ -1,6 +1,6 @@ /* Native-dependent code for GNU/Linux AArch64. - Copyright (C) 2011-2016 Free Software Foundation, Inc. + Copyright (C) 2011-2017 Free Software Foundation, Inc. Contributed by ARM Ltd. This file is part of GDB. diff --git a/gdb/aarch64-linux-tdep.c b/gdb/aarch64-linux-tdep.c index cd220a6bd..b94ccb2c6 100644 --- a/gdb/aarch64-linux-tdep.c +++ b/gdb/aarch64-linux-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for GNU/Linux AArch64. - Copyright (C) 2009-2016 Free Software Foundation, Inc. + Copyright (C) 2009-2017 Free Software Foundation, Inc. Contributed by ARM Ltd. This file is part of GDB. diff --git a/gdb/aarch64-linux-tdep.h b/gdb/aarch64-linux-tdep.h index e6f9af836..d0f9b1238 100644 --- a/gdb/aarch64-linux-tdep.h +++ b/gdb/aarch64-linux-tdep.h @@ -1,6 +1,6 @@ /* GNU/Linux on AArch64 target support, prototypes. - Copyright (C) 2012-2016 Free Software Foundation, Inc. + Copyright (C) 2012-2017 Free Software Foundation, Inc. Contributed by ARM Ltd. This file is part of GDB. diff --git a/gdb/aarch64-newlib-tdep.c b/gdb/aarch64-newlib-tdep.c index 099ab8835..52bf993dc 100644 --- a/gdb/aarch64-newlib-tdep.c +++ b/gdb/aarch64-newlib-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for Newlib AArch64. - Copyright (C) 2011-2016 Free Software Foundation, Inc. + Copyright (C) 2011-2017 Free Software Foundation, Inc. Contributed by ARM Ltd. This file is part of GDB. diff --git a/gdb/aarch64-tdep.c b/gdb/aarch64-tdep.c index 3b7e95442..e7128329c 100644 --- a/gdb/aarch64-tdep.c +++ b/gdb/aarch64-tdep.c @@ -1,6 +1,6 @@ /* Common target dependent code for GDB on AArch64 systems. - Copyright (C) 2009-2016 Free Software Foundation, Inc. + Copyright (C) 2009-2017 Free Software Foundation, Inc. Contributed by ARM Ltd. This file is part of GDB. @@ -67,7 +67,7 @@ /* Pseudo register base numbers. */ #define AARCH64_Q0_REGNUM 0 -#define AARCH64_D0_REGNUM (AARCH64_Q0_REGNUM + 32) +#define AARCH64_D0_REGNUM (AARCH64_Q0_REGNUM + AARCH64_D_REGISTER_COUNT) #define AARCH64_S0_REGNUM (AARCH64_D0_REGNUM + 32) #define AARCH64_H0_REGNUM (AARCH64_S0_REGNUM + 32) #define AARCH64_B0_REGNUM (AARCH64_H0_REGNUM + 32) @@ -205,11 +205,12 @@ aarch64_analyze_prologue (struct gdbarch *gdbarch, { enum bfd_endian byte_order_for_code = gdbarch_byte_order_for_code (gdbarch); int i; - pv_t regs[AARCH64_X_REGISTER_COUNT]; + /* Track X registers and D registers in prologue. */ + pv_t regs[AARCH64_X_REGISTER_COUNT + AARCH64_D_REGISTER_COUNT]; struct pv_area *stack; struct cleanup *back_to; - for (i = 0; i < AARCH64_X_REGISTER_COUNT; i++) + for (i = 0; i < AARCH64_X_REGISTER_COUNT + AARCH64_D_REGISTER_COUNT; i++) regs[i] = pv_register (i, 0); stack = make_pv_area (AARCH64_SP_REGNUM, gdbarch_addr_bit (gdbarch)); back_to = make_cleanup_free_pv_area (stack); @@ -327,13 +328,15 @@ aarch64_analyze_prologue (struct gdbarch *gdbarch, && strcmp ("stp", inst.opcode->name) == 0) { /* STP with addressing mode Pre-indexed and Base register. */ - unsigned rt1 = inst.operands[0].reg.regno; - unsigned rt2 = inst.operands[1].reg.regno; + unsigned rt1; + unsigned rt2; unsigned rn = inst.operands[2].addr.base_regno; int32_t imm = inst.operands[2].addr.offset.imm; - gdb_assert (inst.operands[0].type == AARCH64_OPND_Rt); - gdb_assert (inst.operands[1].type == AARCH64_OPND_Rt2); + gdb_assert (inst.operands[0].type == AARCH64_OPND_Rt + || inst.operands[0].type == AARCH64_OPND_Ft); + gdb_assert (inst.operands[1].type == AARCH64_OPND_Rt2 + || inst.operands[1].type == AARCH64_OPND_Ft2); gdb_assert (inst.operands[2].type == AARCH64_OPND_ADDR_SIMM7); gdb_assert (!inst.operands[2].addr.offset.is_reg); @@ -348,6 +351,17 @@ aarch64_analyze_prologue (struct gdbarch *gdbarch, pv_add_constant (regs[rn], imm + 8))) break; + rt1 = inst.operands[0].reg.regno; + rt2 = inst.operands[1].reg.regno; + if (inst.operands[0].type == AARCH64_OPND_Ft) + { + /* Only bottom 64-bit of each V register (D register) need + to be preserved. */ + gdb_assert (inst.operands[0].qualifier == AARCH64_OPND_QLF_S_D); + rt1 += AARCH64_X_REGISTER_COUNT; + rt2 += AARCH64_X_REGISTER_COUNT; + } + pv_area_store (stack, pv_add_constant (regs[rn], imm), 8, regs[rt1]); pv_area_store (stack, pv_add_constant (regs[rn], imm + 8), 8, @@ -407,6 +421,16 @@ aarch64_analyze_prologue (struct gdbarch *gdbarch, cache->saved_regs[i].addr = offset; } + for (i = 0; i < AARCH64_D_REGISTER_COUNT; i++) + { + int regnum = gdbarch_num_regs (gdbarch); + CORE_ADDR offset; + + if (pv_area_find_reg (stack, gdbarch, i + AARCH64_X_REGISTER_COUNT, + &offset)) + cache->saved_regs[i + regnum + AARCH64_D0_REGNUM].addr = offset; + } + do_cleanups (back_to); return start; } diff --git a/gdb/aarch64-tdep.h b/gdb/aarch64-tdep.h index a95b61337..85c6a97a9 100644 --- a/gdb/aarch64-tdep.h +++ b/gdb/aarch64-tdep.h @@ -1,6 +1,6 @@ /* Common target dependent code for GDB on AArch64 systems. - Copyright (C) 2009-2016 Free Software Foundation, Inc. + Copyright (C) 2009-2017 Free Software Foundation, Inc. Contributed by ARM Ltd. This file is part of GDB. @@ -68,6 +68,8 @@ enum aarch64_regnum /* Total number of general (X) registers. */ #define AARCH64_X_REGISTER_COUNT 32 +/* Total number of D registers. */ +#define AARCH64_D_REGISTER_COUNT 32 /* The maximum number of modified instructions generated for one single-stepped instruction. */ diff --git a/gdb/acinclude.m4 b/gdb/acinclude.m4 index 4f8358538..c30792731 100644 --- a/gdb/acinclude.m4 +++ b/gdb/acinclude.m4 @@ -76,7 +76,7 @@ m4_include(ptrace.m4) ## From Franc,ois Pinard ## ## ----------------------------------------- ## -# Copyright (C) 1996-2016 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/gdb/acx_configure_dir.m4 b/gdb/acx_configure_dir.m4 index 875a7e7c0..e6594cac3 100644 --- a/gdb/acx_configure_dir.m4 +++ b/gdb/acx_configure_dir.m4 @@ -1,4 +1,4 @@ -# Copyright (C) 1992-2016 Free Software Foundation, Inc. +# Copyright (C) 1992-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without diff --git a/gdb/ada-exp.c b/gdb/ada-exp.c index 747fc357e..0cce4192d 100644 --- a/gdb/ada-exp.c +++ b/gdb/ada-exp.c @@ -1,8 +1,8 @@ -/* A Bison parser, made by GNU Bison 3.0.2. */ +/* A Bison parser, made by GNU Bison 3.0.4. */ /* Bison implementation for Yacc-like parsers in C - Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -44,7 +44,7 @@ #define YYBISON 1 /* Bison version. */ -#define YYBISON_VERSION "3.0.2" +#define YYBISON_VERSION "3.0.4" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -279,7 +279,7 @@ extern int yydebug; /* Value type. */ #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -typedef union YYSTYPE YYSTYPE; + union YYSTYPE { #line 124 "ada-exp.y" /* yacc.c:355 */ @@ -301,6 +301,8 @@ union YYSTYPE #line 303 "ada-exp.c" /* yacc.c:355 */ }; + +typedef union YYSTYPE YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define YYSTYPE_IS_DECLARED 1 #endif @@ -314,7 +316,7 @@ int yyparse (void); /* Copy the second part of user declarations. */ -#line 318 "ada-exp.c" /* yacc.c:358 */ +#line 320 "ada-exp.c" /* yacc.c:358 */ #ifdef short # undef short @@ -1662,26 +1664,26 @@ yyreduce: case 4: #line 195 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_COMMA); } -#line 1667 "ada-exp.c" /* yacc.c:1646 */ +#line 1669 "ada-exp.c" /* yacc.c:1646 */ break; case 5: #line 197 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_ASSIGN); } -#line 1673 "ada-exp.c" /* yacc.c:1646 */ +#line 1675 "ada-exp.c" /* yacc.c:1646 */ break; case 6: #line 202 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_IND); } -#line 1679 "ada-exp.c" /* yacc.c:1646 */ +#line 1681 "ada-exp.c" /* yacc.c:1646 */ break; case 7: #line 206 "ada-exp.y" /* yacc.c:1646 */ { write_exp_op_with_string (pstate, STRUCTOP_STRUCT, (yyvsp[0].sval)); } -#line 1686 "ada-exp.c" /* yacc.c:1646 */ +#line 1688 "ada-exp.c" /* yacc.c:1646 */ break; case 8: @@ -1691,7 +1693,7 @@ yyreduce: write_exp_elt_longcst (pstate, (yyvsp[-1].lval)); write_exp_elt_opcode (pstate, OP_FUNCALL); } -#line 1696 "ada-exp.c" /* yacc.c:1646 */ +#line 1698 "ada-exp.c" /* yacc.c:1646 */ break; case 9: @@ -1712,13 +1714,13 @@ yyreduce: write_exp_elt_opcode (pstate, OP_FUNCALL); } } -#line 1717 "ada-exp.c" /* yacc.c:1646 */ +#line 1719 "ada-exp.c" /* yacc.c:1646 */ break; case 10: #line 235 "ada-exp.y" /* yacc.c:1646 */ { type_qualifier = (yyvsp[-2].tval); } -#line 1723 "ada-exp.c" /* yacc.c:1646 */ +#line 1725 "ada-exp.c" /* yacc.c:1646 */ break; case 11: @@ -1731,19 +1733,19 @@ yyreduce: write_exp_elt_opcode (pstate, UNOP_QUAL); type_qualifier = (yyvsp[-4].tval); } -#line 1736 "ada-exp.c" /* yacc.c:1646 */ +#line 1738 "ada-exp.c" /* yacc.c:1646 */ break; case 12: #line 247 "ada-exp.y" /* yacc.c:1646 */ { (yyval.tval) = type_qualifier; } -#line 1742 "ada-exp.c" /* yacc.c:1646 */ +#line 1744 "ada-exp.c" /* yacc.c:1646 */ break; case 13: #line 252 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, TERNOP_SLICE); } -#line 1748 "ada-exp.c" /* yacc.c:1646 */ +#line 1750 "ada-exp.c" /* yacc.c:1646 */ break; case 14: @@ -1753,13 +1755,13 @@ yyreduce: else error (_("Cannot slice a type")); } -#line 1758 "ada-exp.c" /* yacc.c:1646 */ +#line 1760 "ada-exp.c" /* yacc.c:1646 */ break; case 15: #line 261 "ada-exp.y" /* yacc.c:1646 */ { } -#line 1764 "ada-exp.c" /* yacc.c:1646 */ +#line 1766 "ada-exp.c" /* yacc.c:1646 */ break; case 16: @@ -1771,67 +1773,67 @@ yyreduce: write_exp_elt_opcode (pstate, OP_TYPE); } } -#line 1776 "ada-exp.c" /* yacc.c:1646 */ +#line 1778 "ada-exp.c" /* yacc.c:1646 */ break; case 17: #line 283 "ada-exp.y" /* yacc.c:1646 */ { write_dollar_variable (pstate, (yyvsp[0].sval)); } -#line 1782 "ada-exp.c" /* yacc.c:1646 */ +#line 1784 "ada-exp.c" /* yacc.c:1646 */ break; case 20: #line 293 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_NEG); } -#line 1788 "ada-exp.c" /* yacc.c:1646 */ +#line 1790 "ada-exp.c" /* yacc.c:1646 */ break; case 21: #line 297 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_PLUS); } -#line 1794 "ada-exp.c" /* yacc.c:1646 */ +#line 1796 "ada-exp.c" /* yacc.c:1646 */ break; case 22: #line 301 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_LOGICAL_NOT); } -#line 1800 "ada-exp.c" /* yacc.c:1646 */ +#line 1802 "ada-exp.c" /* yacc.c:1646 */ break; case 23: #line 305 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_ABS); } -#line 1806 "ada-exp.c" /* yacc.c:1646 */ +#line 1808 "ada-exp.c" /* yacc.c:1646 */ break; case 24: #line 308 "ada-exp.y" /* yacc.c:1646 */ { (yyval.lval) = 0; } -#line 1812 "ada-exp.c" /* yacc.c:1646 */ +#line 1814 "ada-exp.c" /* yacc.c:1646 */ break; case 25: #line 312 "ada-exp.y" /* yacc.c:1646 */ { (yyval.lval) = 1; } -#line 1818 "ada-exp.c" /* yacc.c:1646 */ +#line 1820 "ada-exp.c" /* yacc.c:1646 */ break; case 26: #line 314 "ada-exp.y" /* yacc.c:1646 */ { (yyval.lval) = 1; } -#line 1824 "ada-exp.c" /* yacc.c:1646 */ +#line 1826 "ada-exp.c" /* yacc.c:1646 */ break; case 27: #line 316 "ada-exp.y" /* yacc.c:1646 */ { (yyval.lval) = (yyvsp[-2].lval) + 1; } -#line 1830 "ada-exp.c" /* yacc.c:1646 */ +#line 1832 "ada-exp.c" /* yacc.c:1646 */ break; case 28: #line 318 "ada-exp.y" /* yacc.c:1646 */ { (yyval.lval) = (yyvsp[-4].lval) + 1; } -#line 1836 "ada-exp.c" /* yacc.c:1646 */ +#line 1838 "ada-exp.c" /* yacc.c:1646 */ break; case 29: @@ -1843,85 +1845,85 @@ yyreduce: write_exp_elt_type (pstate, (yyvsp[-2].tval)); write_exp_elt_opcode (pstate, UNOP_MEMVAL); } -#line 1848 "ada-exp.c" /* yacc.c:1646 */ +#line 1850 "ada-exp.c" /* yacc.c:1646 */ break; case 30: #line 335 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_EXP); } -#line 1854 "ada-exp.c" /* yacc.c:1646 */ +#line 1856 "ada-exp.c" /* yacc.c:1646 */ break; case 31: #line 339 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_MUL); } -#line 1860 "ada-exp.c" /* yacc.c:1646 */ +#line 1862 "ada-exp.c" /* yacc.c:1646 */ break; case 32: #line 343 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_DIV); } -#line 1866 "ada-exp.c" /* yacc.c:1646 */ +#line 1868 "ada-exp.c" /* yacc.c:1646 */ break; case 33: #line 347 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_REM); } -#line 1872 "ada-exp.c" /* yacc.c:1646 */ +#line 1874 "ada-exp.c" /* yacc.c:1646 */ break; case 34: #line 351 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_MOD); } -#line 1878 "ada-exp.c" /* yacc.c:1646 */ +#line 1880 "ada-exp.c" /* yacc.c:1646 */ break; case 35: #line 355 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_REPEAT); } -#line 1884 "ada-exp.c" /* yacc.c:1646 */ +#line 1886 "ada-exp.c" /* yacc.c:1646 */ break; case 36: #line 359 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_ADD); } -#line 1890 "ada-exp.c" /* yacc.c:1646 */ +#line 1892 "ada-exp.c" /* yacc.c:1646 */ break; case 37: #line 363 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_CONCAT); } -#line 1896 "ada-exp.c" /* yacc.c:1646 */ +#line 1898 "ada-exp.c" /* yacc.c:1646 */ break; case 38: #line 367 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_SUB); } -#line 1902 "ada-exp.c" /* yacc.c:1646 */ +#line 1904 "ada-exp.c" /* yacc.c:1646 */ break; case 40: #line 374 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_EQUAL); } -#line 1908 "ada-exp.c" /* yacc.c:1646 */ +#line 1910 "ada-exp.c" /* yacc.c:1646 */ break; case 41: #line 378 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_NOTEQUAL); } -#line 1914 "ada-exp.c" /* yacc.c:1646 */ +#line 1916 "ada-exp.c" /* yacc.c:1646 */ break; case 42: #line 382 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_LEQ); } -#line 1920 "ada-exp.c" /* yacc.c:1646 */ +#line 1922 "ada-exp.c" /* yacc.c:1646 */ break; case 43: #line 386 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, TERNOP_IN_RANGE); } -#line 1926 "ada-exp.c" /* yacc.c:1646 */ +#line 1928 "ada-exp.c" /* yacc.c:1646 */ break; case 44: @@ -1930,7 +1932,7 @@ yyreduce: write_exp_elt_longcst (pstate, (LONGEST) (yyvsp[0].lval)); write_exp_elt_opcode (pstate, BINOP_IN_BOUNDS); } -#line 1935 "ada-exp.c" /* yacc.c:1646 */ +#line 1937 "ada-exp.c" /* yacc.c:1646 */ break; case 45: @@ -1942,7 +1944,7 @@ yyreduce: write_exp_elt_type (pstate, (yyvsp[0].tval)); write_exp_elt_opcode (pstate, UNOP_IN_RANGE); } -#line 1947 "ada-exp.c" /* yacc.c:1646 */ +#line 1949 "ada-exp.c" /* yacc.c:1646 */ break; case 46: @@ -1950,7 +1952,7 @@ yyreduce: { write_exp_elt_opcode (pstate, TERNOP_IN_RANGE); write_exp_elt_opcode (pstate, UNOP_LOGICAL_NOT); } -#line 1955 "ada-exp.c" /* yacc.c:1646 */ +#line 1957 "ada-exp.c" /* yacc.c:1646 */ break; case 47: @@ -1960,7 +1962,7 @@ yyreduce: write_exp_elt_opcode (pstate, BINOP_IN_BOUNDS); write_exp_elt_opcode (pstate, UNOP_LOGICAL_NOT); } -#line 1965 "ada-exp.c" /* yacc.c:1646 */ +#line 1967 "ada-exp.c" /* yacc.c:1646 */ break; case 48: @@ -1973,91 +1975,91 @@ yyreduce: write_exp_elt_opcode (pstate, UNOP_IN_RANGE); write_exp_elt_opcode (pstate, UNOP_LOGICAL_NOT); } -#line 1978 "ada-exp.c" /* yacc.c:1646 */ +#line 1980 "ada-exp.c" /* yacc.c:1646 */ break; case 49: #line 422 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_GEQ); } -#line 1984 "ada-exp.c" /* yacc.c:1646 */ +#line 1986 "ada-exp.c" /* yacc.c:1646 */ break; case 50: #line 426 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_LESS); } -#line 1990 "ada-exp.c" /* yacc.c:1646 */ +#line 1992 "ada-exp.c" /* yacc.c:1646 */ break; case 51: #line 430 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_GTR); } -#line 1996 "ada-exp.c" /* yacc.c:1646 */ +#line 1998 "ada-exp.c" /* yacc.c:1646 */ break; case 58: #line 443 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_BITWISE_AND); } -#line 2002 "ada-exp.c" /* yacc.c:1646 */ +#line 2004 "ada-exp.c" /* yacc.c:1646 */ break; case 59: #line 445 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_BITWISE_AND); } -#line 2008 "ada-exp.c" /* yacc.c:1646 */ +#line 2010 "ada-exp.c" /* yacc.c:1646 */ break; case 60: #line 450 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_LOGICAL_AND); } -#line 2014 "ada-exp.c" /* yacc.c:1646 */ +#line 2016 "ada-exp.c" /* yacc.c:1646 */ break; case 61: #line 452 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_LOGICAL_AND); } -#line 2020 "ada-exp.c" /* yacc.c:1646 */ +#line 2022 "ada-exp.c" /* yacc.c:1646 */ break; case 62: #line 457 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_BITWISE_IOR); } -#line 2026 "ada-exp.c" /* yacc.c:1646 */ +#line 2028 "ada-exp.c" /* yacc.c:1646 */ break; case 63: #line 459 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_BITWISE_IOR); } -#line 2032 "ada-exp.c" /* yacc.c:1646 */ +#line 2034 "ada-exp.c" /* yacc.c:1646 */ break; case 64: #line 464 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_LOGICAL_OR); } -#line 2038 "ada-exp.c" /* yacc.c:1646 */ +#line 2040 "ada-exp.c" /* yacc.c:1646 */ break; case 65: #line 466 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_LOGICAL_OR); } -#line 2044 "ada-exp.c" /* yacc.c:1646 */ +#line 2046 "ada-exp.c" /* yacc.c:1646 */ break; case 66: #line 470 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_BITWISE_XOR); } -#line 2050 "ada-exp.c" /* yacc.c:1646 */ +#line 2052 "ada-exp.c" /* yacc.c:1646 */ break; case 67: #line 472 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_BITWISE_XOR); } -#line 2056 "ada-exp.c" /* yacc.c:1646 */ +#line 2058 "ada-exp.c" /* yacc.c:1646 */ break; case 68: #line 484 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_ADDR); } -#line 2062 "ada-exp.c" /* yacc.c:1646 */ +#line 2064 "ada-exp.c" /* yacc.c:1646 */ break; case 69: @@ -2068,82 +2070,82 @@ yyreduce: type_system_address (pstate)); write_exp_elt_opcode (pstate, UNOP_CAST); } -#line 2073 "ada-exp.c" /* yacc.c:1646 */ +#line 2075 "ada-exp.c" /* yacc.c:1646 */ break; case 70: #line 493 "ada-exp.y" /* yacc.c:1646 */ { write_int (pstate, (yyvsp[0].lval), type_int (pstate)); write_exp_elt_opcode (pstate, OP_ATR_FIRST); } -#line 2080 "ada-exp.c" /* yacc.c:1646 */ +#line 2082 "ada-exp.c" /* yacc.c:1646 */ break; case 71: #line 496 "ada-exp.y" /* yacc.c:1646 */ { write_int (pstate, (yyvsp[0].lval), type_int (pstate)); write_exp_elt_opcode (pstate, OP_ATR_LAST); } -#line 2087 "ada-exp.c" /* yacc.c:1646 */ +#line 2089 "ada-exp.c" /* yacc.c:1646 */ break; case 72: #line 499 "ada-exp.y" /* yacc.c:1646 */ { write_int (pstate, (yyvsp[0].lval), type_int (pstate)); write_exp_elt_opcode (pstate, OP_ATR_LENGTH); } -#line 2094 "ada-exp.c" /* yacc.c:1646 */ +#line 2096 "ada-exp.c" /* yacc.c:1646 */ break; case 73: #line 502 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, OP_ATR_SIZE); } -#line 2100 "ada-exp.c" /* yacc.c:1646 */ +#line 2102 "ada-exp.c" /* yacc.c:1646 */ break; case 74: #line 504 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, OP_ATR_TAG); } -#line 2106 "ada-exp.c" /* yacc.c:1646 */ +#line 2108 "ada-exp.c" /* yacc.c:1646 */ break; case 75: #line 506 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, OP_ATR_MIN); } -#line 2112 "ada-exp.c" /* yacc.c:1646 */ +#line 2114 "ada-exp.c" /* yacc.c:1646 */ break; case 76: #line 508 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, OP_ATR_MAX); } -#line 2118 "ada-exp.c" /* yacc.c:1646 */ +#line 2120 "ada-exp.c" /* yacc.c:1646 */ break; case 77: #line 510 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, OP_ATR_POS); } -#line 2124 "ada-exp.c" /* yacc.c:1646 */ +#line 2126 "ada-exp.c" /* yacc.c:1646 */ break; case 78: #line 512 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, OP_ATR_VAL); } -#line 2130 "ada-exp.c" /* yacc.c:1646 */ +#line 2132 "ada-exp.c" /* yacc.c:1646 */ break; case 79: #line 514 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, OP_ATR_MODULUS); } -#line 2136 "ada-exp.c" /* yacc.c:1646 */ +#line 2138 "ada-exp.c" /* yacc.c:1646 */ break; case 80: #line 518 "ada-exp.y" /* yacc.c:1646 */ { (yyval.lval) = 1; } -#line 2142 "ada-exp.c" /* yacc.c:1646 */ +#line 2144 "ada-exp.c" /* yacc.c:1646 */ break; case 81: #line 520 "ada-exp.y" /* yacc.c:1646 */ { (yyval.lval) = (yyvsp[-1].typed_val).val; } -#line 2148 "ada-exp.c" /* yacc.c:1646 */ +#line 2150 "ada-exp.c" /* yacc.c:1646 */ break; case 82: @@ -2154,7 +2156,7 @@ yyreduce: write_exp_elt_opcode (pstate, OP_TYPE); write_exp_elt_type (pstate, (yyvsp[0].tval)); write_exp_elt_opcode (pstate, OP_TYPE); } -#line 2159 "ada-exp.c" /* yacc.c:1646 */ +#line 2161 "ada-exp.c" /* yacc.c:1646 */ break; case 84: @@ -2163,13 +2165,13 @@ yyreduce: write_exp_elt_type (pstate, parse_type (pstate)->builtin_void); write_exp_elt_opcode (pstate, OP_TYPE); } -#line 2168 "ada-exp.c" /* yacc.c:1646 */ +#line 2170 "ada-exp.c" /* yacc.c:1646 */ break; case 85: #line 544 "ada-exp.y" /* yacc.c:1646 */ { write_int (pstate, (LONGEST) (yyvsp[0].typed_val).val, (yyvsp[0].typed_val).type); } -#line 2174 "ada-exp.c" /* yacc.c:1646 */ +#line 2176 "ada-exp.c" /* yacc.c:1646 */ break; case 86: @@ -2179,7 +2181,7 @@ yyreduce: (type_qualifier == NULL) ? (yyvsp[0].typed_val).type : type_qualifier); } -#line 2184 "ada-exp.c" /* yacc.c:1646 */ +#line 2186 "ada-exp.c" /* yacc.c:1646 */ break; case 87: @@ -2189,13 +2191,13 @@ yyreduce: write_exp_elt_dblcst (pstate, (yyvsp[0].typed_val_float).dval); write_exp_elt_opcode (pstate, OP_DOUBLE); } -#line 2194 "ada-exp.c" /* yacc.c:1646 */ +#line 2196 "ada-exp.c" /* yacc.c:1646 */ break; case 88: #line 564 "ada-exp.y" /* yacc.c:1646 */ { write_int (pstate, 0, type_int (pstate)); } -#line 2200 "ada-exp.c" /* yacc.c:1646 */ +#line 2202 "ada-exp.c" /* yacc.c:1646 */ break; case 89: @@ -2203,37 +2205,37 @@ yyreduce: { write_exp_op_with_string (pstate, OP_STRING, (yyvsp[0].sval)); } -#line 2208 "ada-exp.c" /* yacc.c:1646 */ +#line 2210 "ada-exp.c" /* yacc.c:1646 */ break; case 90: #line 574 "ada-exp.y" /* yacc.c:1646 */ { write_int (pstate, 1, type_boolean (pstate)); } -#line 2214 "ada-exp.c" /* yacc.c:1646 */ +#line 2216 "ada-exp.c" /* yacc.c:1646 */ break; case 91: #line 576 "ada-exp.y" /* yacc.c:1646 */ { write_int (pstate, 0, type_boolean (pstate)); } -#line 2220 "ada-exp.c" /* yacc.c:1646 */ +#line 2222 "ada-exp.c" /* yacc.c:1646 */ break; case 92: #line 580 "ada-exp.y" /* yacc.c:1646 */ { error (_("NEW not implemented.")); } -#line 2226 "ada-exp.c" /* yacc.c:1646 */ +#line 2228 "ada-exp.c" /* yacc.c:1646 */ break; case 93: #line 584 "ada-exp.y" /* yacc.c:1646 */ { (yyval.tval) = write_var_or_type (pstate, NULL, (yyvsp[0].sval)); } -#line 2232 "ada-exp.c" /* yacc.c:1646 */ +#line 2234 "ada-exp.c" /* yacc.c:1646 */ break; case 94: #line 586 "ada-exp.y" /* yacc.c:1646 */ { (yyval.tval) = write_var_or_type (pstate, (yyvsp[-1].bval), (yyvsp[0].sval)); } -#line 2238 "ada-exp.c" /* yacc.c:1646 */ +#line 2240 "ada-exp.c" /* yacc.c:1646 */ break; case 95: @@ -2245,7 +2247,7 @@ yyreduce: else (yyval.tval) = lookup_pointer_type ((yyval.tval)); } -#line 2250 "ada-exp.c" /* yacc.c:1646 */ +#line 2252 "ada-exp.c" /* yacc.c:1646 */ break; case 96: @@ -2257,19 +2259,19 @@ yyreduce: else (yyval.tval) = lookup_pointer_type ((yyval.tval)); } -#line 2262 "ada-exp.c" /* yacc.c:1646 */ +#line 2264 "ada-exp.c" /* yacc.c:1646 */ break; case 97: #line 607 "ada-exp.y" /* yacc.c:1646 */ { (yyval.bval) = block_lookup (NULL, (yyvsp[-1].sval).ptr); } -#line 2268 "ada-exp.c" /* yacc.c:1646 */ +#line 2270 "ada-exp.c" /* yacc.c:1646 */ break; case 98: #line 609 "ada-exp.y" /* yacc.c:1646 */ { (yyval.bval) = block_lookup ((yyvsp[-2].bval), (yyvsp[-1].sval).ptr); } -#line 2274 "ada-exp.c" /* yacc.c:1646 */ +#line 2276 "ada-exp.c" /* yacc.c:1646 */ break; case 99: @@ -2279,13 +2281,13 @@ yyreduce: write_exp_elt_longcst (pstate, (yyvsp[-1].lval)); write_exp_elt_opcode (pstate, OP_AGGREGATE); } -#line 2284 "ada-exp.c" /* yacc.c:1646 */ +#line 2286 "ada-exp.c" /* yacc.c:1646 */ break; case 100: #line 622 "ada-exp.y" /* yacc.c:1646 */ { (yyval.lval) = (yyvsp[0].lval); } -#line 2290 "ada-exp.c" /* yacc.c:1646 */ +#line 2292 "ada-exp.c" /* yacc.c:1646 */ break; case 101: @@ -2295,13 +2297,13 @@ yyreduce: write_exp_elt_opcode (pstate, OP_POSITIONAL); (yyval.lval) = (yyvsp[-1].lval) + 1; } -#line 2300 "ada-exp.c" /* yacc.c:1646 */ +#line 2302 "ada-exp.c" /* yacc.c:1646 */ break; case 102: #line 630 "ada-exp.y" /* yacc.c:1646 */ { (yyval.lval) = (yyvsp[-1].lval) + (yyvsp[0].lval); } -#line 2306 "ada-exp.c" /* yacc.c:1646 */ +#line 2308 "ada-exp.c" /* yacc.c:1646 */ break; case 103: @@ -2311,7 +2313,7 @@ yyreduce: write_exp_elt_opcode (pstate, OP_POSITIONAL); (yyval.lval) = 1; } -#line 2316 "ada-exp.c" /* yacc.c:1646 */ +#line 2318 "ada-exp.c" /* yacc.c:1646 */ break; case 104: @@ -2321,31 +2323,31 @@ yyreduce: write_exp_elt_opcode (pstate, OP_POSITIONAL); (yyval.lval) = (yyvsp[-2].lval) + 1; } -#line 2326 "ada-exp.c" /* yacc.c:1646 */ +#line 2328 "ada-exp.c" /* yacc.c:1646 */ break; case 105: #line 649 "ada-exp.y" /* yacc.c:1646 */ { (yyval.lval) = 1; } -#line 2332 "ada-exp.c" /* yacc.c:1646 */ +#line 2334 "ada-exp.c" /* yacc.c:1646 */ break; case 106: #line 650 "ada-exp.y" /* yacc.c:1646 */ { (yyval.lval) = 1; } -#line 2338 "ada-exp.c" /* yacc.c:1646 */ +#line 2340 "ada-exp.c" /* yacc.c:1646 */ break; case 107: #line 652 "ada-exp.y" /* yacc.c:1646 */ { (yyval.lval) = (yyvsp[0].lval) + 1; } -#line 2344 "ada-exp.c" /* yacc.c:1646 */ +#line 2346 "ada-exp.c" /* yacc.c:1646 */ break; case 108: #line 656 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, OP_OTHERS); } -#line 2350 "ada-exp.c" /* yacc.c:1646 */ +#line 2352 "ada-exp.c" /* yacc.c:1646 */ break; case 109: @@ -2355,25 +2357,25 @@ yyreduce: write_exp_elt_longcst (pstate, (yyvsp[0].lval)); write_exp_elt_opcode (pstate, OP_CHOICES); } -#line 2360 "ada-exp.c" /* yacc.c:1646 */ +#line 2362 "ada-exp.c" /* yacc.c:1646 */ break; case 110: #line 675 "ada-exp.y" /* yacc.c:1646 */ { write_name_assoc (pstate, (yyvsp[-1].sval)); } -#line 2366 "ada-exp.c" /* yacc.c:1646 */ +#line 2368 "ada-exp.c" /* yacc.c:1646 */ break; case 111: #line 676 "ada-exp.y" /* yacc.c:1646 */ { (yyval.lval) = 1; } -#line 2372 "ada-exp.c" /* yacc.c:1646 */ +#line 2374 "ada-exp.c" /* yacc.c:1646 */ break; case 112: #line 678 "ada-exp.y" /* yacc.c:1646 */ { (yyval.lval) = 1; } -#line 2378 "ada-exp.c" /* yacc.c:1646 */ +#line 2380 "ada-exp.c" /* yacc.c:1646 */ break; case 113: @@ -2382,65 +2384,65 @@ yyreduce: write_exp_op_with_string (pstate, OP_NAME, empty_stoken); } -#line 2387 "ada-exp.c" /* yacc.c:1646 */ +#line 2389 "ada-exp.c" /* yacc.c:1646 */ break; case 114: #line 684 "ada-exp.y" /* yacc.c:1646 */ { (yyval.lval) = 1; } -#line 2393 "ada-exp.c" /* yacc.c:1646 */ +#line 2395 "ada-exp.c" /* yacc.c:1646 */ break; case 115: #line 686 "ada-exp.y" /* yacc.c:1646 */ { write_name_assoc (pstate, (yyvsp[-1].sval)); } -#line 2399 "ada-exp.c" /* yacc.c:1646 */ +#line 2401 "ada-exp.c" /* yacc.c:1646 */ break; case 116: #line 687 "ada-exp.y" /* yacc.c:1646 */ { (yyval.lval) = (yyvsp[0].lval) + 1; } -#line 2405 "ada-exp.c" /* yacc.c:1646 */ +#line 2407 "ada-exp.c" /* yacc.c:1646 */ break; case 117: #line 689 "ada-exp.y" /* yacc.c:1646 */ { (yyval.lval) = (yyvsp[0].lval) + 1; } -#line 2411 "ada-exp.c" /* yacc.c:1646 */ +#line 2413 "ada-exp.c" /* yacc.c:1646 */ break; case 118: #line 691 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, OP_DISCRETE_RANGE); } -#line 2417 "ada-exp.c" /* yacc.c:1646 */ +#line 2419 "ada-exp.c" /* yacc.c:1646 */ break; case 119: #line 692 "ada-exp.y" /* yacc.c:1646 */ { (yyval.lval) = (yyvsp[0].lval) + 1; } -#line 2423 "ada-exp.c" /* yacc.c:1646 */ +#line 2425 "ada-exp.c" /* yacc.c:1646 */ break; case 120: #line 699 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_IND); } -#line 2429 "ada-exp.c" /* yacc.c:1646 */ +#line 2431 "ada-exp.c" /* yacc.c:1646 */ break; case 121: #line 701 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_ADDR); } -#line 2435 "ada-exp.c" /* yacc.c:1646 */ +#line 2437 "ada-exp.c" /* yacc.c:1646 */ break; case 122: #line 703 "ada-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_SUBSCRIPT); } -#line 2441 "ada-exp.c" /* yacc.c:1646 */ +#line 2443 "ada-exp.c" /* yacc.c:1646 */ break; -#line 2445 "ada-exp.c" /* yacc.c:1646 */ +#line 2447 "ada-exp.c" /* yacc.c:1646 */ default: break; } /* User semantic actions sometimes alter yychar, and that requires diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y index 0a33e1048..d9fcdfaac 100644 --- a/gdb/ada-exp.y +++ b/gdb/ada-exp.y @@ -1,5 +1,5 @@ /* YACC parser for Ada expressions, for GDB. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 05bfd7b34..34b546214 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -1,6 +1,6 @@ /* Ada language support routines for GDB, the GNU debugger. - Copyright (C) 1992-2016 Free Software Foundation, Inc. + Copyright (C) 1992-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h index 7de71eb99..9eddeb45f 100644 --- a/gdb/ada-lang.h +++ b/gdb/ada-lang.h @@ -1,6 +1,6 @@ /* Ada language support definitions for GDB, the GNU debugger. - Copyright (C) 1992-2016 Free Software Foundation, Inc. + Copyright (C) 1992-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/ada-lex.c b/gdb/ada-lex.c index 3038ab3c0..094a6ebce 100644 --- a/gdb/ada-lex.c +++ b/gdb/ada-lex.c @@ -8,8 +8,8 @@ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 -#define YY_FLEX_MINOR_VERSION 5 -#define YY_FLEX_SUBMINOR_VERSION 39 +#define YY_FLEX_MINOR_VERSION 6 +#define YY_FLEX_SUBMINOR_VERSION 1 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif @@ -88,25 +88,13 @@ typedef unsigned int flex_uint32_t; #endif /* ! FLEXINT_H */ -#ifdef __cplusplus - -/* The "const" storage-class-modifier is valid. */ -#define YY_USE_CONST - -#else /* ! __cplusplus */ - -/* C99 requires __STDC__ to be defined as 1. */ -#if defined (__STDC__) - -#define YY_USE_CONST - -#endif /* defined (__STDC__) */ -#endif /* ! __cplusplus */ - -#ifdef YY_USE_CONST +/* TODO: this is always defined, so inline it */ #define yyconst const + +#if defined(__GNUC__) && __GNUC__ >= 3 +#define yynoreturn __attribute__((__noreturn__)) #else -#define yyconst +#define yynoreturn #endif /* Returned upon end-of-file. */ @@ -167,7 +155,7 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE; typedef size_t yy_size_t; #endif -extern yy_size_t yyleng; +extern int yyleng; extern FILE *yyin, *yyout; @@ -206,12 +194,12 @@ struct yy_buffer_state /* Size of input buffer in bytes, not including room for EOB * characters. */ - yy_size_t yy_buf_size; + int yy_buf_size; /* Number of characters read into yy_ch_buf, not including EOB * characters. */ - yy_size_t yy_n_chars; + int yy_n_chars; /* Whether we "own" the buffer - i.e., we know we created it, * and can xrealloc() it to grow it, and should xfree() it to @@ -234,7 +222,7 @@ struct yy_buffer_state int yy_bs_lineno; /**< The line count. */ int yy_bs_column; /**< The column count. */ - + /* Whether to try to fill the input buffer when we reach the * end of it. */ @@ -262,7 +250,7 @@ struct yy_buffer_state /* Stack of input buffers. */ static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ -static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ +static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */ /* We provide macros for accessing buffer states in case in the * future we want to put the buffer states in a more general @@ -281,11 +269,11 @@ static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ /* yy_hold_char holds the character lost when yytext is formed. */ static char yy_hold_char; -static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ -yy_size_t yyleng; +static int yy_n_chars; /* number of characters read into yy_ch_buf */ +int yyleng; /* Points to current character in buffer. */ -static char *yy_c_buf_p = (char *) 0; +static char *yy_c_buf_p = NULL; static int yy_init = 0; /* whether we need to initialize */ static int yy_start = 0; /* start state number */ @@ -310,7 +298,7 @@ static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); -YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len ); +YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ); void *yyalloc (yy_size_t ); void *yyxrealloc (void *,yy_size_t ); @@ -344,7 +332,7 @@ void yyfree (void * ); typedef unsigned char YY_CHAR; -FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; +FILE *yyin = NULL, *yyout = NULL; typedef int yy_state_type; @@ -353,19 +341,22 @@ extern int yylineno; int yylineno = 1; extern char *yytext; +#ifdef yytext_ptr +#undef yytext_ptr +#endif #define yytext_ptr yytext static yy_state_type yy_get_previous_state (void ); static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); static int yy_get_next_buffer (void ); -static void yy_fatal_error (yyconst char msg[] ); +static void yynoreturn yy_fatal_error (yyconst char* msg ); /* Done after the current pattern has been matched and before the * corresponding action - sets up yytext. */ #define YY_DO_BEFORE_ACTION \ (yytext_ptr) = yy_bp; \ - yyleng = (size_t) (yy_cp - yy_bp); \ + yyleng = (int) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; @@ -406,7 +397,7 @@ static yyconst flex_int16_t yy_accept[207] = 13, 0, 18, 10, 10, 0 } ; -static yyconst flex_int32_t yy_ec[256] = +static yyconst YY_CHAR yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, @@ -438,7 +429,7 @@ static yyconst flex_int32_t yy_ec[256] = 1, 1, 1, 1, 1 } ; -static yyconst flex_int32_t yy_meta[68] = +static yyconst YY_CHAR yy_meta[68] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 5, 9, 5, 5, 5, 5, 5, 5, 10, 5, 11, 11, @@ -449,7 +440,7 @@ static yyconst flex_int32_t yy_meta[68] = 16, 16, 16, 16, 16, 16, 16 } ; -static yyconst flex_int16_t yy_base[229] = +static yyconst flex_uint16_t yy_base[229] = { 0, 0, 0, 649, 638, 646, 1252, 1252, 1252, 62, 0, 1252, 109, 1252, 1252, 623, 1252, 619, 175, 606, 174, @@ -507,7 +498,7 @@ static yyconst flex_int16_t yy_def[229] = 206, 206, 206, 206, 206, 206, 206, 206 } ; -static yyconst flex_int16_t yy_nxt[1320] = +static yyconst flex_uint16_t yy_nxt[1320] = { 0, 6, 7, 8, 7, 6, 9, 6, 10, 11, 12, 13, 14, 15, 11, 16, 17, 18, 19, 20, 21, @@ -821,7 +812,7 @@ int yy_flex_debug = 0; char *yytext; #line 1 "ada-lex.l" /* FLEX lexer for Ada expressions, for GDB. - Copyright (C) 1994-2016 Free Software Foundation, Inc. + Copyright (C) 1994-2017 Free Software Foundation, Inc. This file is part of GDB. @@ -881,7 +872,7 @@ static void rewind_to_char (int); static int find_dot_all (const char *); -#line 885 "ada-lex.c" +#line 876 "ada-lex.c" #define INITIAL 0 #define BEFORE_QUAL_QUOTE 1 @@ -915,19 +906,19 @@ void yyset_extra (YY_EXTRA_TYPE user_defined ); FILE *yyget_in (void ); -void yyset_in (FILE * in_str ); +void yyset_in (FILE * _in_str ); FILE *yyget_out (void ); -void yyset_out (FILE * out_str ); +void yyset_out (FILE * _out_str ); -yy_size_t yyget_leng (void ); + int yyget_leng (void ); char *yyget_text (void ); int yyget_lineno (void ); -void yyset_lineno (int line_number ); +void yyset_lineno (int _line_number ); /* Macros after this point can all be overridden by user definitions in * section 1. @@ -941,8 +932,12 @@ extern int yywrap (void ); #endif #endif +#ifndef YY_NO_UNPUT + static void yyunput (int c,char *buf_ptr ); +#endif + #ifndef yytext_ptr static void yy_flex_strncpy (char *,yyconst char *,int ); #endif @@ -976,7 +971,7 @@ static int input (void ); /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ -#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) +#define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, @@ -1000,7 +995,7 @@ static int input (void ); else \ { \ errno=0; \ - while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ + while ( (result = (int) fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ { \ if( errno != EINTR) \ { \ @@ -1055,7 +1050,7 @@ extern int yylex (void); /* Code executed at the end of each rule. */ #ifndef YY_BREAK -#define YY_BREAK break; +#define YY_BREAK /*LINTED*/break; #endif #define YY_RULE_SETUP \ @@ -1065,9 +1060,9 @@ extern int yylex (void); */ YY_DECL { - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; + yy_state_type yy_current_state; + char *yy_cp, *yy_bp; + int yy_act; if ( !(yy_init) ) { @@ -1099,9 +1094,9 @@ YY_DECL #line 85 "ada-lex.l" -#line 1103 "ada-lex.c" +#line 1098 "ada-lex.c" - while ( 1 ) /* loops until end-of-file is reached */ + while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { yy_cp = (yy_c_buf_p); @@ -1117,7 +1112,7 @@ YY_DECL yy_match: do { - register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; + YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; @@ -1129,7 +1124,7 @@ yy_match: if ( yy_current_state >= 207 ) yy_c = yy_meta[(unsigned int) yy_c]; } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; + yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c]; ++yy_cp; } while ( yy_base[yy_current_state] != 1252 ); @@ -1544,7 +1539,7 @@ YY_RULE_SETUP #line 291 "ada-lex.l" YY_FATAL_ERROR( "flex scanner jammed" ); YY_BREAK -#line 1548 "ada-lex.c" +#line 1543 "ada-lex.c" case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(BEFORE_QUAL_QUOTE): yyterminate(); @@ -1688,9 +1683,9 @@ case YY_STATE_EOF(BEFORE_QUAL_QUOTE): */ static int yy_get_next_buffer (void) { - register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; - register char *source = (yytext_ptr); - register int number_to_move, i; + char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; + char *source = (yytext_ptr); + yy_size_t number_to_move, i; int ret_val; if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) @@ -1719,7 +1714,7 @@ static int yy_get_next_buffer (void) /* Try to read more data. */ /* First move last chars to start of buffer. */ - number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; + number_to_move = (yy_size_t) ((yy_c_buf_p) - (yytext_ptr)) - 1; for ( i = 0; i < number_to_move; ++i ) *(dest++) = *(source++); @@ -1732,7 +1727,7 @@ static int yy_get_next_buffer (void) else { - yy_size_t num_to_read = + int num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; while ( num_to_read <= 0 ) @@ -1746,7 +1741,7 @@ static int yy_get_next_buffer (void) if ( b->yy_is_our_buffer ) { - yy_size_t new_size = b->yy_buf_size * 2; + int new_size = b->yy_buf_size * 2; if ( new_size <= 0 ) b->yy_buf_size += b->yy_buf_size / 8; @@ -1759,7 +1754,7 @@ static int yy_get_next_buffer (void) } else /* Can't grow it, we don't own it. */ - b->yy_ch_buf = 0; + b->yy_ch_buf = NULL; if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( @@ -1801,9 +1796,9 @@ static int yy_get_next_buffer (void) else ret_val = EOB_ACT_CONTINUE_SCAN; - if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { + if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { /* Extend the array by 50%, plus the number we really need. */ - yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); + int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyxrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); @@ -1822,14 +1817,14 @@ static int yy_get_next_buffer (void) static yy_state_type yy_get_previous_state (void) { - register yy_state_type yy_current_state; - register char *yy_cp; + yy_state_type yy_current_state; + char *yy_cp; yy_current_state = (yy_start); for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) { - register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); + YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; @@ -1841,7 +1836,7 @@ static int yy_get_next_buffer (void) if ( yy_current_state >= 207 ) yy_c = yy_meta[(unsigned int) yy_c]; } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; + yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c]; } return yy_current_state; @@ -1854,10 +1849,10 @@ static int yy_get_next_buffer (void) */ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) { - register int yy_is_jam; - register char *yy_cp = (yy_c_buf_p); + int yy_is_jam; + char *yy_cp = (yy_c_buf_p); - register YY_CHAR yy_c = 1; + YY_CHAR yy_c = 1; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; @@ -1869,15 +1864,17 @@ static int yy_get_next_buffer (void) if ( yy_current_state >= 207 ) yy_c = yy_meta[(unsigned int) yy_c]; } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; + yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c]; yy_is_jam = (yy_current_state == 206); return yy_is_jam ? 0 : yy_current_state; } - static void yyunput (int c, register char * yy_bp ) +#ifndef YY_NO_UNPUT + + static void yyunput (int c, char * yy_bp ) { - register char *yy_cp; + char *yy_cp; yy_cp = (yy_c_buf_p); @@ -1887,10 +1884,10 @@ static int yy_get_next_buffer (void) if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) { /* need to shift things up to make room */ /* +2 for EOB chars. */ - register yy_size_t number_to_move = (yy_n_chars) + 2; - register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ + int number_to_move = (yy_n_chars) + 2; + char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; - register char *source = + char *source = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) @@ -1899,7 +1896,7 @@ static int yy_get_next_buffer (void) yy_cp += (int) (dest - source); yy_bp += (int) (dest - source); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; + (yy_n_chars) = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size; if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) YY_FATAL_ERROR( "flex scanner push-back overflow" ); @@ -1912,6 +1909,8 @@ static int yy_get_next_buffer (void) (yy_c_buf_p) = yy_cp; } +#endif + #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void) @@ -1936,7 +1935,7 @@ static int yy_get_next_buffer (void) else { /* need more input */ - yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); + int offset = (yy_c_buf_p) - (yytext_ptr); ++(yy_c_buf_p); switch ( yy_get_next_buffer( ) ) @@ -1960,7 +1959,7 @@ static int yy_get_next_buffer (void) case EOB_ACT_END_OF_FILE: { if ( yywrap( ) ) - return EOF; + return 0; if ( ! (yy_did_buffer_switch_on_eof) ) YY_NEW_FILE; @@ -2061,7 +2060,7 @@ static void yy_load_buffer_state (void) if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - b->yy_buf_size = size; + b->yy_buf_size = (yy_size_t)size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. @@ -2208,7 +2207,7 @@ void yypop_buffer_state (void) */ static void yyensure_buffer_stack (void) { - yy_size_t num_to_alloc; + int num_to_alloc; if (!(yy_buffer_stack)) { @@ -2216,15 +2215,15 @@ static void yyensure_buffer_stack (void) * scanner will even need a stack. We use 2 instead of 1 to avoid an * immediate xrealloc on the next call. */ - num_to_alloc = 1; + num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); - + memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); - + (yy_buffer_stack_max) = num_to_alloc; (yy_buffer_stack_top) = 0; return; @@ -2233,7 +2232,7 @@ static void yyensure_buffer_stack (void) if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ /* Increase the buffer to prepare for a possible push. */ - int grow_size = 8 /* arbitrary grow size */; + yy_size_t grow_size = 8 /* arbitrary grow size */; num_to_alloc = (yy_buffer_stack_max) + grow_size; (yy_buffer_stack) = (struct yy_buffer_state**)yyxrealloc @@ -2253,7 +2252,7 @@ static void yyensure_buffer_stack (void) * @param base the character buffer * @param size the size in bytes of the character buffer * - * @return the newly allocated buffer state object. + * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) { @@ -2263,7 +2262,7 @@ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) base[size-2] != YY_END_OF_BUFFER_CHAR || base[size-1] != YY_END_OF_BUFFER_CHAR ) /* They forgot to leave room for the EOB's. */ - return 0; + return NULL; b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); if ( ! b ) @@ -2272,7 +2271,7 @@ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ b->yy_buf_pos = b->yy_ch_buf = base; b->yy_is_our_buffer = 0; - b->yy_input_file = 0; + b->yy_input_file = NULL; b->yy_n_chars = b->yy_buf_size; b->yy_is_interactive = 0; b->yy_at_bol = 1; @@ -2295,7 +2294,7 @@ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) { - return yy_scan_bytes(yystr,strlen(yystr) ); + return yy_scan_bytes(yystr,(int) strlen(yystr) ); } /** Setup the input buffer state to scan the given bytes. The next call to yylex() will @@ -2305,7 +2304,7 @@ YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) * * @return the newly allocated buffer state object. */ -YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len ) +YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len ) { YY_BUFFER_STATE b; char *buf; @@ -2313,7 +2312,7 @@ YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len yy_size_t i; /* Get memory for full buffer, including space for trailing EOB's. */ - n = _yybytes_len + 2; + n = (yy_size_t) _yybytes_len + 2; buf = (char *) yyalloc(n ); if ( ! buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); @@ -2339,9 +2338,9 @@ YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len #define YY_EXIT_FAILURE 2 #endif -static void yy_fatal_error (yyconst char* msg ) +static void yynoreturn yy_fatal_error (yyconst char* msg ) { - (void) fprintf( stderr, "%s\n", msg ); + (void) fprintf( stderr, "%s\n", msg ); exit( YY_EXIT_FAILURE ); } @@ -2369,7 +2368,7 @@ static void yy_fatal_error (yyconst char* msg ) */ int yyget_lineno (void) { - + return yylineno; } @@ -2392,7 +2391,7 @@ FILE *yyget_out (void) /** Get the length of the current token. * */ -yy_size_t yyget_leng (void) +int yyget_leng (void) { return yyleng; } @@ -2407,29 +2406,29 @@ char *yyget_text (void) } /** Set the current line number. - * @param line_number + * @param _line_number line number * */ -void yyset_lineno (int line_number ) +void yyset_lineno (int _line_number ) { - yylineno = line_number; + yylineno = _line_number; } /** Set the input stream. This does not discard the current * input buffer. - * @param in_str A readable stream. + * @param _in_str A readable stream. * * @see yy_switch_to_buffer */ -void yyset_in (FILE * in_str ) +void yyset_in (FILE * _in_str ) { - yyin = in_str ; + yyin = _in_str ; } -void yyset_out (FILE * out_str ) +void yyset_out (FILE * _out_str ) { - yyout = out_str ; + yyout = _out_str ; } int yyget_debug (void) @@ -2437,9 +2436,9 @@ int yyget_debug (void) return yy_flex_debug; } -void yyset_debug (int bdebug ) +void yyset_debug (int _bdebug ) { - yy_flex_debug = bdebug ; + yy_flex_debug = _bdebug ; } static int yy_init_globals (void) @@ -2448,10 +2447,10 @@ static int yy_init_globals (void) * This function is called from yylex_destroy(), so don't allocate here. */ - (yy_buffer_stack) = 0; + (yy_buffer_stack) = NULL; (yy_buffer_stack_top) = 0; (yy_buffer_stack_max) = 0; - (yy_c_buf_p) = (char *) 0; + (yy_c_buf_p) = NULL; (yy_init) = 0; (yy_start) = 0; @@ -2460,8 +2459,8 @@ static int yy_init_globals (void) yyin = stdin; yyout = stdout; #else - yyin = (FILE *) 0; - yyout = (FILE *) 0; + yyin = NULL; + yyout = NULL; #endif /* For future reference: Set errno on error, since we are called by @@ -2499,7 +2498,8 @@ int yylex_destroy (void) #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) { - register int i; + + int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } @@ -2508,7 +2508,7 @@ static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * s ) { - register int n; + int n; for ( n = 0; s[n]; ++n ) ; @@ -2518,11 +2518,12 @@ static int yy_flex_strlen (yyconst char * s ) void *yyalloc (yy_size_t size ) { - return (void *) xmalloc( size ); + return xmalloc(size); } void *yyxrealloc (void * ptr, yy_size_t size ) { + /* The cast to (char *) in the following accommodates both * implementations that use char* generic pointers, and those * that use void* generic pointers. It works with the latter @@ -2530,17 +2531,17 @@ void *yyxrealloc (void * ptr, yy_size_t size ) * any pointer type to void*, and deal with argument conversions * as though doing an assignment. */ - return (void *) xrealloc( (char *) ptr, size ); + return xrealloc(ptr, size); } void yyfree (void * ptr ) { - xfree( (char *) ptr ); /* see yyxrealloc() for (char *) cast */ + xfree( (char *) ptr ); /* see yyxrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" -#line 290 "ada-lex.l" +#line 291 "ada-lex.l" diff --git a/gdb/ada-lex.l b/gdb/ada-lex.l index 03204ff83..082529021 100644 --- a/gdb/ada-lex.l +++ b/gdb/ada-lex.l @@ -1,5 +1,5 @@ /* FLEX lexer for Ada expressions, for GDB. - Copyright (C) 1994-2016 Free Software Foundation, Inc. + Copyright (C) 1994-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/ada-operator.def b/gdb/ada-operator.def index 1a605ae8f..d7643ad1d 100644 --- a/gdb/ada-operator.def +++ b/gdb/ada-operator.def @@ -1,6 +1,6 @@ /* Ada language operator definitions for GDB, the GNU debugger. - Copyright (C) 1992-2016 Free Software Foundation, Inc. + Copyright (C) 1992-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/ada-tasks.c b/gdb/ada-tasks.c index c067ae667..88e95683f 100644 --- a/gdb/ada-tasks.c +++ b/gdb/ada-tasks.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992-2016 Free Software Foundation, Inc. +/* Copyright (C) 1992-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/ada-typeprint.c b/gdb/ada-typeprint.c index d7a836031..3c33bdcfc 100644 --- a/gdb/ada-typeprint.c +++ b/gdb/ada-typeprint.c @@ -1,5 +1,5 @@ /* Support for printing Ada types for GDB, the GNU debugger. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/ada-valprint.c b/gdb/ada-valprint.c index 6b4b6d47e..87f531b7f 100644 --- a/gdb/ada-valprint.c +++ b/gdb/ada-valprint.c @@ -1,6 +1,6 @@ /* Support for printing Ada values for GDB, the GNU debugger. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/ada-varobj.c b/gdb/ada-varobj.c index 19028907f..f3753ff10 100644 --- a/gdb/ada-varobj.c +++ b/gdb/ada-varobj.c @@ -1,6 +1,6 @@ /* varobj support for Ada. - Copyright (C) 2012-2016 Free Software Foundation, Inc. + Copyright (C) 2012-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/addrmap.c b/gdb/addrmap.c index 6cdad3867..8e6c477d6 100644 --- a/gdb/addrmap.c +++ b/gdb/addrmap.c @@ -1,6 +1,6 @@ /* addrmap.c --- implementation of address map data structure. - Copyright (C) 2007-2016 Free Software Foundation, Inc. + Copyright (C) 2007-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/addrmap.h b/gdb/addrmap.h index 5df3aa3be..c5379f116 100644 --- a/gdb/addrmap.h +++ b/gdb/addrmap.h @@ -1,6 +1,6 @@ /* addrmap.h --- interface to address map data structure. - Copyright (C) 2007-2016 Free Software Foundation, Inc. + Copyright (C) 2007-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/agent.c b/gdb/agent.c index 8899b7715..6f6af2a1b 100644 --- a/gdb/agent.c +++ b/gdb/agent.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2012-2016 Free Software Foundation, Inc. +/* Copyright (C) 2012-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c index 693d6f6fa..ea6422043 100644 --- a/gdb/aix-thread.c +++ b/gdb/aix-thread.c @@ -1,6 +1,6 @@ /* Low level interface for debugging AIX 4.3+ pthreads. - Copyright (C) 1999-2016 Free Software Foundation, Inc. + Copyright (C) 1999-2017 Free Software Foundation, Inc. Written by Nick Duffek . This file is part of GDB. diff --git a/gdb/alpha-linux-nat.c b/gdb/alpha-linux-nat.c index 66e2a96ae..a8f1a1c0a 100644 --- a/gdb/alpha-linux-nat.c +++ b/gdb/alpha-linux-nat.c @@ -1,5 +1,5 @@ /* Low level Alpha GNU/Linux interface, for GDB when running native. - Copyright (C) 2005-2016 Free Software Foundation, Inc. + Copyright (C) 2005-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/alpha-linux-tdep.c b/gdb/alpha-linux-tdep.c index 39d48075b..33587b8dc 100644 --- a/gdb/alpha-linux-tdep.c +++ b/gdb/alpha-linux-tdep.c @@ -1,5 +1,5 @@ /* Target-dependent code for GNU/Linux on Alpha. - Copyright (C) 2002-2016 Free Software Foundation, Inc. + Copyright (C) 2002-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/alpha-mdebug-tdep.c b/gdb/alpha-mdebug-tdep.c index 6db84f957..7f0ac8ae1 100644 --- a/gdb/alpha-mdebug-tdep.c +++ b/gdb/alpha-mdebug-tdep.c @@ -1,5 +1,5 @@ /* Target-dependent mdebug code for the ALPHA architecture. - Copyright (C) 1993-2016 Free Software Foundation, Inc. + Copyright (C) 1993-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c index b89ea1385..45260b240 100644 --- a/gdb/alpha-tdep.c +++ b/gdb/alpha-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for the ALPHA architecture, for GDB, the GNU Debugger. - Copyright (C) 1993-2016 Free Software Foundation, Inc. + Copyright (C) 1993-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/alpha-tdep.h b/gdb/alpha-tdep.h index abeb3268a..4fb735671 100644 --- a/gdb/alpha-tdep.h +++ b/gdb/alpha-tdep.h @@ -1,5 +1,5 @@ /* Common target dependent code for GDB on Alpha systems. - Copyright (C) 1993-2016 Free Software Foundation, Inc. + Copyright (C) 1993-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/alphabsd-nat.c b/gdb/alphabsd-nat.c index a7113df74..8b4512708 100644 --- a/gdb/alphabsd-nat.c +++ b/gdb/alphabsd-nat.c @@ -1,6 +1,6 @@ /* Native-dependent code for Alpha BSD's. - Copyright (C) 2000-2016 Free Software Foundation, Inc. + Copyright (C) 2000-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/alphabsd-tdep.c b/gdb/alphabsd-tdep.c index 5f531d963..80fb33f2f 100644 --- a/gdb/alphabsd-tdep.c +++ b/gdb/alphabsd-tdep.c @@ -1,6 +1,6 @@ /* Common target dependent code Alpha BSD's. - Copyright (C) 2000-2016 Free Software Foundation, Inc. + Copyright (C) 2000-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/alphabsd-tdep.h b/gdb/alphabsd-tdep.h index 19257350d..1a340d184 100644 --- a/gdb/alphabsd-tdep.h +++ b/gdb/alphabsd-tdep.h @@ -1,6 +1,6 @@ /* Common target dependent code for Alpha BSD's. - Copyright (C) 2002-2016 Free Software Foundation, Inc. + Copyright (C) 2002-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/alphafbsd-tdep.c b/gdb/alphafbsd-tdep.c index 84fedc27f..2f99eeb38 100644 --- a/gdb/alphafbsd-tdep.c +++ b/gdb/alphafbsd-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for FreeBSD/alpha. - Copyright (C) 2001-2016 Free Software Foundation, Inc. + Copyright (C) 2001-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/alphanbsd-tdep.c b/gdb/alphanbsd-tdep.c index abe3926e4..feb431933 100644 --- a/gdb/alphanbsd-tdep.c +++ b/gdb/alphanbsd-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for NetBSD/alpha. - Copyright (C) 2002-2016 Free Software Foundation, Inc. + Copyright (C) 2002-2017 Free Software Foundation, Inc. Contributed by Wasabi Systems, Inc. diff --git a/gdb/alphaobsd-tdep.c b/gdb/alphaobsd-tdep.c index 9c04da097..21fa50eb5 100644 --- a/gdb/alphaobsd-tdep.c +++ b/gdb/alphaobsd-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for OpenBSD/alpha. - Copyright (C) 2006-2016 Free Software Foundation, Inc. + Copyright (C) 2006-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/amd64-darwin-tdep.c b/gdb/amd64-darwin-tdep.c index b99a30b0b..db400cd0c 100644 --- a/gdb/amd64-darwin-tdep.c +++ b/gdb/amd64-darwin-tdep.c @@ -1,5 +1,5 @@ /* Darwin support for GDB, the GNU debugger. - Copyright (C) 1997-2016 Free Software Foundation, Inc. + Copyright (C) 1997-2017 Free Software Foundation, Inc. Contributed by Apple Computer, Inc. diff --git a/gdb/amd64-darwin-tdep.h b/gdb/amd64-darwin-tdep.h index 47fc5a62f..10260de1a 100644 --- a/gdb/amd64-darwin-tdep.h +++ b/gdb/amd64-darwin-tdep.h @@ -1,6 +1,6 @@ /* Target-dependent code for Darwin x86-64. - Copyright (C) 2009-2016 Free Software Foundation, Inc. + Copyright (C) 2009-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/amd64-dicos-tdep.c b/gdb/amd64-dicos-tdep.c index e2749a528..ee4089121 100644 --- a/gdb/amd64-dicos-tdep.c +++ b/gdb/amd64-dicos-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for DICOS running on x86-64's, for GDB. - Copyright (C) 2009-2016 Free Software Foundation, Inc. + Copyright (C) 2009-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/amd64-linux-nat.c b/gdb/amd64-linux-nat.c index 5122b045e..4a2036b0f 100644 --- a/gdb/amd64-linux-nat.c +++ b/gdb/amd64-linux-nat.c @@ -1,6 +1,6 @@ /* Native-dependent code for GNU/Linux x86-64. - Copyright (C) 2001-2016 Free Software Foundation, Inc. + Copyright (C) 2001-2017 Free Software Foundation, Inc. Contributed by Jiri Smid, SuSE Labs. This file is part of GDB. diff --git a/gdb/amd64-linux-tdep.c b/gdb/amd64-linux-tdep.c index 3f2a92bdf..1e9f75f2c 100644 --- a/gdb/amd64-linux-tdep.c +++ b/gdb/amd64-linux-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for GNU/Linux x86-64. - Copyright (C) 2001-2016 Free Software Foundation, Inc. + Copyright (C) 2001-2017 Free Software Foundation, Inc. Contributed by Jiri Smid, SuSE Labs. This file is part of GDB. diff --git a/gdb/amd64-linux-tdep.h b/gdb/amd64-linux-tdep.h index d64d5d645..5d032a682 100644 --- a/gdb/amd64-linux-tdep.h +++ b/gdb/amd64-linux-tdep.h @@ -1,6 +1,6 @@ /* Target-dependent code for GNU/Linux AMD64. - Copyright (C) 2006-2016 Free Software Foundation, Inc. + Copyright (C) 2006-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/amd64-nat.c b/gdb/amd64-nat.c index ad5df57a3..18c8a99ae 100644 --- a/gdb/amd64-nat.c +++ b/gdb/amd64-nat.c @@ -1,6 +1,6 @@ /* Native-dependent code for AMD64. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/amd64-nat.h b/gdb/amd64-nat.h index b3e3ede01..16d81b0db 100644 --- a/gdb/amd64-nat.h +++ b/gdb/amd64-nat.h @@ -1,6 +1,6 @@ /* Native-dependent code for AMD64. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/amd64-sol2-tdep.c b/gdb/amd64-sol2-tdep.c index 42a9d15e4..51fe9dbe4 100644 --- a/gdb/amd64-sol2-tdep.c +++ b/gdb/amd64-sol2-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for AMD64 Solaris. - Copyright (C) 2001-2016 Free Software Foundation, Inc. + Copyright (C) 2001-2017 Free Software Foundation, Inc. Contributed by Joseph Myers, CodeSourcery, LLC. diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index 41b97836c..3bc91ae02 100644 --- a/gdb/amd64-tdep.c +++ b/gdb/amd64-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for AMD64. - Copyright (C) 2001-2016 Free Software Foundation, Inc. + Copyright (C) 2001-2017 Free Software Foundation, Inc. Contributed by Jiri Smid, SuSE Labs. diff --git a/gdb/amd64-tdep.h b/gdb/amd64-tdep.h index 2691e99e8..758c9b2a3 100644 --- a/gdb/amd64-tdep.h +++ b/gdb/amd64-tdep.h @@ -1,6 +1,6 @@ /* Target-dependent definitions for AMD64. - Copyright (C) 2001-2016 Free Software Foundation, Inc. + Copyright (C) 2001-2017 Free Software Foundation, Inc. Contributed by Jiri Smid, SuSE Labs. This file is part of GDB. diff --git a/gdb/amd64-windows-nat.c b/gdb/amd64-windows-nat.c index fc17b744f..fd79bfc16 100644 --- a/gdb/amd64-windows-nat.c +++ b/gdb/amd64-windows-nat.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2008-2016 Free Software Foundation, Inc. +/* Copyright (C) 2008-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/amd64-windows-tdep.c b/gdb/amd64-windows-tdep.c index 1bec6deb9..1a033365a 100644 --- a/gdb/amd64-windows-tdep.c +++ b/gdb/amd64-windows-tdep.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2009-2016 Free Software Foundation, Inc. +/* Copyright (C) 2009-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/amd64bsd-nat.c b/gdb/amd64bsd-nat.c index b87672ac7..d6bae2e64 100644 --- a/gdb/amd64bsd-nat.c +++ b/gdb/amd64bsd-nat.c @@ -1,6 +1,6 @@ /* Native-dependent code for AMD64 BSD's. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/amd64fbsd-nat.c b/gdb/amd64fbsd-nat.c index 66c374c22..96788b647 100644 --- a/gdb/amd64fbsd-nat.c +++ b/gdb/amd64fbsd-nat.c @@ -1,6 +1,6 @@ /* Native-dependent code for FreeBSD/amd64. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/amd64fbsd-tdep.c b/gdb/amd64fbsd-tdep.c index dd71066c6..ffb451628 100644 --- a/gdb/amd64fbsd-tdep.c +++ b/gdb/amd64fbsd-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for FreeBSD/amd64. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/amd64nbsd-nat.c b/gdb/amd64nbsd-nat.c index 97910174d..560ae89c7 100644 --- a/gdb/amd64nbsd-nat.c +++ b/gdb/amd64nbsd-nat.c @@ -1,6 +1,6 @@ /* Native-dependent code for NetBSD/amd64. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/amd64nbsd-tdep.c b/gdb/amd64nbsd-tdep.c index 9e3cb11e7..004d3a8bc 100644 --- a/gdb/amd64nbsd-tdep.c +++ b/gdb/amd64nbsd-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for NetBSD/amd64. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/amd64obsd-nat.c b/gdb/amd64obsd-nat.c index 7256dec89..1c46581f8 100644 --- a/gdb/amd64obsd-nat.c +++ b/gdb/amd64obsd-nat.c @@ -1,6 +1,6 @@ /* Native-dependent code for OpenBSD/amd64. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/amd64obsd-tdep.c b/gdb/amd64obsd-tdep.c index 7c79e44bd..5f8e2c984 100644 --- a/gdb/amd64obsd-tdep.c +++ b/gdb/amd64obsd-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for OpenBSD/amd64. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/annotate.c b/gdb/annotate.c index 64175a442..426005adb 100644 --- a/gdb/annotate.c +++ b/gdb/annotate.c @@ -1,5 +1,5 @@ /* Annotation routines for GDB. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/annotate.h b/gdb/annotate.h index a78ad60ca..a1454a122 100644 --- a/gdb/annotate.h +++ b/gdb/annotate.h @@ -1,5 +1,5 @@ /* Annotation routines for GDB. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index 53121bcaf..5da6f0cf9 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -1,6 +1,6 @@ /* Dynamic architecture support for GDB, the GNU debugger. - Copyright (C) 1998-2016 Free Software Foundation, Inc. + Copyright (C) 1998-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/arch-utils.h b/gdb/arch-utils.h index ad3f126a8..eb67a234b 100644 --- a/gdb/arch-utils.h +++ b/gdb/arch-utils.h @@ -1,6 +1,6 @@ /* Dynamic architecture support for GDB, the GNU debugger. - Copyright (C) 1998-2016 Free Software Foundation, Inc. + Copyright (C) 1998-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/arch/aarch64-insn.c b/gdb/arch/aarch64-insn.c index 772512b63..803365df3 100644 --- a/gdb/arch/aarch64-insn.c +++ b/gdb/arch/aarch64-insn.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2009-2016 Free Software Foundation, Inc. +/* Copyright (C) 2009-2017 Free Software Foundation, Inc. Contributed by ARM Ltd. This file is part of GDB. diff --git a/gdb/arch/aarch64-insn.h b/gdb/arch/aarch64-insn.h index a79951583..3709bf70d 100644 --- a/gdb/arch/aarch64-insn.h +++ b/gdb/arch/aarch64-insn.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2009-2016 Free Software Foundation, Inc. +/* Copyright (C) 2009-2017 Free Software Foundation, Inc. Contributed by ARM Ltd. This file is part of GDB. diff --git a/gdb/arch/arm-get-next-pcs.c b/gdb/arch/arm-get-next-pcs.c index f3e9fd975..398dd59ac 100644 --- a/gdb/arch/arm-get-next-pcs.c +++ b/gdb/arch/arm-get-next-pcs.c @@ -1,6 +1,6 @@ /* Common code for ARM software single stepping support. - Copyright (C) 1988-2016 Free Software Foundation, Inc. + Copyright (C) 1988-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/arch/arm-get-next-pcs.h b/gdb/arch/arm-get-next-pcs.h index 5525ee219..2300ac1d7 100644 --- a/gdb/arch/arm-get-next-pcs.h +++ b/gdb/arch/arm-get-next-pcs.h @@ -1,6 +1,6 @@ /* Common code for ARM software single stepping support. - Copyright (C) 1988-2016 Free Software Foundation, Inc. + Copyright (C) 1988-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/arch/arm-linux.c b/gdb/arch/arm-linux.c index 7e240fe7a..943efe7aa 100644 --- a/gdb/arch/arm-linux.c +++ b/gdb/arch/arm-linux.c @@ -1,6 +1,6 @@ /* Common target dependent code for GNU/Linux on ARM systems. - Copyright (C) 1999-2016 Free Software Foundation, Inc. + Copyright (C) 1999-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/arch/arm-linux.h b/gdb/arch/arm-linux.h index ed83da9c7..05ef6c454 100644 --- a/gdb/arch/arm-linux.h +++ b/gdb/arch/arm-linux.h @@ -1,6 +1,6 @@ /* Common target dependent code for GNU/Linux on ARM systems. - Copyright (C) 1999-2016 Free Software Foundation, Inc. + Copyright (C) 1999-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/arch/arm.c b/gdb/arch/arm.c index b6770fe43..47c6d0079 100644 --- a/gdb/arch/arm.c +++ b/gdb/arch/arm.c @@ -1,6 +1,6 @@ /* Common target dependent code for GDB on ARM systems. - Copyright (C) 1988-2016 Free Software Foundation, Inc. + Copyright (C) 1988-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/arch/arm.h b/gdb/arch/arm.h index fcde3d0e4..23cc6909d 100644 --- a/gdb/arch/arm.h +++ b/gdb/arch/arm.h @@ -1,5 +1,5 @@ /* Common target dependent code for GDB on ARM systems. - Copyright (C) 1988-2016 Free Software Foundation, Inc. + Copyright (C) 1988-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/arch/xtensa.h b/gdb/arch/xtensa.h index d523200bc..2c328c897 100644 --- a/gdb/arch/xtensa.h +++ b/gdb/arch/xtensa.h @@ -1,6 +1,6 @@ /* Common Target-dependent code for the Xtensa port of GDB, the GNU debugger. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/arm-linux-nat.c b/gdb/arm-linux-nat.c index d11bdc6e2..3c48812c7 100644 --- a/gdb/arm-linux-nat.c +++ b/gdb/arm-linux-nat.c @@ -1,5 +1,5 @@ /* GNU/Linux on ARM native support. - Copyright (C) 1999-2016 Free Software Foundation, Inc. + Copyright (C) 1999-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c index 55bbae703..4ecbbd5a4 100644 --- a/gdb/arm-linux-tdep.c +++ b/gdb/arm-linux-tdep.c @@ -1,6 +1,6 @@ /* GNU/Linux on ARM target support. - Copyright (C) 1999-2016 Free Software Foundation, Inc. + Copyright (C) 1999-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/arm-linux-tdep.h b/gdb/arm-linux-tdep.h index be18a64b6..263445567 100644 --- a/gdb/arm-linux-tdep.h +++ b/gdb/arm-linux-tdep.h @@ -1,6 +1,6 @@ /* GNU/Linux on ARM target support, prototypes. - Copyright (C) 2006-2016 Free Software Foundation, Inc. + Copyright (C) 2006-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/arm-symbian-tdep.c b/gdb/arm-symbian-tdep.c index 430b041d8..f55e12e08 100644 --- a/gdb/arm-symbian-tdep.c +++ b/gdb/arm-symbian-tdep.c @@ -1,6 +1,6 @@ /* ARM Symbian OS target support. - Copyright (C) 2008-2016 Free Software Foundation, Inc. + Copyright (C) 2008-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 2525bd8d8..b7b04c6ae 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -1,6 +1,6 @@ /* Common target dependent code for GDB on ARM systems. - Copyright (C) 1988-2016 Free Software Foundation, Inc. + Copyright (C) 1988-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/arm-tdep.h b/gdb/arm-tdep.h index e5d13bbee..de21275a6 100644 --- a/gdb/arm-tdep.h +++ b/gdb/arm-tdep.h @@ -1,5 +1,5 @@ /* Common target dependent code for GDB on ARM systems. - Copyright (C) 2002-2016 Free Software Foundation, Inc. + Copyright (C) 2002-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/arm-wince-tdep.c b/gdb/arm-wince-tdep.c index 6540f2ff4..76bf08fd6 100644 --- a/gdb/arm-wince-tdep.c +++ b/gdb/arm-wince-tdep.c @@ -1,7 +1,7 @@ /* Target-dependent code for Windows CE running on ARM processors, for GDB. - Copyright (C) 2007-2016 Free Software Foundation, Inc. + Copyright (C) 2007-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/armbsd-tdep.c b/gdb/armbsd-tdep.c index be0c0bbc2..3695cfc99 100644 --- a/gdb/armbsd-tdep.c +++ b/gdb/armbsd-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for ARM BSD's. - Copyright (C) 2006-2016 Free Software Foundation, Inc. + Copyright (C) 2006-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/armnbsd-nat.c b/gdb/armnbsd-nat.c index c8b549e47..51c92ea70 100644 --- a/gdb/armnbsd-nat.c +++ b/gdb/armnbsd-nat.c @@ -1,6 +1,6 @@ /* Native-dependent code for BSD Unix running on ARM's, for GDB. - Copyright (C) 1988-2016 Free Software Foundation, Inc. + Copyright (C) 1988-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/armnbsd-tdep.c b/gdb/armnbsd-tdep.c index 259853c64..cf02b916a 100644 --- a/gdb/armnbsd-tdep.c +++ b/gdb/armnbsd-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for NetBSD/arm. - Copyright (C) 2002-2016 Free Software Foundation, Inc. + Copyright (C) 2002-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/armobsd-tdep.c b/gdb/armobsd-tdep.c index 5ccf1d146..ec1ab2457 100644 --- a/gdb/armobsd-tdep.c +++ b/gdb/armobsd-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for OpenBSD/arm. - Copyright (C) 2006-2016 Free Software Foundation, Inc. + Copyright (C) 2006-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/auto-load.c b/gdb/auto-load.c index de6411202..5ee874e98 100644 --- a/gdb/auto-load.c +++ b/gdb/auto-load.c @@ -1,6 +1,6 @@ /* GDB routines for supporting auto-loaded scripts. - Copyright (C) 2012-2016 Free Software Foundation, Inc. + Copyright (C) 2012-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/auto-load.h b/gdb/auto-load.h index f6afb436c..f8b5b0d7a 100644 --- a/gdb/auto-load.h +++ b/gdb/auto-load.h @@ -1,6 +1,6 @@ /* GDB routines for supporting auto-loaded scripts. - Copyright (C) 2012-2016 Free Software Foundation, Inc. + Copyright (C) 2012-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/auxv.c b/gdb/auxv.c index de9205d5a..3daf52581 100644 --- a/gdb/auxv.c +++ b/gdb/auxv.c @@ -1,6 +1,6 @@ /* Auxiliary vector support for GDB, the GNU debugger. - Copyright (C) 2004-2016 Free Software Foundation, Inc. + Copyright (C) 2004-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/auxv.h b/gdb/auxv.h index 916f67482..570a44a9e 100644 --- a/gdb/auxv.h +++ b/gdb/auxv.h @@ -1,6 +1,6 @@ /* Auxiliary vector support for GDB, the GNU debugger. - Copyright (C) 2004-2016 Free Software Foundation, Inc. + Copyright (C) 2004-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c index f6f43a0a2..f8af9ac34 100644 --- a/gdb/avr-tdep.c +++ b/gdb/avr-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for Atmel AVR, for GDB. - Copyright (C) 1996-2016 Free Software Foundation, Inc. + Copyright (C) 1996-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c index 7c6cb6481..0eea55185 100644 --- a/gdb/ax-gdb.c +++ b/gdb/ax-gdb.c @@ -1,6 +1,6 @@ /* GDB-specific functions for operating on agent expressions. - Copyright (C) 1998-2016 Free Software Foundation, Inc. + Copyright (C) 1998-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/ax-gdb.h b/gdb/ax-gdb.h index dacacfc9c..3f65aeb54 100644 --- a/gdb/ax-gdb.h +++ b/gdb/ax-gdb.h @@ -1,5 +1,5 @@ /* GDB-specific functions for operating on agent expressions - Copyright (C) 1998-2016 Free Software Foundation, Inc. + Copyright (C) 1998-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/ax-general.c b/gdb/ax-general.c index 7f27a458a..b942db28e 100644 --- a/gdb/ax-general.c +++ b/gdb/ax-general.c @@ -1,5 +1,5 @@ /* Functions for manipulating expressions designed to be executed on the agent - Copyright (C) 1998-2016 Free Software Foundation, Inc. + Copyright (C) 1998-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/ax.h b/gdb/ax.h index 536efe8e6..ec6c23d75 100644 --- a/gdb/ax.h +++ b/gdb/ax.h @@ -1,5 +1,5 @@ /* Definitions for expressions designed to be executed on the agent - Copyright (C) 1998-2016 Free Software Foundation, Inc. + Copyright (C) 1998-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/bcache.c b/gdb/bcache.c index 65ff8445a..d6c0921fd 100644 --- a/gdb/bcache.c +++ b/gdb/bcache.c @@ -2,7 +2,7 @@ Written by Fred Fish Rewritten by Jim Blandy - Copyright (C) 1999-2016 Free Software Foundation, Inc. + Copyright (C) 1999-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/bcache.h b/gdb/bcache.h index ee1cd73bb..8ec0bde77 100644 --- a/gdb/bcache.h +++ b/gdb/bcache.h @@ -2,7 +2,7 @@ Written by Fred Fish Rewritten by Jim Blandy - Copyright (C) 1999-2016 Free Software Foundation, Inc. + Copyright (C) 1999-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/bfd-target.c b/gdb/bfd-target.c index 25eeb74e3..af293db66 100644 --- a/gdb/bfd-target.c +++ b/gdb/bfd-target.c @@ -1,6 +1,6 @@ /* Very simple "bfd" target, for GDB, the GNU debugger. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/bfd-target.h b/gdb/bfd-target.h index 08cd33669..9f85cf925 100644 --- a/gdb/bfd-target.h +++ b/gdb/bfd-target.h @@ -1,6 +1,6 @@ /* Very simple "bfd" target, for GDB, the GNU debugger. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/bfin-linux-tdep.c b/gdb/bfin-linux-tdep.c index 94bb6097c..cd877699b 100644 --- a/gdb/bfin-linux-tdep.c +++ b/gdb/bfin-linux-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for Analog Devices Blackfin processor, for GDB. - Copyright (C) 2005-2016 Free Software Foundation, Inc. + Copyright (C) 2005-2017 Free Software Foundation, Inc. Contributed by Analog Devices, Inc. diff --git a/gdb/bfin-tdep.c b/gdb/bfin-tdep.c index d07bf6e79..c2f3d9715 100644 --- a/gdb/bfin-tdep.c +++ b/gdb/bfin-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for Analog Devices Blackfin processor, for GDB. - Copyright (C) 2005-2016 Free Software Foundation, Inc. + Copyright (C) 2005-2017 Free Software Foundation, Inc. Contributed by Analog Devices, Inc. diff --git a/gdb/bfin-tdep.h b/gdb/bfin-tdep.h index 11143d593..164466c2d 100644 --- a/gdb/bfin-tdep.h +++ b/gdb/bfin-tdep.h @@ -1,6 +1,6 @@ /* Target-dependent code for Analog Devices Blackfin processor, for GDB. - Copyright (C) 2005-2016 Free Software Foundation, Inc. + Copyright (C) 2005-2017 Free Software Foundation, Inc. Contributed by Analog Devices, Inc. diff --git a/gdb/block.c b/gdb/block.c index 0dc6b9dc8..670a49ddf 100644 --- a/gdb/block.c +++ b/gdb/block.c @@ -1,6 +1,6 @@ /* Block-related functions for the GNU debugger, GDB. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/block.h b/gdb/block.h index 1958bfdce..eeb5ed43a 100644 --- a/gdb/block.h +++ b/gdb/block.h @@ -1,6 +1,6 @@ /* Code dealing with blocks for GDB. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/blockframe.c b/gdb/blockframe.c index 868db8445..5ba993cdf 100644 --- a/gdb/blockframe.c +++ b/gdb/blockframe.c @@ -1,7 +1,7 @@ /* Get info from stack frames; convert between frames, blocks, functions and pc values. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/break-catch-sig.c b/gdb/break-catch-sig.c index 06ee44c1c..c15afd4c1 100644 --- a/gdb/break-catch-sig.c +++ b/gdb/break-catch-sig.c @@ -1,6 +1,6 @@ /* Everything about signal catchpoints, for GDB. - Copyright (C) 2011-2016 Free Software Foundation, Inc. + Copyright (C) 2011-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/break-catch-syscall.c b/gdb/break-catch-syscall.c index 63b8cd296..387e88ca9 100644 --- a/gdb/break-catch-syscall.c +++ b/gdb/break-catch-syscall.c @@ -1,6 +1,6 @@ /* Everything about syscall catchpoints, for GDB. - Copyright (C) 2009-2016 Free Software Foundation, Inc. + Copyright (C) 2009-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/break-catch-throw.c b/gdb/break-catch-throw.c index 153db713e..3eb4dcb4d 100644 --- a/gdb/break-catch-throw.c +++ b/gdb/break-catch-throw.c @@ -1,6 +1,6 @@ /* Everything about catch/throw catchpoints, for GDB. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 6bb6bbfbe..ec9ee6f27 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -1,6 +1,6 @@ /* Everything about breakpoints, for GDB. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 4bdf0d5b4..54e4611d1 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -1,5 +1,5 @@ /* Data structures associated with breakpoints in GDB. - Copyright (C) 1992-2016 Free Software Foundation, Inc. + Copyright (C) 1992-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c index 9e15fabf3..9f4f9e71e 100644 --- a/gdb/bsd-kvm.c +++ b/gdb/bsd-kvm.c @@ -1,6 +1,6 @@ /* BSD Kernel Data Access Library (libkvm) interface. - Copyright (C) 2004-2016 Free Software Foundation, Inc. + Copyright (C) 2004-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/bsd-kvm.h b/gdb/bsd-kvm.h index ae8306784..3634878f2 100644 --- a/gdb/bsd-kvm.h +++ b/gdb/bsd-kvm.h @@ -1,6 +1,6 @@ /* BSD Kernel Data Access Library (libkvm) interface. - Copyright (C) 2004-2016 Free Software Foundation, Inc. + Copyright (C) 2004-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/bsd-uthread.c b/gdb/bsd-uthread.c index 4ce0a6c39..41c7d59be 100644 --- a/gdb/bsd-uthread.c +++ b/gdb/bsd-uthread.c @@ -1,6 +1,6 @@ /* BSD user-level threads support. - Copyright (C) 2005-2016 Free Software Foundation, Inc. + Copyright (C) 2005-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/bsd-uthread.h b/gdb/bsd-uthread.h index f70d0592f..7e55913a7 100644 --- a/gdb/bsd-uthread.h +++ b/gdb/bsd-uthread.h @@ -1,6 +1,6 @@ /* BSD user-level threads support. - Copyright (C) 2005-2016 Free Software Foundation, Inc. + Copyright (C) 2005-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/btrace.c b/gdb/btrace.c index f2cb7504e..2bbf54a02 100644 --- a/gdb/btrace.c +++ b/gdb/btrace.c @@ -1,6 +1,6 @@ /* Branch trace support for GDB, the GNU debugger. - Copyright (C) 2013-2016 Free Software Foundation, Inc. + Copyright (C) 2013-2017 Free Software Foundation, Inc. Contributed by Intel Corp. diff --git a/gdb/btrace.h b/gdb/btrace.h index 202b986d0..dcc776a4d 100644 --- a/gdb/btrace.h +++ b/gdb/btrace.h @@ -1,6 +1,6 @@ /* Branch trace support for GDB, the GNU debugger. - Copyright (C) 2013-2016 Free Software Foundation, Inc. + Copyright (C) 2013-2017 Free Software Foundation, Inc. Contributed by Intel Corp. . diff --git a/gdb/build-id.c b/gdb/build-id.c index 886f2d7af..ed66bc6c9 100644 --- a/gdb/build-id.c +++ b/gdb/build-id.c @@ -1,6 +1,6 @@ /* build-id-related functions. - Copyright (C) 1991-2016 Free Software Foundation, Inc. + Copyright (C) 1991-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/build-id.h b/gdb/build-id.h index ddf076524..6826807c6 100644 --- a/gdb/build-id.h +++ b/gdb/build-id.h @@ -1,6 +1,6 @@ /* build-id-related functions. - Copyright (C) 1991-2016 Free Software Foundation, Inc. + Copyright (C) 1991-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/build-with-cxx.m4 b/gdb/build-with-cxx.m4 index 58caa8a40..8fe45811e 100644 --- a/gdb/build-with-cxx.m4 +++ b/gdb/build-with-cxx.m4 @@ -1,4 +1,4 @@ -dnl Copyright (C) 2014-2016 Free Software Foundation, Inc. +dnl Copyright (C) 2014-2017 Free Software Foundation, Inc. dnl dnl This file is part of GDB. dnl diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 56be8ac92..76d74f89a 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -1,5 +1,5 @@ /* Support routines for building symbol tables in GDB's internal format. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/buildsym.h b/gdb/buildsym.h index 3e0132782..fc5f0e7df 100644 --- a/gdb/buildsym.h +++ b/gdb/buildsym.h @@ -1,5 +1,5 @@ /* Build symbol tables in GDB's internal format. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/c-exp.c b/gdb/c-exp.c index cacbd4d10..e5f54af7e 100644 --- a/gdb/c-exp.c +++ b/gdb/c-exp.c @@ -1,8 +1,8 @@ -/* A Bison parser, made by GNU Bison 3.0.2. */ +/* A Bison parser, made by GNU Bison 3.0.4. */ /* Bison implementation for Yacc-like parsers in C - Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -44,7 +44,7 @@ #define YYBISON 1 /* Bison version. */ -#define YYBISON_VERSION "3.0.2" +#define YYBISON_VERSION "3.0.4" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -269,7 +269,7 @@ extern int yydebug; /* Value type. */ #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -typedef union YYSTYPE YYSTYPE; + union YYSTYPE { #line 84 "c-exp.y" /* yacc.c:355 */ @@ -306,6 +306,8 @@ union YYSTYPE #line 308 "c-exp.c" /* yacc.c:355 */ }; + +typedef union YYSTYPE YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define YYSTYPE_IS_DECLARED 1 #endif @@ -333,7 +335,7 @@ static void c_print_token (FILE *file, int type, YYSTYPE value); #define YYPRINT(FILE, TYPE, VALUE) c_print_token (FILE, TYPE, VALUE) #endif -#line 337 "c-exp.c" /* yacc.c:358 */ +#line 339 "c-exp.c" /* yacc.c:358 */ #ifdef short # undef short @@ -1983,7 +1985,7 @@ yyreduce: { write_exp_elt_opcode(pstate, OP_TYPE); write_exp_elt_type(pstate, (yyvsp[0].tval)); write_exp_elt_opcode(pstate, OP_TYPE);} -#line 1988 "c-exp.c" /* yacc.c:1646 */ +#line 1990 "c-exp.c" /* yacc.c:1646 */ break; case 5: @@ -1991,7 +1993,7 @@ yyreduce: { write_exp_elt_opcode (pstate, OP_TYPEOF); } -#line 1996 "c-exp.c" /* yacc.c:1646 */ +#line 1998 "c-exp.c" /* yacc.c:1646 */ break; case 6: @@ -2001,7 +2003,7 @@ yyreduce: write_exp_elt_type (pstate, (yyvsp[-1].tval)); write_exp_elt_opcode (pstate, OP_TYPE); } -#line 2006 "c-exp.c" /* yacc.c:1646 */ +#line 2008 "c-exp.c" /* yacc.c:1646 */ break; case 7: @@ -2009,91 +2011,91 @@ yyreduce: { write_exp_elt_opcode (pstate, OP_DECLTYPE); } -#line 2014 "c-exp.c" /* yacc.c:1646 */ +#line 2016 "c-exp.c" /* yacc.c:1646 */ break; case 9: #line 260 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_COMMA); } -#line 2020 "c-exp.c" /* yacc.c:1646 */ +#line 2022 "c-exp.c" /* yacc.c:1646 */ break; case 10: #line 265 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_IND); } -#line 2026 "c-exp.c" /* yacc.c:1646 */ +#line 2028 "c-exp.c" /* yacc.c:1646 */ break; case 11: #line 269 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_ADDR); } -#line 2032 "c-exp.c" /* yacc.c:1646 */ +#line 2034 "c-exp.c" /* yacc.c:1646 */ break; case 12: #line 273 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_NEG); } -#line 2038 "c-exp.c" /* yacc.c:1646 */ +#line 2040 "c-exp.c" /* yacc.c:1646 */ break; case 13: #line 277 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_PLUS); } -#line 2044 "c-exp.c" /* yacc.c:1646 */ +#line 2046 "c-exp.c" /* yacc.c:1646 */ break; case 14: #line 281 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_LOGICAL_NOT); } -#line 2050 "c-exp.c" /* yacc.c:1646 */ +#line 2052 "c-exp.c" /* yacc.c:1646 */ break; case 15: #line 285 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_COMPLEMENT); } -#line 2056 "c-exp.c" /* yacc.c:1646 */ +#line 2058 "c-exp.c" /* yacc.c:1646 */ break; case 16: #line 289 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_PREINCREMENT); } -#line 2062 "c-exp.c" /* yacc.c:1646 */ +#line 2064 "c-exp.c" /* yacc.c:1646 */ break; case 17: #line 293 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_PREDECREMENT); } -#line 2068 "c-exp.c" /* yacc.c:1646 */ +#line 2070 "c-exp.c" /* yacc.c:1646 */ break; case 18: #line 297 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_POSTINCREMENT); } -#line 2074 "c-exp.c" /* yacc.c:1646 */ +#line 2076 "c-exp.c" /* yacc.c:1646 */ break; case 19: #line 301 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_POSTDECREMENT); } -#line 2080 "c-exp.c" /* yacc.c:1646 */ +#line 2082 "c-exp.c" /* yacc.c:1646 */ break; case 20: #line 305 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, OP_TYPEID); } -#line 2086 "c-exp.c" /* yacc.c:1646 */ +#line 2088 "c-exp.c" /* yacc.c:1646 */ break; case 21: #line 309 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, OP_TYPEID); } -#line 2092 "c-exp.c" /* yacc.c:1646 */ +#line 2094 "c-exp.c" /* yacc.c:1646 */ break; case 22: #line 313 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_SIZEOF); } -#line 2098 "c-exp.c" /* yacc.c:1646 */ +#line 2100 "c-exp.c" /* yacc.c:1646 */ break; case 23: @@ -2101,7 +2103,7 @@ yyreduce: { write_exp_elt_opcode (pstate, STRUCTOP_PTR); write_exp_string (pstate, (yyvsp[0].sval)); write_exp_elt_opcode (pstate, STRUCTOP_PTR); } -#line 2106 "c-exp.c" /* yacc.c:1646 */ +#line 2108 "c-exp.c" /* yacc.c:1646 */ break; case 24: @@ -2110,7 +2112,7 @@ yyreduce: write_exp_elt_opcode (pstate, STRUCTOP_PTR); write_exp_string (pstate, (yyvsp[-1].sval)); write_exp_elt_opcode (pstate, STRUCTOP_PTR); } -#line 2115 "c-exp.c" /* yacc.c:1646 */ +#line 2117 "c-exp.c" /* yacc.c:1646 */ break; case 25: @@ -2122,7 +2124,7 @@ yyreduce: s.length = 0; write_exp_string (pstate, s); write_exp_elt_opcode (pstate, STRUCTOP_PTR); } -#line 2127 "c-exp.c" /* yacc.c:1646 */ +#line 2129 "c-exp.c" /* yacc.c:1646 */ break; case 26: @@ -2130,7 +2132,7 @@ yyreduce: { write_exp_elt_opcode (pstate, STRUCTOP_PTR); write_destructor_name (pstate, (yyvsp[0].sval)); write_exp_elt_opcode (pstate, STRUCTOP_PTR); } -#line 2135 "c-exp.c" /* yacc.c:1646 */ +#line 2137 "c-exp.c" /* yacc.c:1646 */ break; case 27: @@ -2139,7 +2141,7 @@ yyreduce: write_exp_elt_opcode (pstate, STRUCTOP_PTR); write_destructor_name (pstate, (yyvsp[-1].sval)); write_exp_elt_opcode (pstate, STRUCTOP_PTR); } -#line 2144 "c-exp.c" /* yacc.c:1646 */ +#line 2146 "c-exp.c" /* yacc.c:1646 */ break; case 28: @@ -2149,13 +2151,13 @@ yyreduce: static member! FIXME */ write_exp_elt_opcode (pstate, UNOP_ADDR); write_exp_elt_opcode (pstate, STRUCTOP_MPTR); } -#line 2154 "c-exp.c" /* yacc.c:1646 */ +#line 2156 "c-exp.c" /* yacc.c:1646 */ break; case 29: #line 361 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, STRUCTOP_MPTR); } -#line 2160 "c-exp.c" /* yacc.c:1646 */ +#line 2162 "c-exp.c" /* yacc.c:1646 */ break; case 30: @@ -2163,7 +2165,7 @@ yyreduce: { write_exp_elt_opcode (pstate, STRUCTOP_STRUCT); write_exp_string (pstate, (yyvsp[0].sval)); write_exp_elt_opcode (pstate, STRUCTOP_STRUCT); } -#line 2168 "c-exp.c" /* yacc.c:1646 */ +#line 2170 "c-exp.c" /* yacc.c:1646 */ break; case 31: @@ -2172,7 +2174,7 @@ yyreduce: write_exp_elt_opcode (pstate, STRUCTOP_STRUCT); write_exp_string (pstate, (yyvsp[-1].sval)); write_exp_elt_opcode (pstate, STRUCTOP_STRUCT); } -#line 2177 "c-exp.c" /* yacc.c:1646 */ +#line 2179 "c-exp.c" /* yacc.c:1646 */ break; case 32: @@ -2184,7 +2186,7 @@ yyreduce: s.length = 0; write_exp_string (pstate, s); write_exp_elt_opcode (pstate, STRUCTOP_STRUCT); } -#line 2189 "c-exp.c" /* yacc.c:1646 */ +#line 2191 "c-exp.c" /* yacc.c:1646 */ break; case 33: @@ -2192,7 +2194,7 @@ yyreduce: { write_exp_elt_opcode (pstate, STRUCTOP_STRUCT); write_destructor_name (pstate, (yyvsp[0].sval)); write_exp_elt_opcode (pstate, STRUCTOP_STRUCT); } -#line 2197 "c-exp.c" /* yacc.c:1646 */ +#line 2199 "c-exp.c" /* yacc.c:1646 */ break; case 34: @@ -2201,7 +2203,7 @@ yyreduce: write_exp_elt_opcode (pstate, STRUCTOP_STRUCT); write_destructor_name (pstate, (yyvsp[-1].sval)); write_exp_elt_opcode (pstate, STRUCTOP_STRUCT); } -#line 2206 "c-exp.c" /* yacc.c:1646 */ +#line 2208 "c-exp.c" /* yacc.c:1646 */ break; case 35: @@ -2211,25 +2213,25 @@ yyreduce: static member! FIXME */ write_exp_elt_opcode (pstate, UNOP_ADDR); write_exp_elt_opcode (pstate, STRUCTOP_MEMBER); } -#line 2216 "c-exp.c" /* yacc.c:1646 */ +#line 2218 "c-exp.c" /* yacc.c:1646 */ break; case 36: #line 409 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, STRUCTOP_MEMBER); } -#line 2222 "c-exp.c" /* yacc.c:1646 */ +#line 2224 "c-exp.c" /* yacc.c:1646 */ break; case 37: #line 413 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_SUBSCRIPT); } -#line 2228 "c-exp.c" /* yacc.c:1646 */ +#line 2230 "c-exp.c" /* yacc.c:1646 */ break; case 38: #line 417 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_SUBSCRIPT); } -#line 2234 "c-exp.c" /* yacc.c:1646 */ +#line 2236 "c-exp.c" /* yacc.c:1646 */ break; case 39: @@ -2249,7 +2251,7 @@ yyreduce: write_exp_elt_opcode (pstate, OP_LONG); start_msglist(); } -#line 2254 "c-exp.c" /* yacc.c:1646 */ +#line 2256 "c-exp.c" /* yacc.c:1646 */ break; case 40: @@ -2258,7 +2260,7 @@ yyreduce: end_msglist (pstate); write_exp_elt_opcode (pstate, OP_OBJC_MSGCALL); } -#line 2263 "c-exp.c" /* yacc.c:1646 */ +#line 2265 "c-exp.c" /* yacc.c:1646 */ break; case 41: @@ -2271,7 +2273,7 @@ yyreduce: write_exp_elt_opcode (pstate, OP_LONG); start_msglist(); } -#line 2276 "c-exp.c" /* yacc.c:1646 */ +#line 2278 "c-exp.c" /* yacc.c:1646 */ break; case 42: @@ -2280,13 +2282,13 @@ yyreduce: end_msglist (pstate); write_exp_elt_opcode (pstate, OP_OBJC_MSGCALL); } -#line 2285 "c-exp.c" /* yacc.c:1646 */ +#line 2287 "c-exp.c" /* yacc.c:1646 */ break; case 43: #line 465 "c-exp.y" /* yacc.c:1646 */ { start_msglist(); } -#line 2291 "c-exp.c" /* yacc.c:1646 */ +#line 2293 "c-exp.c" /* yacc.c:1646 */ break; case 44: @@ -2295,37 +2297,37 @@ yyreduce: end_msglist (pstate); write_exp_elt_opcode (pstate, OP_OBJC_MSGCALL); } -#line 2300 "c-exp.c" /* yacc.c:1646 */ +#line 2302 "c-exp.c" /* yacc.c:1646 */ break; case 45: #line 474 "c-exp.y" /* yacc.c:1646 */ { add_msglist(&(yyvsp[0].sval), 0); } -#line 2306 "c-exp.c" /* yacc.c:1646 */ +#line 2308 "c-exp.c" /* yacc.c:1646 */ break; case 49: #line 483 "c-exp.y" /* yacc.c:1646 */ { add_msglist(&(yyvsp[-2].sval), 1); } -#line 2312 "c-exp.c" /* yacc.c:1646 */ +#line 2314 "c-exp.c" /* yacc.c:1646 */ break; case 50: #line 485 "c-exp.y" /* yacc.c:1646 */ { add_msglist(0, 1); } -#line 2318 "c-exp.c" /* yacc.c:1646 */ +#line 2320 "c-exp.c" /* yacc.c:1646 */ break; case 51: #line 487 "c-exp.y" /* yacc.c:1646 */ { add_msglist(0, 0); } -#line 2324 "c-exp.c" /* yacc.c:1646 */ +#line 2326 "c-exp.c" /* yacc.c:1646 */ break; case 52: #line 493 "c-exp.y" /* yacc.c:1646 */ { start_arglist (); } -#line 2330 "c-exp.c" /* yacc.c:1646 */ +#line 2332 "c-exp.c" /* yacc.c:1646 */ break; case 53: @@ -2334,7 +2336,7 @@ yyreduce: write_exp_elt_longcst (pstate, (LONGEST) end_arglist ()); write_exp_elt_opcode (pstate, OP_FUNCALL); } -#line 2339 "c-exp.c" /* yacc.c:1646 */ +#line 2341 "c-exp.c" /* yacc.c:1646 */ break; case 54: @@ -2355,7 +2357,7 @@ yyreduce: start_arglist (); } -#line 2360 "c-exp.c" /* yacc.c:1646 */ +#line 2362 "c-exp.c" /* yacc.c:1646 */ break; case 55: @@ -2366,25 +2368,25 @@ yyreduce: (LONGEST) end_arglist ()); write_exp_elt_opcode (pstate, OP_FUNCALL); } -#line 2371 "c-exp.c" /* yacc.c:1646 */ +#line 2373 "c-exp.c" /* yacc.c:1646 */ break; case 56: #line 528 "c-exp.y" /* yacc.c:1646 */ { start_arglist (); } -#line 2377 "c-exp.c" /* yacc.c:1646 */ +#line 2379 "c-exp.c" /* yacc.c:1646 */ break; case 58: #line 535 "c-exp.y" /* yacc.c:1646 */ { arglist_len = 1; } -#line 2383 "c-exp.c" /* yacc.c:1646 */ +#line 2385 "c-exp.c" /* yacc.c:1646 */ break; case 59: #line 539 "c-exp.y" /* yacc.c:1646 */ { arglist_len++; } -#line 2389 "c-exp.c" /* yacc.c:1646 */ +#line 2391 "c-exp.c" /* yacc.c:1646 */ break; case 60: @@ -2404,13 +2406,13 @@ yyreduce: write_exp_elt_opcode (pstate, TYPE_INSTANCE); VEC_free (type_ptr, type_list); } -#line 2409 "c-exp.c" /* yacc.c:1646 */ +#line 2411 "c-exp.c" /* yacc.c:1646 */ break; case 61: #line 561 "c-exp.y" /* yacc.c:1646 */ { (yyval.lval) = end_arglist () - 1; } -#line 2415 "c-exp.c" /* yacc.c:1646 */ +#line 2417 "c-exp.c" /* yacc.c:1646 */ break; case 62: @@ -2419,151 +2421,151 @@ yyreduce: write_exp_elt_longcst (pstate, (LONGEST) 0); write_exp_elt_longcst (pstate, (LONGEST) (yyvsp[0].lval)); write_exp_elt_opcode (pstate, OP_ARRAY); } -#line 2424 "c-exp.c" /* yacc.c:1646 */ +#line 2426 "c-exp.c" /* yacc.c:1646 */ break; case 63: #line 571 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_MEMVAL_TYPE); } -#line 2430 "c-exp.c" /* yacc.c:1646 */ +#line 2432 "c-exp.c" /* yacc.c:1646 */ break; case 64: #line 575 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_CAST_TYPE); } -#line 2436 "c-exp.c" /* yacc.c:1646 */ +#line 2438 "c-exp.c" /* yacc.c:1646 */ break; case 65: #line 579 "c-exp.y" /* yacc.c:1646 */ { } -#line 2442 "c-exp.c" /* yacc.c:1646 */ +#line 2444 "c-exp.c" /* yacc.c:1646 */ break; case 66: #line 585 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_REPEAT); } -#line 2448 "c-exp.c" /* yacc.c:1646 */ +#line 2450 "c-exp.c" /* yacc.c:1646 */ break; case 67: #line 589 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_MUL); } -#line 2454 "c-exp.c" /* yacc.c:1646 */ +#line 2456 "c-exp.c" /* yacc.c:1646 */ break; case 68: #line 593 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_DIV); } -#line 2460 "c-exp.c" /* yacc.c:1646 */ +#line 2462 "c-exp.c" /* yacc.c:1646 */ break; case 69: #line 597 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_REM); } -#line 2466 "c-exp.c" /* yacc.c:1646 */ +#line 2468 "c-exp.c" /* yacc.c:1646 */ break; case 70: #line 601 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_ADD); } -#line 2472 "c-exp.c" /* yacc.c:1646 */ +#line 2474 "c-exp.c" /* yacc.c:1646 */ break; case 71: #line 605 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_SUB); } -#line 2478 "c-exp.c" /* yacc.c:1646 */ +#line 2480 "c-exp.c" /* yacc.c:1646 */ break; case 72: #line 609 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_LSH); } -#line 2484 "c-exp.c" /* yacc.c:1646 */ +#line 2486 "c-exp.c" /* yacc.c:1646 */ break; case 73: #line 613 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_RSH); } -#line 2490 "c-exp.c" /* yacc.c:1646 */ +#line 2492 "c-exp.c" /* yacc.c:1646 */ break; case 74: #line 617 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_EQUAL); } -#line 2496 "c-exp.c" /* yacc.c:1646 */ +#line 2498 "c-exp.c" /* yacc.c:1646 */ break; case 75: #line 621 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_NOTEQUAL); } -#line 2502 "c-exp.c" /* yacc.c:1646 */ +#line 2504 "c-exp.c" /* yacc.c:1646 */ break; case 76: #line 625 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_LEQ); } -#line 2508 "c-exp.c" /* yacc.c:1646 */ +#line 2510 "c-exp.c" /* yacc.c:1646 */ break; case 77: #line 629 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_GEQ); } -#line 2514 "c-exp.c" /* yacc.c:1646 */ +#line 2516 "c-exp.c" /* yacc.c:1646 */ break; case 78: #line 633 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_LESS); } -#line 2520 "c-exp.c" /* yacc.c:1646 */ +#line 2522 "c-exp.c" /* yacc.c:1646 */ break; case 79: #line 637 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_GTR); } -#line 2526 "c-exp.c" /* yacc.c:1646 */ +#line 2528 "c-exp.c" /* yacc.c:1646 */ break; case 80: #line 641 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_BITWISE_AND); } -#line 2532 "c-exp.c" /* yacc.c:1646 */ +#line 2534 "c-exp.c" /* yacc.c:1646 */ break; case 81: #line 645 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_BITWISE_XOR); } -#line 2538 "c-exp.c" /* yacc.c:1646 */ +#line 2540 "c-exp.c" /* yacc.c:1646 */ break; case 82: #line 649 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_BITWISE_IOR); } -#line 2544 "c-exp.c" /* yacc.c:1646 */ +#line 2546 "c-exp.c" /* yacc.c:1646 */ break; case 83: #line 653 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_LOGICAL_AND); } -#line 2550 "c-exp.c" /* yacc.c:1646 */ +#line 2552 "c-exp.c" /* yacc.c:1646 */ break; case 84: #line 657 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_LOGICAL_OR); } -#line 2556 "c-exp.c" /* yacc.c:1646 */ +#line 2558 "c-exp.c" /* yacc.c:1646 */ break; case 85: #line 661 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, TERNOP_COND); } -#line 2562 "c-exp.c" /* yacc.c:1646 */ +#line 2564 "c-exp.c" /* yacc.c:1646 */ break; case 86: #line 665 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_ASSIGN); } -#line 2568 "c-exp.c" /* yacc.c:1646 */ +#line 2570 "c-exp.c" /* yacc.c:1646 */ break; case 87: @@ -2572,7 +2574,7 @@ yyreduce: write_exp_elt_opcode (pstate, (yyvsp[-1].opcode)); write_exp_elt_opcode (pstate, BINOP_ASSIGN_MODIFY); } -#line 2577 "c-exp.c" /* yacc.c:1646 */ +#line 2579 "c-exp.c" /* yacc.c:1646 */ break; case 88: @@ -2581,7 +2583,7 @@ yyreduce: write_exp_elt_type (pstate, (yyvsp[0].typed_val_int).type); write_exp_elt_longcst (pstate, (LONGEST) ((yyvsp[0].typed_val_int).val)); write_exp_elt_opcode (pstate, OP_LONG); } -#line 2586 "c-exp.c" /* yacc.c:1646 */ +#line 2588 "c-exp.c" /* yacc.c:1646 */ break; case 89: @@ -2592,7 +2594,7 @@ yyreduce: vec.tokens = &(yyvsp[0].tsval); write_exp_string_vector (pstate, (yyvsp[0].tsval).type, &vec); } -#line 2597 "c-exp.c" /* yacc.c:1646 */ +#line 2599 "c-exp.c" /* yacc.c:1646 */ break; case 90: @@ -2606,7 +2608,7 @@ yyreduce: (LONGEST) val.typed_val_int.val); write_exp_elt_opcode (pstate, OP_LONG); } -#line 2611 "c-exp.c" /* yacc.c:1646 */ +#line 2613 "c-exp.c" /* yacc.c:1646 */ break; case 91: @@ -2615,7 +2617,7 @@ yyreduce: write_exp_elt_type (pstate, (yyvsp[0].typed_val_float).type); write_exp_elt_dblcst (pstate, (yyvsp[0].typed_val_float).dval); write_exp_elt_opcode (pstate, OP_DOUBLE); } -#line 2620 "c-exp.c" /* yacc.c:1646 */ +#line 2622 "c-exp.c" /* yacc.c:1646 */ break; case 92: @@ -2624,7 +2626,7 @@ yyreduce: write_exp_elt_type (pstate, (yyvsp[0].typed_val_decfloat).type); write_exp_elt_decfloatcst (pstate, (yyvsp[0].typed_val_decfloat).val); write_exp_elt_opcode (pstate, OP_DECFLOAT); } -#line 2629 "c-exp.c" /* yacc.c:1646 */ +#line 2631 "c-exp.c" /* yacc.c:1646 */ break; case 94: @@ -2632,7 +2634,7 @@ yyreduce: { write_dollar_variable (pstate, (yyvsp[0].sval)); } -#line 2637 "c-exp.c" /* yacc.c:1646 */ +#line 2639 "c-exp.c" /* yacc.c:1646 */ break; case 95: @@ -2641,7 +2643,7 @@ yyreduce: write_exp_elt_opcode (pstate, OP_OBJC_SELECTOR); write_exp_string (pstate, (yyvsp[-1].sval)); write_exp_elt_opcode (pstate, OP_OBJC_SELECTOR); } -#line 2646 "c-exp.c" /* yacc.c:1646 */ +#line 2648 "c-exp.c" /* yacc.c:1646 */ break; case 96: @@ -2663,26 +2665,26 @@ yyreduce: write_exp_elt_longcst (pstate, (LONGEST) TYPE_LENGTH (type)); write_exp_elt_opcode (pstate, OP_LONG); } -#line 2668 "c-exp.c" /* yacc.c:1646 */ +#line 2670 "c-exp.c" /* yacc.c:1646 */ break; case 97: #line 755 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_REINTERPRET_CAST); } -#line 2675 "c-exp.c" /* yacc.c:1646 */ +#line 2677 "c-exp.c" /* yacc.c:1646 */ break; case 98: #line 760 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_CAST_TYPE); } -#line 2681 "c-exp.c" /* yacc.c:1646 */ +#line 2683 "c-exp.c" /* yacc.c:1646 */ break; case 99: #line 764 "c-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_DYNAMIC_CAST); } -#line 2687 "c-exp.c" /* yacc.c:1646 */ +#line 2689 "c-exp.c" /* yacc.c:1646 */ break; case 100: @@ -2690,7 +2692,7 @@ yyreduce: { /* We could do more error checking here, but it doesn't seem worthwhile. */ write_exp_elt_opcode (pstate, UNOP_CAST_TYPE); } -#line 2695 "c-exp.c" /* yacc.c:1646 */ +#line 2697 "c-exp.c" /* yacc.c:1646 */ break; case 101: @@ -2710,7 +2712,7 @@ yyreduce: vec->ptr = (char *) xmalloc ((yyvsp[0].tsval).length + 1); memcpy (vec->ptr, (yyvsp[0].tsval).ptr, (yyvsp[0].tsval).length + 1); } -#line 2715 "c-exp.c" /* yacc.c:1646 */ +#line 2717 "c-exp.c" /* yacc.c:1646 */ break; case 102: @@ -2730,7 +2732,7 @@ yyreduce: (yyval.svec).tokens[(yyval.svec).len - 1].length = (yyvsp[0].tsval).length; (yyval.svec).tokens[(yyval.svec).len - 1].ptr = p; } -#line 2735 "c-exp.c" /* yacc.c:1646 */ +#line 2737 "c-exp.c" /* yacc.c:1646 */ break; case 103: @@ -2765,7 +2767,7 @@ yyreduce: xfree ((yyvsp[0].svec).tokens[i].ptr); xfree ((yyvsp[0].svec).tokens); } -#line 2770 "c-exp.c" /* yacc.c:1646 */ +#line 2772 "c-exp.c" /* yacc.c:1646 */ break; case 104: @@ -2773,7 +2775,7 @@ yyreduce: { write_exp_elt_opcode (pstate, OP_OBJC_NSSTRING); write_exp_string (pstate, (yyvsp[0].sval)); write_exp_elt_opcode (pstate, OP_OBJC_NSSTRING); } -#line 2778 "c-exp.c" /* yacc.c:1646 */ +#line 2780 "c-exp.c" /* yacc.c:1646 */ break; case 105: @@ -2783,7 +2785,7 @@ yyreduce: parse_type (pstate)->builtin_bool); write_exp_elt_longcst (pstate, (LONGEST) 1); write_exp_elt_opcode (pstate, OP_LONG); } -#line 2788 "c-exp.c" /* yacc.c:1646 */ +#line 2790 "c-exp.c" /* yacc.c:1646 */ break; case 106: @@ -2793,7 +2795,7 @@ yyreduce: parse_type (pstate)->builtin_bool); write_exp_elt_longcst (pstate, (LONGEST) 0); write_exp_elt_opcode (pstate, OP_LONG); } -#line 2798 "c-exp.c" /* yacc.c:1646 */ +#line 2800 "c-exp.c" /* yacc.c:1646 */ break; case 107: @@ -2805,7 +2807,7 @@ yyreduce: error (_("No file or function \"%s\"."), copy_name ((yyvsp[0].ssym).stoken)); } -#line 2810 "c-exp.c" /* yacc.c:1646 */ +#line 2812 "c-exp.c" /* yacc.c:1646 */ break; case 108: @@ -2813,7 +2815,7 @@ yyreduce: { (yyval.bval) = (yyvsp[0].bval); } -#line 2818 "c-exp.c" /* yacc.c:1646 */ +#line 2820 "c-exp.c" /* yacc.c:1646 */ break; case 109: @@ -2826,7 +2828,7 @@ yyreduce: error (_("No function \"%s\" in specified context."), copy_name ((yyvsp[0].sval))); (yyval.bval) = SYMBOL_BLOCK_VALUE (tem); } -#line 2831 "c-exp.c" /* yacc.c:1646 */ +#line 2833 "c-exp.c" /* yacc.c:1646 */ break; case 110: @@ -2843,7 +2845,7 @@ yyreduce: write_exp_elt_sym (pstate, sym); write_exp_elt_opcode (pstate, OP_VAR_ENTRY_VALUE); } -#line 2848 "c-exp.c" /* yacc.c:1646 */ +#line 2850 "c-exp.c" /* yacc.c:1646 */ break; case 111: @@ -2867,7 +2869,7 @@ yyreduce: write_exp_elt_block (pstate, sym.block); write_exp_elt_sym (pstate, sym.symbol); write_exp_elt_opcode (pstate, OP_VAR_VALUE); } -#line 2872 "c-exp.c" /* yacc.c:1646 */ +#line 2874 "c-exp.c" /* yacc.c:1646 */ break; case 112: @@ -2884,7 +2886,7 @@ yyreduce: write_exp_string (pstate, (yyvsp[0].sval)); write_exp_elt_opcode (pstate, OP_SCOPE); } -#line 2889 "c-exp.c" /* yacc.c:1646 */ +#line 2891 "c-exp.c" /* yacc.c:1646 */ break; case 113: @@ -2912,7 +2914,7 @@ yyreduce: write_exp_string (pstate, tmp_token); write_exp_elt_opcode (pstate, OP_SCOPE); } -#line 2917 "c-exp.c" /* yacc.c:1646 */ +#line 2919 "c-exp.c" /* yacc.c:1646 */ break; case 114: @@ -2923,7 +2925,7 @@ yyreduce: "or namespace \"%s\"."), copy, TYPE_SAFE_NAME ((yyvsp[-4].tsym).type)); } -#line 2928 "c-exp.c" /* yacc.c:1646 */ +#line 2930 "c-exp.c" /* yacc.c:1646 */ break; case 116: @@ -2953,7 +2955,7 @@ yyreduce: else error (_("No symbol \"%s\" in current context."), name); } -#line 2958 "c-exp.c" /* yacc.c:1646 */ +#line 2960 "c-exp.c" /* yacc.c:1646 */ break; case 117: @@ -3006,37 +3008,37 @@ yyreduce: copy_name ((yyvsp[0].ssym).stoken)); } } -#line 3011 "c-exp.c" /* yacc.c:1646 */ +#line 3013 "c-exp.c" /* yacc.c:1646 */ break; case 118: #line 1058 "c-exp.y" /* yacc.c:1646 */ { insert_type_address_space (pstate, copy_name ((yyvsp[0].ssym).stoken)); } -#line 3017 "c-exp.c" /* yacc.c:1646 */ +#line 3019 "c-exp.c" /* yacc.c:1646 */ break; case 126: #line 1079 "c-exp.y" /* yacc.c:1646 */ { insert_type (tp_pointer); } -#line 3023 "c-exp.c" /* yacc.c:1646 */ +#line 3025 "c-exp.c" /* yacc.c:1646 */ break; case 128: #line 1082 "c-exp.y" /* yacc.c:1646 */ { insert_type (tp_pointer); } -#line 3029 "c-exp.c" /* yacc.c:1646 */ +#line 3031 "c-exp.c" /* yacc.c:1646 */ break; case 130: #line 1085 "c-exp.y" /* yacc.c:1646 */ { insert_type (tp_reference); } -#line 3035 "c-exp.c" /* yacc.c:1646 */ +#line 3037 "c-exp.c" /* yacc.c:1646 */ break; case 131: #line 1087 "c-exp.y" /* yacc.c:1646 */ { insert_type (tp_reference); } -#line 3041 "c-exp.c" /* yacc.c:1646 */ +#line 3043 "c-exp.c" /* yacc.c:1646 */ break; case 132: @@ -3047,19 +3049,19 @@ yyreduce: c_parse. */ make_cleanup (type_stack_cleanup, (yyval.type_stack)); } -#line 3052 "c-exp.c" /* yacc.c:1646 */ +#line 3054 "c-exp.c" /* yacc.c:1646 */ break; case 133: #line 1100 "c-exp.y" /* yacc.c:1646 */ { (yyval.type_stack) = append_type_stack ((yyvsp[0].type_stack), (yyvsp[-1].type_stack)); } -#line 3058 "c-exp.c" /* yacc.c:1646 */ +#line 3060 "c-exp.c" /* yacc.c:1646 */ break; case 136: #line 1106 "c-exp.y" /* yacc.c:1646 */ { (yyval.type_stack) = (yyvsp[-1].type_stack); } -#line 3064 "c-exp.c" /* yacc.c:1646 */ +#line 3066 "c-exp.c" /* yacc.c:1646 */ break; case 137: @@ -3070,7 +3072,7 @@ yyreduce: push_type (tp_array); (yyval.type_stack) = get_type_stack (); } -#line 3075 "c-exp.c" /* yacc.c:1646 */ +#line 3077 "c-exp.c" /* yacc.c:1646 */ break; case 138: @@ -3080,7 +3082,7 @@ yyreduce: push_type (tp_array); (yyval.type_stack) = get_type_stack (); } -#line 3085 "c-exp.c" /* yacc.c:1646 */ +#line 3087 "c-exp.c" /* yacc.c:1646 */ break; case 139: @@ -3090,7 +3092,7 @@ yyreduce: push_typelist ((yyvsp[0].tvec)); (yyval.type_stack) = get_type_stack (); } -#line 3095 "c-exp.c" /* yacc.c:1646 */ +#line 3097 "c-exp.c" /* yacc.c:1646 */ break; case 140: @@ -3099,49 +3101,49 @@ yyreduce: push_typelist ((yyvsp[0].tvec)); (yyval.type_stack) = get_type_stack (); } -#line 3104 "c-exp.c" /* yacc.c:1646 */ +#line 3106 "c-exp.c" /* yacc.c:1646 */ break; case 141: #line 1135 "c-exp.y" /* yacc.c:1646 */ { (yyval.lval) = -1; } -#line 3110 "c-exp.c" /* yacc.c:1646 */ +#line 3112 "c-exp.c" /* yacc.c:1646 */ break; case 142: #line 1137 "c-exp.y" /* yacc.c:1646 */ { (yyval.lval) = -1; } -#line 3116 "c-exp.c" /* yacc.c:1646 */ +#line 3118 "c-exp.c" /* yacc.c:1646 */ break; case 143: #line 1139 "c-exp.y" /* yacc.c:1646 */ { (yyval.lval) = (yyvsp[-1].typed_val_int).val; } -#line 3122 "c-exp.c" /* yacc.c:1646 */ +#line 3124 "c-exp.c" /* yacc.c:1646 */ break; case 144: #line 1141 "c-exp.y" /* yacc.c:1646 */ { (yyval.lval) = (yyvsp[-1].typed_val_int).val; } -#line 3128 "c-exp.c" /* yacc.c:1646 */ +#line 3130 "c-exp.c" /* yacc.c:1646 */ break; case 145: #line 1145 "c-exp.y" /* yacc.c:1646 */ { (yyval.tvec) = NULL; } -#line 3134 "c-exp.c" /* yacc.c:1646 */ +#line 3136 "c-exp.c" /* yacc.c:1646 */ break; case 146: #line 1147 "c-exp.y" /* yacc.c:1646 */ { (yyval.tvec) = (yyvsp[-1].tvec); } -#line 3140 "c-exp.c" /* yacc.c:1646 */ +#line 3142 "c-exp.c" /* yacc.c:1646 */ break; case 148: #line 1163 "c-exp.y" /* yacc.c:1646 */ { (yyval.tval) = (yyvsp[0].tsym).type; } -#line 3146 "c-exp.c" /* yacc.c:1646 */ +#line 3148 "c-exp.c" /* yacc.c:1646 */ break; case 149: @@ -3149,7 +3151,7 @@ yyreduce: { (yyval.tval) = lookup_signed_typename (parse_language (pstate), parse_gdbarch (pstate), "int"); } -#line 3154 "c-exp.c" /* yacc.c:1646 */ +#line 3156 "c-exp.c" /* yacc.c:1646 */ break; case 150: @@ -3157,7 +3159,7 @@ yyreduce: { (yyval.tval) = lookup_signed_typename (parse_language (pstate), parse_gdbarch (pstate), "long"); } -#line 3162 "c-exp.c" /* yacc.c:1646 */ +#line 3164 "c-exp.c" /* yacc.c:1646 */ break; case 151: @@ -3165,7 +3167,7 @@ yyreduce: { (yyval.tval) = lookup_signed_typename (parse_language (pstate), parse_gdbarch (pstate), "short"); } -#line 3170 "c-exp.c" /* yacc.c:1646 */ +#line 3172 "c-exp.c" /* yacc.c:1646 */ break; case 152: @@ -3173,7 +3175,7 @@ yyreduce: { (yyval.tval) = lookup_signed_typename (parse_language (pstate), parse_gdbarch (pstate), "long"); } -#line 3178 "c-exp.c" /* yacc.c:1646 */ +#line 3180 "c-exp.c" /* yacc.c:1646 */ break; case 153: @@ -3181,7 +3183,7 @@ yyreduce: { (yyval.tval) = lookup_signed_typename (parse_language (pstate), parse_gdbarch (pstate), "long"); } -#line 3186 "c-exp.c" /* yacc.c:1646 */ +#line 3188 "c-exp.c" /* yacc.c:1646 */ break; case 154: @@ -3189,7 +3191,7 @@ yyreduce: { (yyval.tval) = lookup_signed_typename (parse_language (pstate), parse_gdbarch (pstate), "long"); } -#line 3194 "c-exp.c" /* yacc.c:1646 */ +#line 3196 "c-exp.c" /* yacc.c:1646 */ break; case 155: @@ -3197,7 +3199,7 @@ yyreduce: { (yyval.tval) = lookup_signed_typename (parse_language (pstate), parse_gdbarch (pstate), "long"); } -#line 3202 "c-exp.c" /* yacc.c:1646 */ +#line 3204 "c-exp.c" /* yacc.c:1646 */ break; case 156: @@ -3205,7 +3207,7 @@ yyreduce: { (yyval.tval) = lookup_unsigned_typename (parse_language (pstate), parse_gdbarch (pstate), "long"); } -#line 3210 "c-exp.c" /* yacc.c:1646 */ +#line 3212 "c-exp.c" /* yacc.c:1646 */ break; case 157: @@ -3213,7 +3215,7 @@ yyreduce: { (yyval.tval) = lookup_unsigned_typename (parse_language (pstate), parse_gdbarch (pstate), "long"); } -#line 3218 "c-exp.c" /* yacc.c:1646 */ +#line 3220 "c-exp.c" /* yacc.c:1646 */ break; case 158: @@ -3221,7 +3223,7 @@ yyreduce: { (yyval.tval) = lookup_unsigned_typename (parse_language (pstate), parse_gdbarch (pstate), "long"); } -#line 3226 "c-exp.c" /* yacc.c:1646 */ +#line 3228 "c-exp.c" /* yacc.c:1646 */ break; case 159: @@ -3229,7 +3231,7 @@ yyreduce: { (yyval.tval) = lookup_signed_typename (parse_language (pstate), parse_gdbarch (pstate), "long long"); } -#line 3234 "c-exp.c" /* yacc.c:1646 */ +#line 3236 "c-exp.c" /* yacc.c:1646 */ break; case 160: @@ -3237,7 +3239,7 @@ yyreduce: { (yyval.tval) = lookup_signed_typename (parse_language (pstate), parse_gdbarch (pstate), "long long"); } -#line 3242 "c-exp.c" /* yacc.c:1646 */ +#line 3244 "c-exp.c" /* yacc.c:1646 */ break; case 161: @@ -3245,7 +3247,7 @@ yyreduce: { (yyval.tval) = lookup_signed_typename (parse_language (pstate), parse_gdbarch (pstate), "long long"); } -#line 3250 "c-exp.c" /* yacc.c:1646 */ +#line 3252 "c-exp.c" /* yacc.c:1646 */ break; case 162: @@ -3253,7 +3255,7 @@ yyreduce: { (yyval.tval) = lookup_signed_typename (parse_language (pstate), parse_gdbarch (pstate), "long long"); } -#line 3258 "c-exp.c" /* yacc.c:1646 */ +#line 3260 "c-exp.c" /* yacc.c:1646 */ break; case 163: @@ -3261,7 +3263,7 @@ yyreduce: { (yyval.tval) = lookup_signed_typename (parse_language (pstate), parse_gdbarch (pstate), "long long"); } -#line 3266 "c-exp.c" /* yacc.c:1646 */ +#line 3268 "c-exp.c" /* yacc.c:1646 */ break; case 164: @@ -3269,7 +3271,7 @@ yyreduce: { (yyval.tval) = lookup_signed_typename (parse_language (pstate), parse_gdbarch (pstate), "long long"); } -#line 3274 "c-exp.c" /* yacc.c:1646 */ +#line 3276 "c-exp.c" /* yacc.c:1646 */ break; case 165: @@ -3277,7 +3279,7 @@ yyreduce: { (yyval.tval) = lookup_unsigned_typename (parse_language (pstate), parse_gdbarch (pstate), "long long"); } -#line 3282 "c-exp.c" /* yacc.c:1646 */ +#line 3284 "c-exp.c" /* yacc.c:1646 */ break; case 166: @@ -3285,7 +3287,7 @@ yyreduce: { (yyval.tval) = lookup_unsigned_typename (parse_language (pstate), parse_gdbarch (pstate), "long long"); } -#line 3290 "c-exp.c" /* yacc.c:1646 */ +#line 3292 "c-exp.c" /* yacc.c:1646 */ break; case 167: @@ -3293,7 +3295,7 @@ yyreduce: { (yyval.tval) = lookup_unsigned_typename (parse_language (pstate), parse_gdbarch (pstate), "long long"); } -#line 3298 "c-exp.c" /* yacc.c:1646 */ +#line 3300 "c-exp.c" /* yacc.c:1646 */ break; case 168: @@ -3301,7 +3303,7 @@ yyreduce: { (yyval.tval) = lookup_unsigned_typename (parse_language (pstate), parse_gdbarch (pstate), "long long"); } -#line 3306 "c-exp.c" /* yacc.c:1646 */ +#line 3308 "c-exp.c" /* yacc.c:1646 */ break; case 169: @@ -3309,7 +3311,7 @@ yyreduce: { (yyval.tval) = lookup_signed_typename (parse_language (pstate), parse_gdbarch (pstate), "short"); } -#line 3314 "c-exp.c" /* yacc.c:1646 */ +#line 3316 "c-exp.c" /* yacc.c:1646 */ break; case 170: @@ -3317,7 +3319,7 @@ yyreduce: { (yyval.tval) = lookup_signed_typename (parse_language (pstate), parse_gdbarch (pstate), "short"); } -#line 3322 "c-exp.c" /* yacc.c:1646 */ +#line 3324 "c-exp.c" /* yacc.c:1646 */ break; case 171: @@ -3325,7 +3327,7 @@ yyreduce: { (yyval.tval) = lookup_signed_typename (parse_language (pstate), parse_gdbarch (pstate), "short"); } -#line 3330 "c-exp.c" /* yacc.c:1646 */ +#line 3332 "c-exp.c" /* yacc.c:1646 */ break; case 172: @@ -3333,7 +3335,7 @@ yyreduce: { (yyval.tval) = lookup_unsigned_typename (parse_language (pstate), parse_gdbarch (pstate), "short"); } -#line 3338 "c-exp.c" /* yacc.c:1646 */ +#line 3340 "c-exp.c" /* yacc.c:1646 */ break; case 173: @@ -3341,7 +3343,7 @@ yyreduce: { (yyval.tval) = lookup_unsigned_typename (parse_language (pstate), parse_gdbarch (pstate), "short"); } -#line 3346 "c-exp.c" /* yacc.c:1646 */ +#line 3348 "c-exp.c" /* yacc.c:1646 */ break; case 174: @@ -3349,7 +3351,7 @@ yyreduce: { (yyval.tval) = lookup_unsigned_typename (parse_language (pstate), parse_gdbarch (pstate), "short"); } -#line 3354 "c-exp.c" /* yacc.c:1646 */ +#line 3356 "c-exp.c" /* yacc.c:1646 */ break; case 175: @@ -3359,7 +3361,7 @@ yyreduce: "double", (struct block *) NULL, 0); } -#line 3364 "c-exp.c" /* yacc.c:1646 */ +#line 3366 "c-exp.c" /* yacc.c:1646 */ break; case 176: @@ -3369,14 +3371,14 @@ yyreduce: "long double", (struct block *) NULL, 0); } -#line 3374 "c-exp.c" /* yacc.c:1646 */ +#line 3376 "c-exp.c" /* yacc.c:1646 */ break; case 177: #line 1281 "c-exp.y" /* yacc.c:1646 */ { (yyval.tval) = lookup_struct (copy_name ((yyvsp[0].sval)), expression_context_block); } -#line 3381 "c-exp.c" /* yacc.c:1646 */ +#line 3383 "c-exp.c" /* yacc.c:1646 */ break; case 178: @@ -3385,7 +3387,7 @@ yyreduce: mark_completion_tag (TYPE_CODE_STRUCT, "", 0); (yyval.tval) = NULL; } -#line 3390 "c-exp.c" /* yacc.c:1646 */ +#line 3392 "c-exp.c" /* yacc.c:1646 */ break; case 179: @@ -3395,14 +3397,14 @@ yyreduce: (yyvsp[-1].sval).length); (yyval.tval) = NULL; } -#line 3400 "c-exp.c" /* yacc.c:1646 */ +#line 3402 "c-exp.c" /* yacc.c:1646 */ break; case 180: #line 1295 "c-exp.y" /* yacc.c:1646 */ { (yyval.tval) = lookup_struct (copy_name ((yyvsp[0].sval)), expression_context_block); } -#line 3407 "c-exp.c" /* yacc.c:1646 */ +#line 3409 "c-exp.c" /* yacc.c:1646 */ break; case 181: @@ -3411,7 +3413,7 @@ yyreduce: mark_completion_tag (TYPE_CODE_STRUCT, "", 0); (yyval.tval) = NULL; } -#line 3416 "c-exp.c" /* yacc.c:1646 */ +#line 3418 "c-exp.c" /* yacc.c:1646 */ break; case 182: @@ -3421,14 +3423,14 @@ yyreduce: (yyvsp[-1].sval).length); (yyval.tval) = NULL; } -#line 3426 "c-exp.c" /* yacc.c:1646 */ +#line 3428 "c-exp.c" /* yacc.c:1646 */ break; case 183: #line 1309 "c-exp.y" /* yacc.c:1646 */ { (yyval.tval) = lookup_union (copy_name ((yyvsp[0].sval)), expression_context_block); } -#line 3433 "c-exp.c" /* yacc.c:1646 */ +#line 3435 "c-exp.c" /* yacc.c:1646 */ break; case 184: @@ -3437,7 +3439,7 @@ yyreduce: mark_completion_tag (TYPE_CODE_UNION, "", 0); (yyval.tval) = NULL; } -#line 3442 "c-exp.c" /* yacc.c:1646 */ +#line 3444 "c-exp.c" /* yacc.c:1646 */ break; case 185: @@ -3447,14 +3449,14 @@ yyreduce: (yyvsp[-1].sval).length); (yyval.tval) = NULL; } -#line 3452 "c-exp.c" /* yacc.c:1646 */ +#line 3454 "c-exp.c" /* yacc.c:1646 */ break; case 186: #line 1323 "c-exp.y" /* yacc.c:1646 */ { (yyval.tval) = lookup_enum (copy_name ((yyvsp[0].sval)), expression_context_block); } -#line 3459 "c-exp.c" /* yacc.c:1646 */ +#line 3461 "c-exp.c" /* yacc.c:1646 */ break; case 187: @@ -3463,7 +3465,7 @@ yyreduce: mark_completion_tag (TYPE_CODE_ENUM, "", 0); (yyval.tval) = NULL; } -#line 3468 "c-exp.c" /* yacc.c:1646 */ +#line 3470 "c-exp.c" /* yacc.c:1646 */ break; case 188: @@ -3473,7 +3475,7 @@ yyreduce: (yyvsp[-1].sval).length); (yyval.tval) = NULL; } -#line 3478 "c-exp.c" /* yacc.c:1646 */ +#line 3480 "c-exp.c" /* yacc.c:1646 */ break; case 189: @@ -3481,7 +3483,7 @@ yyreduce: { (yyval.tval) = lookup_unsigned_typename (parse_language (pstate), parse_gdbarch (pstate), TYPE_NAME((yyvsp[0].tsym).type)); } -#line 3486 "c-exp.c" /* yacc.c:1646 */ +#line 3488 "c-exp.c" /* yacc.c:1646 */ break; case 190: @@ -3489,7 +3491,7 @@ yyreduce: { (yyval.tval) = lookup_unsigned_typename (parse_language (pstate), parse_gdbarch (pstate), "int"); } -#line 3494 "c-exp.c" /* yacc.c:1646 */ +#line 3496 "c-exp.c" /* yacc.c:1646 */ break; case 191: @@ -3497,7 +3499,7 @@ yyreduce: { (yyval.tval) = lookup_signed_typename (parse_language (pstate), parse_gdbarch (pstate), TYPE_NAME((yyvsp[0].tsym).type)); } -#line 3502 "c-exp.c" /* yacc.c:1646 */ +#line 3504 "c-exp.c" /* yacc.c:1646 */ break; case 192: @@ -3505,7 +3507,7 @@ yyreduce: { (yyval.tval) = lookup_signed_typename (parse_language (pstate), parse_gdbarch (pstate), "int"); } -#line 3510 "c-exp.c" /* yacc.c:1646 */ +#line 3512 "c-exp.c" /* yacc.c:1646 */ break; case 193: @@ -3513,19 +3515,19 @@ yyreduce: { (yyval.tval) = lookup_template_type(copy_name((yyvsp[-3].sval)), (yyvsp[-1].tval), expression_context_block); } -#line 3518 "c-exp.c" /* yacc.c:1646 */ +#line 3520 "c-exp.c" /* yacc.c:1646 */ break; case 194: #line 1360 "c-exp.y" /* yacc.c:1646 */ { (yyval.tval) = follow_types ((yyvsp[0].tval)); } -#line 3524 "c-exp.c" /* yacc.c:1646 */ +#line 3526 "c-exp.c" /* yacc.c:1646 */ break; case 195: #line 1362 "c-exp.y" /* yacc.c:1646 */ { (yyval.tval) = follow_types ((yyvsp[-1].tval)); } -#line 3530 "c-exp.c" /* yacc.c:1646 */ +#line 3532 "c-exp.c" /* yacc.c:1646 */ break; case 197: @@ -3537,7 +3539,7 @@ yyreduce: parse_gdbarch (pstate), "int"); } -#line 3542 "c-exp.c" /* yacc.c:1646 */ +#line 3544 "c-exp.c" /* yacc.c:1646 */ break; case 198: @@ -3549,7 +3551,7 @@ yyreduce: parse_gdbarch (pstate), "long"); } -#line 3554 "c-exp.c" /* yacc.c:1646 */ +#line 3556 "c-exp.c" /* yacc.c:1646 */ break; case 199: @@ -3561,13 +3563,13 @@ yyreduce: parse_gdbarch (pstate), "short"); } -#line 3566 "c-exp.c" /* yacc.c:1646 */ +#line 3568 "c-exp.c" /* yacc.c:1646 */ break; case 200: #line 1394 "c-exp.y" /* yacc.c:1646 */ { check_parameter_typelist ((yyvsp[0].tvec)); } -#line 3572 "c-exp.c" /* yacc.c:1646 */ +#line 3574 "c-exp.c" /* yacc.c:1646 */ break; case 201: @@ -3577,7 +3579,7 @@ yyreduce: check_parameter_typelist ((yyvsp[-2].tvec)); (yyval.tvec) = (yyvsp[-2].tvec); } -#line 3582 "c-exp.c" /* yacc.c:1646 */ +#line 3584 "c-exp.c" /* yacc.c:1646 */ break; case 202: @@ -3587,7 +3589,7 @@ yyreduce: VEC_safe_push (type_ptr, typelist, (yyvsp[0].tval)); (yyval.tvec) = typelist; } -#line 3592 "c-exp.c" /* yacc.c:1646 */ +#line 3594 "c-exp.c" /* yacc.c:1646 */ break; case 203: @@ -3596,7 +3598,7 @@ yyreduce: VEC_safe_push (type_ptr, (yyvsp[-2].tvec), (yyvsp[0].tval)); (yyval.tvec) = (yyvsp[-2].tvec); } -#line 3601 "c-exp.c" /* yacc.c:1646 */ +#line 3603 "c-exp.c" /* yacc.c:1646 */ break; case 205: @@ -3605,13 +3607,13 @@ yyreduce: push_type_stack ((yyvsp[0].type_stack)); (yyval.tval) = follow_types ((yyvsp[-1].tval)); } -#line 3610 "c-exp.c" /* yacc.c:1646 */ +#line 3612 "c-exp.c" /* yacc.c:1646 */ break; case 206: #line 1426 "c-exp.y" /* yacc.c:1646 */ { (yyval.tval) = follow_types ((yyvsp[-1].tval)); } -#line 3616 "c-exp.c" /* yacc.c:1646 */ +#line 3618 "c-exp.c" /* yacc.c:1646 */ break; case 211: @@ -3619,133 +3621,133 @@ yyreduce: { insert_type (tp_const); insert_type (tp_volatile); } -#line 3624 "c-exp.c" /* yacc.c:1646 */ +#line 3626 "c-exp.c" /* yacc.c:1646 */ break; case 212: #line 1442 "c-exp.y" /* yacc.c:1646 */ { insert_type (tp_const); } -#line 3630 "c-exp.c" /* yacc.c:1646 */ +#line 3632 "c-exp.c" /* yacc.c:1646 */ break; case 213: #line 1444 "c-exp.y" /* yacc.c:1646 */ { insert_type (tp_volatile); } -#line 3636 "c-exp.c" /* yacc.c:1646 */ +#line 3638 "c-exp.c" /* yacc.c:1646 */ break; case 214: #line 1448 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken (" new"); } -#line 3642 "c-exp.c" /* yacc.c:1646 */ +#line 3644 "c-exp.c" /* yacc.c:1646 */ break; case 215: #line 1450 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken (" delete"); } -#line 3648 "c-exp.c" /* yacc.c:1646 */ +#line 3650 "c-exp.c" /* yacc.c:1646 */ break; case 216: #line 1452 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken (" new[]"); } -#line 3654 "c-exp.c" /* yacc.c:1646 */ +#line 3656 "c-exp.c" /* yacc.c:1646 */ break; case 217: #line 1454 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken (" delete[]"); } -#line 3660 "c-exp.c" /* yacc.c:1646 */ +#line 3662 "c-exp.c" /* yacc.c:1646 */ break; case 218: #line 1456 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken (" new[]"); } -#line 3666 "c-exp.c" /* yacc.c:1646 */ +#line 3668 "c-exp.c" /* yacc.c:1646 */ break; case 219: #line 1458 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken (" delete[]"); } -#line 3672 "c-exp.c" /* yacc.c:1646 */ +#line 3674 "c-exp.c" /* yacc.c:1646 */ break; case 220: #line 1460 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("+"); } -#line 3678 "c-exp.c" /* yacc.c:1646 */ +#line 3680 "c-exp.c" /* yacc.c:1646 */ break; case 221: #line 1462 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("-"); } -#line 3684 "c-exp.c" /* yacc.c:1646 */ +#line 3686 "c-exp.c" /* yacc.c:1646 */ break; case 222: #line 1464 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("*"); } -#line 3690 "c-exp.c" /* yacc.c:1646 */ +#line 3692 "c-exp.c" /* yacc.c:1646 */ break; case 223: #line 1466 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("/"); } -#line 3696 "c-exp.c" /* yacc.c:1646 */ +#line 3698 "c-exp.c" /* yacc.c:1646 */ break; case 224: #line 1468 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("%"); } -#line 3702 "c-exp.c" /* yacc.c:1646 */ +#line 3704 "c-exp.c" /* yacc.c:1646 */ break; case 225: #line 1470 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("^"); } -#line 3708 "c-exp.c" /* yacc.c:1646 */ +#line 3710 "c-exp.c" /* yacc.c:1646 */ break; case 226: #line 1472 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("&"); } -#line 3714 "c-exp.c" /* yacc.c:1646 */ +#line 3716 "c-exp.c" /* yacc.c:1646 */ break; case 227: #line 1474 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("|"); } -#line 3720 "c-exp.c" /* yacc.c:1646 */ +#line 3722 "c-exp.c" /* yacc.c:1646 */ break; case 228: #line 1476 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("~"); } -#line 3726 "c-exp.c" /* yacc.c:1646 */ +#line 3728 "c-exp.c" /* yacc.c:1646 */ break; case 229: #line 1478 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("!"); } -#line 3732 "c-exp.c" /* yacc.c:1646 */ +#line 3734 "c-exp.c" /* yacc.c:1646 */ break; case 230: #line 1480 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("="); } -#line 3738 "c-exp.c" /* yacc.c:1646 */ +#line 3740 "c-exp.c" /* yacc.c:1646 */ break; case 231: #line 1482 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("<"); } -#line 3744 "c-exp.c" /* yacc.c:1646 */ +#line 3746 "c-exp.c" /* yacc.c:1646 */ break; case 232: #line 1484 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken (">"); } -#line 3750 "c-exp.c" /* yacc.c:1646 */ +#line 3752 "c-exp.c" /* yacc.c:1646 */ break; case 233: @@ -3789,103 +3791,103 @@ yyreduce: (yyval.sval) = operator_stoken (op); } -#line 3794 "c-exp.c" /* yacc.c:1646 */ +#line 3796 "c-exp.c" /* yacc.c:1646 */ break; case 234: #line 1526 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("<<"); } -#line 3800 "c-exp.c" /* yacc.c:1646 */ +#line 3802 "c-exp.c" /* yacc.c:1646 */ break; case 235: #line 1528 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken (">>"); } -#line 3806 "c-exp.c" /* yacc.c:1646 */ +#line 3808 "c-exp.c" /* yacc.c:1646 */ break; case 236: #line 1530 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("=="); } -#line 3812 "c-exp.c" /* yacc.c:1646 */ +#line 3814 "c-exp.c" /* yacc.c:1646 */ break; case 237: #line 1532 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("!="); } -#line 3818 "c-exp.c" /* yacc.c:1646 */ +#line 3820 "c-exp.c" /* yacc.c:1646 */ break; case 238: #line 1534 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("<="); } -#line 3824 "c-exp.c" /* yacc.c:1646 */ +#line 3826 "c-exp.c" /* yacc.c:1646 */ break; case 239: #line 1536 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken (">="); } -#line 3830 "c-exp.c" /* yacc.c:1646 */ +#line 3832 "c-exp.c" /* yacc.c:1646 */ break; case 240: #line 1538 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("&&"); } -#line 3836 "c-exp.c" /* yacc.c:1646 */ +#line 3838 "c-exp.c" /* yacc.c:1646 */ break; case 241: #line 1540 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("||"); } -#line 3842 "c-exp.c" /* yacc.c:1646 */ +#line 3844 "c-exp.c" /* yacc.c:1646 */ break; case 242: #line 1542 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("++"); } -#line 3848 "c-exp.c" /* yacc.c:1646 */ +#line 3850 "c-exp.c" /* yacc.c:1646 */ break; case 243: #line 1544 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("--"); } -#line 3854 "c-exp.c" /* yacc.c:1646 */ +#line 3856 "c-exp.c" /* yacc.c:1646 */ break; case 244: #line 1546 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken (","); } -#line 3860 "c-exp.c" /* yacc.c:1646 */ +#line 3862 "c-exp.c" /* yacc.c:1646 */ break; case 245: #line 1548 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("->*"); } -#line 3866 "c-exp.c" /* yacc.c:1646 */ +#line 3868 "c-exp.c" /* yacc.c:1646 */ break; case 246: #line 1550 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("->"); } -#line 3872 "c-exp.c" /* yacc.c:1646 */ +#line 3874 "c-exp.c" /* yacc.c:1646 */ break; case 247: #line 1552 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("()"); } -#line 3878 "c-exp.c" /* yacc.c:1646 */ +#line 3880 "c-exp.c" /* yacc.c:1646 */ break; case 248: #line 1554 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("[]"); } -#line 3884 "c-exp.c" /* yacc.c:1646 */ +#line 3886 "c-exp.c" /* yacc.c:1646 */ break; case 249: #line 1556 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = operator_stoken ("[]"); } -#line 3890 "c-exp.c" /* yacc.c:1646 */ +#line 3892 "c-exp.c" /* yacc.c:1646 */ break; case 250: @@ -3901,43 +3903,43 @@ yyreduce: (yyval.sval) = operator_stoken (name); xfree (name); } -#line 3906 "c-exp.c" /* yacc.c:1646 */ +#line 3908 "c-exp.c" /* yacc.c:1646 */ break; case 251: #line 1573 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = (yyvsp[0].ssym).stoken; } -#line 3912 "c-exp.c" /* yacc.c:1646 */ +#line 3914 "c-exp.c" /* yacc.c:1646 */ break; case 252: #line 1574 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = (yyvsp[0].ssym).stoken; } -#line 3918 "c-exp.c" /* yacc.c:1646 */ +#line 3920 "c-exp.c" /* yacc.c:1646 */ break; case 253: #line 1575 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = (yyvsp[0].tsym).stoken; } -#line 3924 "c-exp.c" /* yacc.c:1646 */ +#line 3926 "c-exp.c" /* yacc.c:1646 */ break; case 254: #line 1576 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = (yyvsp[0].ssym).stoken; } -#line 3930 "c-exp.c" /* yacc.c:1646 */ +#line 3932 "c-exp.c" /* yacc.c:1646 */ break; case 255: #line 1577 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = (yyvsp[0].ssym).stoken; } -#line 3936 "c-exp.c" /* yacc.c:1646 */ +#line 3938 "c-exp.c" /* yacc.c:1646 */ break; case 256: #line 1578 "c-exp.y" /* yacc.c:1646 */ { (yyval.sval) = (yyvsp[0].sval); } -#line 3942 "c-exp.c" /* yacc.c:1646 */ +#line 3944 "c-exp.c" /* yacc.c:1646 */ break; case 259: @@ -3953,11 +3955,11 @@ yyreduce: (yyval.ssym).is_a_field_of_this = is_a_field_of_this.type != NULL; } -#line 3958 "c-exp.c" /* yacc.c:1646 */ +#line 3960 "c-exp.c" /* yacc.c:1646 */ break; -#line 3962 "c-exp.c" /* yacc.c:1646 */ +#line 3964 "c-exp.c" /* yacc.c:1646 */ default: break; } /* User semantic actions sometimes alter yychar, and that requires diff --git a/gdb/c-exp.y b/gdb/c-exp.y index 29f672f54..b288be25e 100644 --- a/gdb/c-exp.y +++ b/gdb/c-exp.y @@ -1,5 +1,5 @@ /* YACC parser for C expressions, for GDB. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/c-lang.c b/gdb/c-lang.c index d24b0c83e..30f2c8fb9 100644 --- a/gdb/c-lang.c +++ b/gdb/c-lang.c @@ -1,6 +1,6 @@ /* C language support routines for GDB, the GNU debugger. - Copyright (C) 1992-2016 Free Software Foundation, Inc. + Copyright (C) 1992-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/c-lang.h b/gdb/c-lang.h index 12be8bf0b..1d85cb9c8 100644 --- a/gdb/c-lang.h +++ b/gdb/c-lang.h @@ -1,6 +1,6 @@ /* C language support definitions for GDB, the GNU debugger. - Copyright (C) 1992-2016 Free Software Foundation, Inc. + Copyright (C) 1992-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/c-typeprint.c b/gdb/c-typeprint.c index 2564ebcf0..8f809a72e 100644 --- a/gdb/c-typeprint.c +++ b/gdb/c-typeprint.c @@ -1,5 +1,5 @@ /* Support for printing C and C++ types for GDB, the GNU debugger. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c index 2cb418d43..8f97d58ae 100644 --- a/gdb/c-valprint.c +++ b/gdb/c-valprint.c @@ -1,6 +1,6 @@ /* Support for printing C values for GDB, the GNU debugger. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/c-varobj.c b/gdb/c-varobj.c index 48e16f9d5..18f8c49c0 100644 --- a/gdb/c-varobj.c +++ b/gdb/c-varobj.c @@ -1,6 +1,6 @@ /* varobj support for C and C++. - Copyright (C) 1999-2016 Free Software Foundation, Inc. + Copyright (C) 1999-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/charset-list.h b/gdb/charset-list.h index 5c29221e9..8caef6f07 100644 --- a/gdb/charset-list.h +++ b/gdb/charset-list.h @@ -1,6 +1,6 @@ /* List of character set names for GDB. - Copyright (C) 2009-2016 Free Software Foundation, Inc. + Copyright (C) 2009-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/charset.c b/gdb/charset.c index abad90157..33a2ddc1f 100644 --- a/gdb/charset.c +++ b/gdb/charset.c @@ -1,6 +1,6 @@ /* Character set conversion support for GDB. - Copyright (C) 2001-2016 Free Software Foundation, Inc. + Copyright (C) 2001-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/charset.h b/gdb/charset.h index 559b32866..986bb8b67 100644 --- a/gdb/charset.h +++ b/gdb/charset.h @@ -1,5 +1,5 @@ /* Character set conversion support for GDB. - Copyright (C) 2001-2016 Free Software Foundation, Inc. + Copyright (C) 2001-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/cli-out.c b/gdb/cli-out.c index 0c982cb2e..88421cd8d 100644 --- a/gdb/cli-out.c +++ b/gdb/cli-out.c @@ -1,6 +1,6 @@ /* Output generating routines for GDB CLI. - Copyright (C) 1999-2016 Free Software Foundation, Inc. + Copyright (C) 1999-2017 Free Software Foundation, Inc. Contributed by Cygnus Solutions. Written by Fernando Nasser for Cygnus. diff --git a/gdb/cli-out.h b/gdb/cli-out.h index 55d80a70d..9820a6b31 100644 --- a/gdb/cli-out.h +++ b/gdb/cli-out.h @@ -1,5 +1,5 @@ /* Output generating routines for GDB CLI. - Copyright (C) 1999-2016 Free Software Foundation, Inc. + Copyright (C) 1999-2017 Free Software Foundation, Inc. Contributed by Cygnus Solutions. This file is part of GDB. diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index c60b1d3c8..9f15d3ee5 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -1,6 +1,6 @@ /* GDB CLI commands. - Copyright (C) 2000-2016 Free Software Foundation, Inc. + Copyright (C) 2000-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/cli/cli-cmds.h b/gdb/cli/cli-cmds.h index e8a5c2a8d..7ff1fca0b 100644 --- a/gdb/cli/cli-cmds.h +++ b/gdb/cli/cli-cmds.h @@ -1,5 +1,5 @@ /* Header file for GDB CLI command implementation library. - Copyright (C) 2000-2016 Free Software Foundation, Inc. + Copyright (C) 2000-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index acc9c4283..d3be93c4b 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -1,6 +1,6 @@ /* Handle lists of commands, their decoding and documentation, for GDB. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/cli/cli-decode.h b/gdb/cli/cli-decode.h index 4ef2e1b28..e5ab83997 100644 --- a/gdb/cli/cli-decode.h +++ b/gdb/cli/cli-decode.h @@ -1,6 +1,6 @@ /* Header file for GDB command decoding library. - Copyright (C) 2000-2016 Free Software Foundation, Inc. + Copyright (C) 2000-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/cli/cli-dump.c b/gdb/cli/cli-dump.c index 611b0c350..422a6a0d4 100644 --- a/gdb/cli/cli-dump.c +++ b/gdb/cli/cli-dump.c @@ -1,6 +1,6 @@ /* Dump-to-file commands, for GDB, the GNU debugger. - Copyright (C) 2002-2016 Free Software Foundation, Inc. + Copyright (C) 2002-2017 Free Software Foundation, Inc. Contributed by Red Hat. diff --git a/gdb/cli/cli-interp.c b/gdb/cli/cli-interp.c index cc556a457..f9612a6a8 100644 --- a/gdb/cli/cli-interp.c +++ b/gdb/cli/cli-interp.c @@ -1,6 +1,6 @@ /* CLI Definitions for GDB, the GNU debugger. - Copyright (C) 2002-2016 Free Software Foundation, Inc. + Copyright (C) 2002-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/cli/cli-interp.h b/gdb/cli/cli-interp.h index 004b96773..ef86372ae 100644 --- a/gdb/cli/cli-interp.h +++ b/gdb/cli/cli-interp.h @@ -1,6 +1,6 @@ /* CLI Definitions for GDB, the GNU debugger. - Copyright (C) 2016 Free Software Foundation, Inc. + Copyright (C) 2016-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/cli/cli-logging.c b/gdb/cli/cli-logging.c index 46d4741aa..5c3db30fd 100644 --- a/gdb/cli/cli-logging.c +++ b/gdb/cli/cli-logging.c @@ -1,6 +1,6 @@ /* Command-line output logging for GDB, the GNU debugger. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c index 579d0a49a..4d9eba74d 100644 --- a/gdb/cli/cli-script.c +++ b/gdb/cli/cli-script.c @@ -1,6 +1,6 @@ /* GDB CLI command scripting. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/cli/cli-script.h b/gdb/cli/cli-script.h index 7db6e82e6..39c3d390b 100644 --- a/gdb/cli/cli-script.h +++ b/gdb/cli/cli-script.h @@ -1,5 +1,5 @@ /* Header file for GDB CLI command implementation library. - Copyright (C) 2000-2016 Free Software Foundation, Inc. + Copyright (C) 2000-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/cli/cli-setshow.c b/gdb/cli/cli-setshow.c index eb17158dc..022208628 100644 --- a/gdb/cli/cli-setshow.c +++ b/gdb/cli/cli-setshow.c @@ -1,6 +1,6 @@ /* Handle set and show GDB commands. - Copyright (C) 2000-2016 Free Software Foundation, Inc. + Copyright (C) 2000-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/cli/cli-setshow.h b/gdb/cli/cli-setshow.h index 6540074d2..a20862792 100644 --- a/gdb/cli/cli-setshow.h +++ b/gdb/cli/cli-setshow.h @@ -1,5 +1,5 @@ /* Header file for GDB CLI set and show commands implementation. - Copyright (C) 2000-2016 Free Software Foundation, Inc. + Copyright (C) 2000-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/cli/cli-utils.c b/gdb/cli/cli-utils.c index 0946db06c..a493077e5 100644 --- a/gdb/cli/cli-utils.c +++ b/gdb/cli/cli-utils.c @@ -1,6 +1,6 @@ /* CLI utilities. - Copyright (C) 2011-2016 Free Software Foundation, Inc. + Copyright (C) 2011-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/cli/cli-utils.h b/gdb/cli/cli-utils.h index a31fff539..72e4ecca1 100644 --- a/gdb/cli/cli-utils.h +++ b/gdb/cli/cli-utils.h @@ -1,6 +1,6 @@ /* CLI utilities. - Copyright (C) 2011-2016 Free Software Foundation, Inc. + Copyright (C) 2011-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/coff-pe-read.c b/gdb/coff-pe-read.c index 883636131..eb9e7b45f 100644 --- a/gdb/coff-pe-read.c +++ b/gdb/coff-pe-read.c @@ -2,7 +2,7 @@ convert to internal format, for GDB. Used as a last resort if no debugging symbols recognized. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/coff-pe-read.h b/gdb/coff-pe-read.h index 8a74a6033..b165ce471 100644 --- a/gdb/coff-pe-read.h +++ b/gdb/coff-pe-read.h @@ -1,6 +1,6 @@ /* Interface to coff-pe-read.c (portable-executable-specific symbol reader). - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/coffread.c b/gdb/coffread.c index 830deb584..2ccf970c9 100644 --- a/gdb/coffread.c +++ b/gdb/coffread.c @@ -1,5 +1,5 @@ /* Read coff symbol tables and convert to internal format, for GDB. - Copyright (C) 1987-2016 Free Software Foundation, Inc. + Copyright (C) 1987-2017 Free Software Foundation, Inc. Contributed by David D. Johnson, Brown University (ddj@cs.brown.edu). This file is part of GDB. diff --git a/gdb/command.h b/gdb/command.h index 965d91fdc..0a07d2189 100644 --- a/gdb/command.h +++ b/gdb/command.h @@ -1,6 +1,6 @@ /* Header file for command creation. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/common/agent.c b/gdb/common/agent.c index 9faf8e7c7..95f67baa7 100644 --- a/gdb/common/agent.c +++ b/gdb/common/agent.c @@ -1,6 +1,6 @@ /* Shared utility routines for GDB to interact with agent. - Copyright (C) 2009-2016 Free Software Foundation, Inc. + Copyright (C) 2009-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/agent.h b/gdb/common/agent.h index 7fb1b0f47..171c5914e 100644 --- a/gdb/common/agent.h +++ b/gdb/common/agent.h @@ -1,6 +1,6 @@ /* Shared utility routines for GDB to interact with agent. - Copyright (C) 2009-2016 Free Software Foundation, Inc. + Copyright (C) 2009-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/ax.def b/gdb/common/ax.def index f375373dd..d0c696f1a 100644 --- a/gdb/common/ax.def +++ b/gdb/common/ax.def @@ -1,5 +1,5 @@ /* Definition of agent opcode values. -*- c -*- - Copyright (C) 1998-2016 Free Software Foundation, Inc. + Copyright (C) 1998-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/break-common.h b/gdb/common/break-common.h index 868a26116..9782e6e79 100644 --- a/gdb/common/break-common.h +++ b/gdb/common/break-common.h @@ -1,6 +1,6 @@ /* Data structures associated with breakpoints shared in both GDB and GDBserver. - Copyright (C) 1992-2016 Free Software Foundation, Inc. + Copyright (C) 1992-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/btrace-common.c b/gdb/common/btrace-common.c index 90aef76c1..940ec75d0 100644 --- a/gdb/common/btrace-common.c +++ b/gdb/common/btrace-common.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2014-2016 Free Software Foundation, Inc. +/* Copyright (C) 2014-2017 Free Software Foundation, Inc. Contributed by Intel Corp. diff --git a/gdb/common/btrace-common.h b/gdb/common/btrace-common.h index d702bb80e..bcae22bba 100644 --- a/gdb/common/btrace-common.h +++ b/gdb/common/btrace-common.h @@ -1,6 +1,6 @@ /* Branch trace support for GDB, the GNU debugger. - Copyright (C) 2013-2016 Free Software Foundation, Inc. + Copyright (C) 2013-2017 Free Software Foundation, Inc. Contributed by Intel Corp. . diff --git a/gdb/common/buffer.c b/gdb/common/buffer.c index e9eee09c7..c5eb16904 100644 --- a/gdb/common/buffer.c +++ b/gdb/common/buffer.c @@ -1,6 +1,6 @@ /* A simple growing buffer for GDB. - Copyright (C) 2009-2016 Free Software Foundation, Inc. + Copyright (C) 2009-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/buffer.h b/gdb/common/buffer.h index 8122a2c3d..2432a0693 100644 --- a/gdb/common/buffer.h +++ b/gdb/common/buffer.h @@ -1,6 +1,6 @@ /* A simple growing buffer for GDB. - Copyright (C) 2009-2016 Free Software Foundation, Inc. + Copyright (C) 2009-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/cleanups.c b/gdb/common/cleanups.c index 7500ca70c..24c292bed 100644 --- a/gdb/common/cleanups.c +++ b/gdb/common/cleanups.c @@ -1,6 +1,6 @@ /* Cleanup routines for GDB, the GNU debugger. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/cleanups.h b/gdb/common/cleanups.h index 5e2167882..039004bf1 100644 --- a/gdb/common/cleanups.h +++ b/gdb/common/cleanups.h @@ -1,5 +1,5 @@ /* Cleanups. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/common-debug.c b/gdb/common/common-debug.c index c37137820..86434909f 100644 --- a/gdb/common/common-debug.c +++ b/gdb/common/common-debug.c @@ -1,6 +1,6 @@ /* Debug printing functions. - Copyright (C) 2014-2016 Free Software Foundation, Inc. + Copyright (C) 2014-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/common-debug.h b/gdb/common/common-debug.h index 06892035b..67fba9316 100644 --- a/gdb/common/common-debug.h +++ b/gdb/common/common-debug.h @@ -1,6 +1,6 @@ /* Declarations for debug printing functions. - Copyright (C) 2014-2016 Free Software Foundation, Inc. + Copyright (C) 2014-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h index 2c9411704..703dd0202 100644 --- a/gdb/common/common-defs.h +++ b/gdb/common/common-defs.h @@ -1,6 +1,6 @@ /* Common definitions. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. @@ -49,6 +49,9 @@ #include #include +#ifdef HAVE_STRINGS_H +#include /* for strcasecmp and strncasecmp */ +#endif #include #include diff --git a/gdb/common/common-exceptions.c b/gdb/common/common-exceptions.c index 33fff2160..6b7d5ec48 100644 --- a/gdb/common/common-exceptions.c +++ b/gdb/common/common-exceptions.c @@ -1,6 +1,6 @@ /* Exception (throw catch) mechanism, for GDB, the GNU debugger. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/common-exceptions.h b/gdb/common/common-exceptions.h index c494de22d..c0d2bbef9 100644 --- a/gdb/common/common-exceptions.h +++ b/gdb/common/common-exceptions.h @@ -1,6 +1,6 @@ /* Exception (throw catch) mechanism, for GDB, the GNU debugger. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/common-regcache.c b/gdb/common/common-regcache.c index 93a9c60ff..e3e4fc4c1 100644 --- a/gdb/common/common-regcache.c +++ b/gdb/common/common-regcache.c @@ -1,6 +1,6 @@ /* Cache and manage the values of registers for GDB, the GNU debugger. - Copyright (C) 2015-2016 Free Software Foundation, Inc. + Copyright (C) 2015-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/common-regcache.h b/gdb/common/common-regcache.h index 0fe8d1282..83071c71b 100644 --- a/gdb/common/common-regcache.h +++ b/gdb/common/common-regcache.h @@ -1,6 +1,6 @@ /* Cache and manage the values of registers - Copyright (C) 2014-2016 Free Software Foundation, Inc. + Copyright (C) 2014-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/common-types.h b/gdb/common/common-types.h index efeb0db46..1b4f898e5 100644 --- a/gdb/common/common-types.h +++ b/gdb/common/common-types.h @@ -1,6 +1,6 @@ /* Declarations for common types. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/common-utils.c b/gdb/common/common-utils.c index 5a346ec37..b5990a47a 100644 --- a/gdb/common/common-utils.c +++ b/gdb/common/common-utils.c @@ -1,6 +1,6 @@ /* Shared general utility routines for GDB, the GNU debugger. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/common-utils.h b/gdb/common/common-utils.h index 47def11a6..391969a28 100644 --- a/gdb/common/common-utils.h +++ b/gdb/common/common-utils.h @@ -1,6 +1,6 @@ /* Shared general utility routines for GDB, the GNU debugger. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/common.host b/gdb/common/common.host index 551bb90bf..7e9b5b652 100644 --- a/gdb/common/common.host +++ b/gdb/common/common.host @@ -1,6 +1,6 @@ # Common object files to include for each host. # -# Copyright (C) 2015-2016 Free Software Foundation, Inc. +# Copyright (C) 2015-2017 Free Software Foundation, Inc. # # This file is part of GDB. # diff --git a/gdb/common/common.m4 b/gdb/common/common.m4 index 68afc65ba..e21e6e54b 100644 --- a/gdb/common/common.m4 +++ b/gdb/common/common.m4 @@ -1,5 +1,5 @@ dnl Autoconf configure snippets for common. -dnl Copyright (C) 1995-2016 Free Software Foundation, Inc. +dnl Copyright (C) 1995-2017 Free Software Foundation, Inc. dnl dnl This file is part of GDB. dnl diff --git a/gdb/common/create-version.sh b/gdb/common/create-version.sh index e0f9eb341..f23991dff 100755 --- a/gdb/common/create-version.sh +++ b/gdb/common/create-version.sh @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (C) 1989-2016 Free Software Foundation, Inc. +# Copyright (C) 1989-2017 Free Software Foundation, Inc. # This file is part of GDB. diff --git a/gdb/common/enum-flags.h b/gdb/common/enum-flags.h index 9b8c952df..5b8c3ebc3 100644 --- a/gdb/common/enum-flags.h +++ b/gdb/common/enum-flags.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2015-2016 Free Software Foundation, Inc. +/* Copyright (C) 2015-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/errors.c b/gdb/common/errors.c index 1fc96025f..7b1f28590 100644 --- a/gdb/common/errors.c +++ b/gdb/common/errors.c @@ -1,6 +1,6 @@ /* Error reporting facilities. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/errors.h b/gdb/common/errors.h index 56979adf3..35fee0d35 100644 --- a/gdb/common/errors.h +++ b/gdb/common/errors.h @@ -1,6 +1,6 @@ /* Declarations for error-reporting facilities. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/fileio.c b/gdb/common/fileio.c index 698438a19..9f7ea5388 100644 --- a/gdb/common/fileio.c +++ b/gdb/common/fileio.c @@ -1,6 +1,6 @@ /* File-I/O functions for GDB, the GNU debugger. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/fileio.h b/gdb/common/fileio.h index 79209d54a..7d7512e48 100644 --- a/gdb/common/fileio.h +++ b/gdb/common/fileio.h @@ -1,6 +1,6 @@ /* File-I/O functions for GDB, the GNU debugger. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/filestuff.c b/gdb/common/filestuff.c index 3996f6f6e..725fb92bb 100644 --- a/gdb/common/filestuff.c +++ b/gdb/common/filestuff.c @@ -1,5 +1,5 @@ /* Low-level file-handling. - Copyright (C) 2012-2016 Free Software Foundation, Inc. + Copyright (C) 2012-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/filestuff.h b/gdb/common/filestuff.h index a490ddeab..b0a811b4a 100644 --- a/gdb/common/filestuff.h +++ b/gdb/common/filestuff.h @@ -1,5 +1,5 @@ /* Low-level file-handling. - Copyright (C) 2012-2016 Free Software Foundation, Inc. + Copyright (C) 2012-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/format.c b/gdb/common/format.c index fbb82fd18..d68579ced 100644 --- a/gdb/common/format.c +++ b/gdb/common/format.c @@ -1,6 +1,6 @@ /* Parse a printf-style format string. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/format.h b/gdb/common/format.h index cb56a2c55..e1482fa6e 100644 --- a/gdb/common/format.h +++ b/gdb/common/format.h @@ -1,6 +1,6 @@ /* Parse a printf-style format string. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/gdb_assert.h b/gdb/common/gdb_assert.h index ac8f8a3da..5de9d3f67 100644 --- a/gdb/common/gdb_assert.h +++ b/gdb/common/gdb_assert.h @@ -1,5 +1,5 @@ /* GDB-friendly replacement for . - Copyright (C) 2000-2016 Free Software Foundation, Inc. + Copyright (C) 2000-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/gdb_locale.h b/gdb/common/gdb_locale.h index 686260e92..3d5c4cb99 100644 --- a/gdb/common/gdb_locale.h +++ b/gdb/common/gdb_locale.h @@ -1,5 +1,5 @@ /* GDB-friendly replacement for . - Copyright (C) 2002-2016 Free Software Foundation, Inc. + Copyright (C) 2002-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/gdb_setjmp.h b/gdb/common/gdb_setjmp.h index 2fec8553d..922335664 100644 --- a/gdb/common/gdb_setjmp.h +++ b/gdb/common/gdb_setjmp.h @@ -1,5 +1,5 @@ /* Portability wrappers for setjmp and longjmp. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/gdb_signals.h b/gdb/common/gdb_signals.h index 038ad0865..dce0fbd7b 100644 --- a/gdb/common/gdb_signals.h +++ b/gdb/common/gdb_signals.h @@ -1,5 +1,5 @@ /* Target signal translation functions for GDB. - Copyright (C) 1990-2016 Free Software Foundation, Inc. + Copyright (C) 1990-2017 Free Software Foundation, Inc. Contributed by Cygnus Support. This file is part of GDB. diff --git a/gdb/common/gdb_sys_time.h b/gdb/common/gdb_sys_time.h index 9fdb03a6e..0955f9e81 100644 --- a/gdb/common/gdb_sys_time.h +++ b/gdb/common/gdb_sys_time.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2015-2016 Free Software Foundation, Inc. +/* Copyright (C) 2015-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/gdb_vecs.c b/gdb/common/gdb_vecs.c index 11a2465e8..3cf774578 100644 --- a/gdb/common/gdb_vecs.c +++ b/gdb/common/gdb_vecs.c @@ -1,6 +1,6 @@ /* Some commonly-used VEC types. - Copyright (C) 2012-2016 Free Software Foundation, Inc. + Copyright (C) 2012-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/gdb_vecs.h b/gdb/common/gdb_vecs.h index 3a10379e7..d7777472f 100644 --- a/gdb/common/gdb_vecs.h +++ b/gdb/common/gdb_vecs.h @@ -1,6 +1,6 @@ /* Some commonly-used VEC types. - Copyright (C) 2012-2016 Free Software Foundation, Inc. + Copyright (C) 2012-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/gdb_wait.h b/gdb/common/gdb_wait.h index 2345280e8..708442211 100644 --- a/gdb/common/gdb_wait.h +++ b/gdb/common/gdb_wait.h @@ -1,5 +1,5 @@ /* Standard wait macros. - Copyright (C) 2000-2016 Free Software Foundation, Inc. + Copyright (C) 2000-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/host-defs.h b/gdb/common/host-defs.h index b6e7e7ece..d653e2925 100644 --- a/gdb/common/host-defs.h +++ b/gdb/common/host-defs.h @@ -1,5 +1,5 @@ /* Basic host-specific definitions for GDB. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/mingw-strerror.c b/gdb/common/mingw-strerror.c index 8a4b456d4..a2643ff00 100644 --- a/gdb/common/mingw-strerror.c +++ b/gdb/common/mingw-strerror.c @@ -1,6 +1,6 @@ /* Safe version of strerror for MinGW, for GDB, the GNU debugger. - Copyright (C) 2006-2016 Free Software Foundation, Inc. + Copyright (C) 2006-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/posix-strerror.c b/gdb/common/posix-strerror.c index 00cf660c1..b12f959bf 100644 --- a/gdb/common/posix-strerror.c +++ b/gdb/common/posix-strerror.c @@ -1,6 +1,6 @@ /* Safe version of strerror for POSIX systems for GDB, the GNU debugger. - Copyright (C) 2006-2016 Free Software Foundation, Inc. + Copyright (C) 2006-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/print-utils.c b/gdb/common/print-utils.c index 1a21404d3..a0fb54139 100644 --- a/gdb/common/print-utils.c +++ b/gdb/common/print-utils.c @@ -1,6 +1,6 @@ /* Cell-based print utility routines for GDB, the GNU debugger. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/print-utils.h b/gdb/common/print-utils.h index 8790d0b6a..0cdb53925 100644 --- a/gdb/common/print-utils.h +++ b/gdb/common/print-utils.h @@ -1,6 +1,6 @@ /* Cell-based print utility routines for GDB, the GNU debugger. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/ptid.c b/gdb/common/ptid.c index c997d6492..05c0db17d 100644 --- a/gdb/common/ptid.c +++ b/gdb/common/ptid.c @@ -1,6 +1,6 @@ /* The ptid_t type and common functions operating on it. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/ptid.h b/gdb/common/ptid.h index e18e5efc9..337bfb089 100644 --- a/gdb/common/ptid.h +++ b/gdb/common/ptid.h @@ -1,6 +1,6 @@ /* The ptid_t type and common functions operating on it. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/queue.h b/gdb/common/queue.h index 8611ed658..6314ad5ca 100644 --- a/gdb/common/queue.h +++ b/gdb/common/queue.h @@ -1,6 +1,6 @@ /* General queue data structure for GDB, the GNU debugger. - Copyright (C) 2012-2016 Free Software Foundation, Inc. + Copyright (C) 2012-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/rsp-low.c b/gdb/common/rsp-low.c index e5fadd1f2..eb85ab570 100644 --- a/gdb/common/rsp-low.c +++ b/gdb/common/rsp-low.c @@ -1,6 +1,6 @@ /* Low-level RSP routines for GDB, the GNU debugger. - Copyright (C) 1988-2016 Free Software Foundation, Inc. + Copyright (C) 1988-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/rsp-low.h b/gdb/common/rsp-low.h index 29417be98..b57f58bc7 100644 --- a/gdb/common/rsp-low.h +++ b/gdb/common/rsp-low.h @@ -1,6 +1,6 @@ /* Low-level RSP routines for GDB, the GNU debugger. - Copyright (C) 1988-2016 Free Software Foundation, Inc. + Copyright (C) 1988-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/signals-state-save-restore.c b/gdb/common/signals-state-save-restore.c index 5269062ab..d11a9ae00 100644 --- a/gdb/common/signals-state-save-restore.c +++ b/gdb/common/signals-state-save-restore.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2016 Free Software Foundation, Inc. +/* Copyright (C) 2016-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/signals-state-save-restore.h b/gdb/common/signals-state-save-restore.h index bed77fe5b..008d3aac9 100644 --- a/gdb/common/signals-state-save-restore.h +++ b/gdb/common/signals-state-save-restore.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2016 Free Software Foundation, Inc. +/* Copyright (C) 2016-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/signals.c b/gdb/common/signals.c index f84935d47..50bd8ce5a 100644 --- a/gdb/common/signals.c +++ b/gdb/common/signals.c @@ -1,5 +1,5 @@ /* Target signal translation functions for GDB. - Copyright (C) 1990-2016 Free Software Foundation, Inc. + Copyright (C) 1990-2017 Free Software Foundation, Inc. Contributed by Cygnus Support. This file is part of GDB. diff --git a/gdb/common/symbol.h b/gdb/common/symbol.h index e44b79ee0..47a06938f 100644 --- a/gdb/common/symbol.h +++ b/gdb/common/symbol.h @@ -1,6 +1,6 @@ /* Declarations of common symbol functions. - Copyright (C) 2014-2016 Free Software Foundation, Inc. + Copyright (C) 2014-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/vec.c b/gdb/common/vec.c index a6c42dd9b..18e2c42d0 100644 --- a/gdb/common/vec.c +++ b/gdb/common/vec.c @@ -1,5 +1,5 @@ /* Vector API for GDB. - Copyright (C) 2004-2016 Free Software Foundation, Inc. + Copyright (C) 2004-2017 Free Software Foundation, Inc. Contributed by Nathan Sidwell This file is part of GDB. diff --git a/gdb/common/vec.h b/gdb/common/vec.h index 2b2da0bff..982f7718a 100644 --- a/gdb/common/vec.h +++ b/gdb/common/vec.h @@ -1,5 +1,5 @@ /* Vector API for GDB. - Copyright (C) 2004-2016 Free Software Foundation, Inc. + Copyright (C) 2004-2017 Free Software Foundation, Inc. Contributed by Nathan Sidwell This file is part of GDB. diff --git a/gdb/common/version.h b/gdb/common/version.h index 62508fd2e..4e71354fb 100644 --- a/gdb/common/version.h +++ b/gdb/common/version.h @@ -1,5 +1,5 @@ /* Version information for GDB. - Copyright (C) 1999-2016 Free Software Foundation, Inc. + Copyright (C) 1999-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/x86-xstate.h b/gdb/common/x86-xstate.h index 0aa916438..fcb745336 100644 --- a/gdb/common/x86-xstate.h +++ b/gdb/common/x86-xstate.h @@ -1,6 +1,6 @@ /* Common code for x86 XSAVE extended state. - Copyright (C) 2010-2016 Free Software Foundation, Inc. + Copyright (C) 2010-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/xml-utils.c b/gdb/common/xml-utils.c index afc802f5d..b5fe442d7 100644 --- a/gdb/common/xml-utils.c +++ b/gdb/common/xml-utils.c @@ -1,6 +1,6 @@ /* Shared helper routines for manipulating XML. - Copyright (C) 2006-2016 Free Software Foundation, Inc. + Copyright (C) 2006-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/common/xml-utils.h b/gdb/common/xml-utils.h index c73bf072d..d138bab51 100644 --- a/gdb/common/xml-utils.h +++ b/gdb/common/xml-utils.h @@ -1,6 +1,6 @@ /* Shared helper routines for manipulating XML. - Copyright (C) 2006-2016 Free Software Foundation, Inc. + Copyright (C) 2006-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/compile/compile-c-support.c b/gdb/compile/compile-c-support.c index c42dabadd..d48982ed9 100644 --- a/gdb/compile/compile-c-support.c +++ b/gdb/compile/compile-c-support.c @@ -1,6 +1,6 @@ /* C language support for compilation. - Copyright (C) 2014-2016 Free Software Foundation, Inc. + Copyright (C) 2014-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/compile/compile-c-symbols.c b/gdb/compile/compile-c-symbols.c index dcd530d3c..01e253fad 100644 --- a/gdb/compile/compile-c-symbols.c +++ b/gdb/compile/compile-c-symbols.c @@ -1,6 +1,6 @@ /* Convert symbols from GDB to GCC - Copyright (C) 2014-2016 Free Software Foundation, Inc. + Copyright (C) 2014-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/compile/compile-c-types.c b/gdb/compile/compile-c-types.c index 505bce684..22aee78de 100644 --- a/gdb/compile/compile-c-types.c +++ b/gdb/compile/compile-c-types.c @@ -1,6 +1,6 @@ /* Convert types from GDB to GCC - Copyright (C) 2014-2016 Free Software Foundation, Inc. + Copyright (C) 2014-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/compile/compile-internal.h b/gdb/compile/compile-internal.h index 66ea8649d..e29d309b6 100644 --- a/gdb/compile/compile-internal.h +++ b/gdb/compile/compile-internal.h @@ -1,5 +1,5 @@ /* Header file for GDB compile command and supporting functions. - Copyright (C) 2014-2016 Free Software Foundation, Inc. + Copyright (C) 2014-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/compile/compile-loc2c.c b/gdb/compile/compile-loc2c.c index 1a267b852..2e080522f 100644 --- a/gdb/compile/compile-loc2c.c +++ b/gdb/compile/compile-loc2c.c @@ -1,6 +1,6 @@ /* Convert a DWARF location expression to C - Copyright (C) 2014-2016 Free Software Foundation, Inc. + Copyright (C) 2014-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/compile/compile-object-load.c b/gdb/compile/compile-object-load.c index 4392c1503..1b42bc58c 100644 --- a/gdb/compile/compile-object-load.c +++ b/gdb/compile/compile-object-load.c @@ -1,6 +1,6 @@ /* Load module for 'compile' command. - Copyright (C) 2014-2016 Free Software Foundation, Inc. + Copyright (C) 2014-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/compile/compile-object-load.h b/gdb/compile/compile-object-load.h index 39c1a90ce..cd4a6c5a0 100644 --- a/gdb/compile/compile-object-load.h +++ b/gdb/compile/compile-object-load.h @@ -1,5 +1,5 @@ /* Header file to load module for 'compile' command. - Copyright (C) 2014-2016 Free Software Foundation, Inc. + Copyright (C) 2014-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/compile/compile-object-run.c b/gdb/compile/compile-object-run.c index e8527b02b..de5fa1630 100644 --- a/gdb/compile/compile-object-run.c +++ b/gdb/compile/compile-object-run.c @@ -1,6 +1,6 @@ /* Call module for 'compile' command. - Copyright (C) 2014-2016 Free Software Foundation, Inc. + Copyright (C) 2014-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/compile/compile-object-run.h b/gdb/compile/compile-object-run.h index 3debaf075..be016ea77 100644 --- a/gdb/compile/compile-object-run.h +++ b/gdb/compile/compile-object-run.h @@ -1,5 +1,5 @@ /* Header file to call module for 'compile' command. - Copyright (C) 2014-2016 Free Software Foundation, Inc. + Copyright (C) 2014-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/compile/compile.c b/gdb/compile/compile.c index 0c4a7387a..79519eec7 100644 --- a/gdb/compile/compile.c +++ b/gdb/compile/compile.c @@ -1,6 +1,6 @@ /* General Compile and inject code - Copyright (C) 2014-2016 Free Software Foundation, Inc. + Copyright (C) 2014-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/compile/compile.h b/gdb/compile/compile.h index f4afd9fed..a46ee6d79 100644 --- a/gdb/compile/compile.h +++ b/gdb/compile/compile.h @@ -1,6 +1,6 @@ /* Header file for Compile and inject module. - Copyright (C) 2014-2016 Free Software Foundation, Inc. + Copyright (C) 2014-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/complaints.c b/gdb/complaints.c index b35c81de3..dc60dc3be 100644 --- a/gdb/complaints.c +++ b/gdb/complaints.c @@ -1,6 +1,6 @@ /* Support for complaint handling during symbol reading in GDB. - Copyright (C) 1990-2016 Free Software Foundation, Inc. + Copyright (C) 1990-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/complaints.h b/gdb/complaints.h index 25e4ae9b8..54c2b18fa 100644 --- a/gdb/complaints.h +++ b/gdb/complaints.h @@ -1,6 +1,6 @@ /* Definitions for complaint handling during symbol reading in GDB. - Copyright (C) 1990-2016 Free Software Foundation, Inc. + Copyright (C) 1990-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/completer.c b/gdb/completer.c index d0e6bc80f..c22800f1f 100644 --- a/gdb/completer.c +++ b/gdb/completer.c @@ -1,5 +1,5 @@ /* Line completion stuff for GDB, the GNU debugger. - Copyright (C) 2000-2016 Free Software Foundation, Inc. + Copyright (C) 2000-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/completer.h b/gdb/completer.h index 24bfee921..416b3134f 100644 --- a/gdb/completer.h +++ b/gdb/completer.h @@ -1,5 +1,5 @@ /* Header for GDB line completion. - Copyright (C) 2000-2016 Free Software Foundation, Inc. + Copyright (C) 2000-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/config/aarch64/linux.mh b/gdb/config/aarch64/linux.mh index 2503304fd..d184a79fa 100644 --- a/gdb/config/aarch64/linux.mh +++ b/gdb/config/aarch64/linux.mh @@ -1,6 +1,6 @@ # Host: AArch64 based machine running GNU/Linux # -# Copyright (C) 2013-2016 Free Software Foundation, Inc. +# Copyright (C) 2013-2017 Free Software Foundation, Inc. # Contributed by ARM Ltd. # # This file is part of GDB. diff --git a/gdb/config/djgpp/djcheck.sh b/gdb/config/djgpp/djcheck.sh index b363b4cdc..f4300eb48 100644 --- a/gdb/config/djgpp/djcheck.sh +++ b/gdb/config/djgpp/djcheck.sh @@ -2,7 +2,7 @@ # A shell script to run the test suite on the DJGPP version of GDB. -# Copyright (C) 2000-2016 Free Software Foundation, Inc. +# Copyright (C) 2000-2017 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/gdb/config/djgpp/djconfig.sh b/gdb/config/djgpp/djconfig.sh index a431fdfc1..6c0d8698e 100644 --- a/gdb/config/djgpp/djconfig.sh +++ b/gdb/config/djgpp/djconfig.sh @@ -5,7 +5,7 @@ # configuring other GNU programs for DJGPP. # #===================================================================== -# Copyright (C) 1997-2016 Free Software Foundation, Inc. +# Copyright (C) 1997-2017 Free Software Foundation, Inc. # # Originally written by Robert Hoehne, revised by Eli Zaretskii. # This file is part of GDB. diff --git a/gdb/config/djgpp/langinfo.h b/gdb/config/djgpp/langinfo.h index 0ef980be8..39d50fafd 100644 --- a/gdb/config/djgpp/langinfo.h +++ b/gdb/config/djgpp/langinfo.h @@ -1,5 +1,5 @@ /* langinfo.h file for DJGPP. - Copyright (C) 2009-2016 Free Software Foundation, Inc. + Copyright (C) 2009-2017 Free Software Foundation, Inc. Written by Eli Zaretskii. This file is part of GDB. diff --git a/gdb/config/djgpp/nl_types.h b/gdb/config/djgpp/nl_types.h index 66582e49a..cd253fd0d 100644 --- a/gdb/config/djgpp/nl_types.h +++ b/gdb/config/djgpp/nl_types.h @@ -1,5 +1,5 @@ /* nl_types.h for DJGPP. - Copyright (C) 2009-2016 Free Software Foundation, Inc. + Copyright (C) 2009-2017 Free Software Foundation, Inc. Written by Eli Zaretskii. This file is part of GDB. diff --git a/gdb/config/i386/cygwin64.mh b/gdb/config/i386/cygwin64.mh index b3904c5d6..4f70adca5 100644 --- a/gdb/config/i386/cygwin64.mh +++ b/gdb/config/i386/cygwin64.mh @@ -1,6 +1,6 @@ # Native config information for GDB on PowerPC systems running FreeBSD. # -# Copyright (C) 2013-2016 Free Software Foundation, Inc. +# Copyright (C) 2013-2017 Free Software Foundation, Inc. # # This file is part of GDB. # diff --git a/gdb/config/i386/nm-fbsd.h b/gdb/config/i386/nm-fbsd.h index 2b7ab8e20..3cfcbc4c5 100644 --- a/gdb/config/i386/nm-fbsd.h +++ b/gdb/config/i386/nm-fbsd.h @@ -1,6 +1,6 @@ /* Native-dependent definitions for FreeBSD/i386. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/config/i386/nm-i386gnu.h b/gdb/config/i386/nm-i386gnu.h index f4f43cf2c..7564cffb6 100644 --- a/gdb/config/i386/nm-i386gnu.h +++ b/gdb/config/i386/nm-i386gnu.h @@ -1,5 +1,5 @@ /* Native-dependent definitions for Intel 386 running the GNU Hurd - Copyright (C) 1994-2016 Free Software Foundation, Inc. + Copyright (C) 1994-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/config/nm-linux.h b/gdb/config/nm-linux.h index 05e755ea4..9f6b2436b 100644 --- a/gdb/config/nm-linux.h +++ b/gdb/config/nm-linux.h @@ -1,6 +1,6 @@ /* Native support for GNU/Linux. - Copyright (C) 1999-2016 Free Software Foundation, Inc. + Copyright (C) 1999-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/config/nm-nto.h b/gdb/config/nm-nto.h index 0db8182d6..a32e5b60e 100644 --- a/gdb/config/nm-nto.h +++ b/gdb/config/nm-nto.h @@ -1,6 +1,6 @@ /* Native support for QNX Neutrino version 6. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. This code was donated by QNX Software Systems Ltd. diff --git a/gdb/config/powerpc/fbsd.mh b/gdb/config/powerpc/fbsd.mh index 32ba4ae3f..4261c1ac7 100644 --- a/gdb/config/powerpc/fbsd.mh +++ b/gdb/config/powerpc/fbsd.mh @@ -1,6 +1,6 @@ # Native config information for GDB on PowerPC systems running FreeBSD. # -# Copyright (C) 2013-2016 Free Software Foundation, Inc. +# Copyright (C) 2013-2017 Free Software Foundation, Inc. # # This file is part of GDB. # diff --git a/gdb/config/sparc/nm-sol2.h b/gdb/config/sparc/nm-sol2.h index 8c0b388dc..f44f78312 100644 --- a/gdb/config/sparc/nm-sol2.h +++ b/gdb/config/sparc/nm-sol2.h @@ -1,6 +1,6 @@ /* Native-dependent definitions for Solaris SPARC. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/configure.ac b/gdb/configure.ac index f774db7ea..3f1d74a65 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -1,5 +1,5 @@ dnl Autoconf configure script for GDB, the GNU debugger. -dnl Copyright (C) 1995-2016 Free Software Foundation, Inc. +dnl Copyright (C) 1995-2017 Free Software Foundation, Inc. dnl dnl This file is part of GDB. dnl diff --git a/gdb/continuations.c b/gdb/continuations.c index d052c9fc2..f862810b9 100644 --- a/gdb/continuations.c +++ b/gdb/continuations.c @@ -1,6 +1,6 @@ /* Continuations for GDB, the GNU debugger. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/continuations.h b/gdb/continuations.h index 3a6161299..0d129a9c2 100644 --- a/gdb/continuations.h +++ b/gdb/continuations.h @@ -1,6 +1,6 @@ /* Continuations for GDB, the GNU debugger. - Copyright (C) 1999-2016 Free Software Foundation, Inc. + Copyright (C) 1999-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/contrib/ari/create-web-ari-in-src.sh b/gdb/contrib/ari/create-web-ari-in-src.sh index d07e0a5fa..d540a4d1a 100644 --- a/gdb/contrib/ari/create-web-ari-in-src.sh +++ b/gdb/contrib/ari/create-web-ari-in-src.sh @@ -2,7 +2,7 @@ # GDB script to create web ARI page directly from within gdb/ari directory. # -# Copyright (C) 2012-2016 Free Software Foundation, Inc. +# Copyright (C) 2012-2017 Free Software Foundation, Inc. # # This file is part of GDB. # diff --git a/gdb/contrib/ari/gdb_ari.sh b/gdb/contrib/ari/gdb_ari.sh index 43f0206de..ace909ad8 100644 --- a/gdb/contrib/ari/gdb_ari.sh +++ b/gdb/contrib/ari/gdb_ari.sh @@ -2,7 +2,7 @@ # GDB script to list of problems using awk. # -# Copyright (C) 2002-2016 Free Software Foundation, Inc. +# Copyright (C) 2002-2017 Free Software Foundation, Inc. # # This file is part of GDB. # diff --git a/gdb/contrib/ari/gdb_find.sh b/gdb/contrib/ari/gdb_find.sh index 1ddd241c1..6e1aac2ad 100644 --- a/gdb/contrib/ari/gdb_find.sh +++ b/gdb/contrib/ari/gdb_find.sh @@ -2,7 +2,7 @@ # GDB script to create list of files to check using gdb_ari.sh. # -# Copyright (C) 2003-2016 Free Software Foundation, Inc. +# Copyright (C) 2003-2017 Free Software Foundation, Inc. # # This file is part of GDB. # diff --git a/gdb/contrib/ari/update-web-ari.sh b/gdb/contrib/ari/update-web-ari.sh index ba84a80fc..845bf47b1 100644 --- a/gdb/contrib/ari/update-web-ari.sh +++ b/gdb/contrib/ari/update-web-ari.sh @@ -2,7 +2,7 @@ # GDB script to create GDB ARI web page. # -# Copyright (C) 2001-2016 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is part of GDB. # diff --git a/gdb/contrib/cc-with-tweaks.sh b/gdb/contrib/cc-with-tweaks.sh index f491a0fb6..7d39c00d2 100755 --- a/gdb/contrib/cc-with-tweaks.sh +++ b/gdb/contrib/cc-with-tweaks.sh @@ -2,7 +2,7 @@ # Wrapper around gcc to tweak the output in various ways when running # the testsuite. -# Copyright (C) 2010-2016 Free Software Foundation, Inc. +# Copyright (C) 2010-2017 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or diff --git a/gdb/contrib/cleanup_check.py b/gdb/contrib/cleanup_check.py index de7bdac72..5f4b451b5 100644 --- a/gdb/contrib/cleanup_check.py +++ b/gdb/contrib/cleanup_check.py @@ -1,4 +1,4 @@ -# Copyright 2013-2016 Free Software Foundation, Inc. +# Copyright 2013-2017 Free Software Foundation, Inc. # # This is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by diff --git a/gdb/contrib/excheck.py b/gdb/contrib/excheck.py index 6da829570..c75137a85 100644 --- a/gdb/contrib/excheck.py +++ b/gdb/contrib/excheck.py @@ -1,4 +1,4 @@ -# Copyright 2011-2016 Free Software Foundation, Inc. +# Copyright 2011-2017 Free Software Foundation, Inc. # # This is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by diff --git a/gdb/contrib/expect-read1.c b/gdb/contrib/expect-read1.c index 4e21373a9..a5027e3d9 100644 --- a/gdb/contrib/expect-read1.c +++ b/gdb/contrib/expect-read1.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2013-2016 Free Software Foundation, Inc. +/* Copyright (C) 2013-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/contrib/expect-read1.sh b/gdb/contrib/expect-read1.sh index cc9d81155..656a8487f 100644 --- a/gdb/contrib/expect-read1.sh +++ b/gdb/contrib/expect-read1.sh @@ -1,7 +1,7 @@ #! /bin/sh # runtest wrapper to reliably reproduce racy incomplete reads in the testsuite. -# Copyright (C) 2013-2016 Free Software Foundation, Inc. +# Copyright (C) 2013-2017 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or diff --git a/gdb/contrib/exsummary.py b/gdb/contrib/exsummary.py index c1320e1dc..dcf2b76ca 100644 --- a/gdb/contrib/exsummary.py +++ b/gdb/contrib/exsummary.py @@ -1,4 +1,4 @@ -# Copyright 2011-2016 Free Software Foundation, Inc. +# Copyright 2011-2017 Free Software Foundation, Inc. # # This is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by diff --git a/gdb/contrib/gcc-with-excheck b/gdb/contrib/gcc-with-excheck index 5f3ee3a03..c197312d8 100755 --- a/gdb/contrib/gcc-with-excheck +++ b/gdb/contrib/gcc-with-excheck @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright 2011-2016 Free Software Foundation, Inc. +# Copyright 2011-2017 Free Software Foundation, Inc. # # This is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by diff --git a/gdb/contrib/gdb-add-index.sh b/gdb/contrib/gdb-add-index.sh index cca7153ab..0cd4ce3c9 100755 --- a/gdb/contrib/gdb-add-index.sh +++ b/gdb/contrib/gdb-add-index.sh @@ -2,7 +2,7 @@ # Add a .gdb_index section to a file. -# Copyright (C) 2010-2016 Free Software Foundation, Inc. +# Copyright (C) 2010-2017 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or diff --git a/gdb/contrib/test_pubnames_and_indexes.py b/gdb/contrib/test_pubnames_and_indexes.py index 8457e2f35..afb61d681 100644 --- a/gdb/contrib/test_pubnames_and_indexes.py +++ b/gdb/contrib/test_pubnames_and_indexes.py @@ -1,6 +1,6 @@ #! /usr/bin/env python -# Copyright (C) 2011-2016 Free Software Foundation, Inc. +# Copyright (C) 2011-2017 Free Software Foundation, Inc. # # This file is part of GDB. # diff --git a/gdb/copyright.py b/gdb/copyright.py index 6d5e1bd9d..dca2d56f9 100644 --- a/gdb/copyright.py +++ b/gdb/copyright.py @@ -1,6 +1,6 @@ #! /usr/bin/env python -# Copyright (C) 2011-2016 Free Software Foundation, Inc. +# Copyright (C) 2011-2017 Free Software Foundation, Inc. # # This file is part of GDB. # diff --git a/gdb/core-regset.c b/gdb/core-regset.c index 59cadb6ba..278887be8 100644 --- a/gdb/core-regset.c +++ b/gdb/core-regset.c @@ -1,6 +1,6 @@ /* Machine independent GDB support for core files on systems using "regsets". - Copyright (C) 1993-2016 Free Software Foundation, Inc. + Copyright (C) 1993-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/corefile.c b/gdb/corefile.c index 64de931b1..54cb789d7 100644 --- a/gdb/corefile.c +++ b/gdb/corefile.c @@ -1,6 +1,6 @@ /* Core dump and executable file functions above target vector, for GDB. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/corelow.c b/gdb/corelow.c index 376b7c9fd..c46af0a8a 100644 --- a/gdb/corelow.c +++ b/gdb/corelow.c @@ -1,6 +1,6 @@ /* Core dump and executable file functions below target vector, for GDB. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/cp-abi.c b/gdb/cp-abi.c index afc4d4a79..bc9a9c114 100644 --- a/gdb/cp-abi.c +++ b/gdb/cp-abi.c @@ -1,6 +1,6 @@ /* Generic code for supporting multiple C++ ABI's - Copyright (C) 2001-2016 Free Software Foundation, Inc. + Copyright (C) 2001-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/cp-abi.h b/gdb/cp-abi.h index 4349a4a3a..6c9cb7804 100644 --- a/gdb/cp-abi.h +++ b/gdb/cp-abi.h @@ -3,7 +3,7 @@ Contributed by Daniel Berlin - Copyright (C) 2001-2016 Free Software Foundation, Inc. + Copyright (C) 2001-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/cp-name-parser.c b/gdb/cp-name-parser.c index 2884a6bf8..0f5db1056 100644 --- a/gdb/cp-name-parser.c +++ b/gdb/cp-name-parser.c @@ -1,8 +1,8 @@ -/* A Bison parser, made by GNU Bison 3.0.2. */ +/* A Bison parser, made by GNU Bison 3.0.4. */ /* Bison implementation for Yacc-like parsers in C - Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -44,7 +44,7 @@ #define YYBISON 1 /* Bison version. */ -#define YYBISON_VERSION "3.0.2" +#define YYBISON_VERSION "3.0.4" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -430,7 +430,7 @@ extern int yydebug; /* Value type. */ #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -typedef union YYSTYPE YYSTYPE; + union YYSTYPE { #line 261 "cp-name-parser.y" /* yacc.c:355 */ @@ -455,6 +455,8 @@ union YYSTYPE #line 457 "cp-name-parser.c" /* yacc.c:355 */ }; + +typedef union YYSTYPE YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define YYSTYPE_IS_DECLARED 1 #endif @@ -468,7 +470,7 @@ int yyparse (void); /* Copy the second part of user declarations. */ -#line 472 "cp-name-parser.c" /* yacc.c:358 */ +#line 474 "cp-name-parser.c" /* yacc.c:358 */ #ifdef short # undef short @@ -1936,19 +1938,19 @@ yyreduce: case 2: #line 376 "cp-name-parser.y" /* yacc.c:1646 */ { global_result = (yyvsp[0].comp); } -#line 1941 "cp-name-parser.c" /* yacc.c:1646 */ +#line 1943 "cp-name-parser.c" /* yacc.c:1646 */ break; case 6: #line 388 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = NULL; } -#line 1947 "cp-name-parser.c" /* yacc.c:1646 */ +#line 1949 "cp-name-parser.c" /* yacc.c:1646 */ break; case 7: #line 390 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = (yyvsp[0].comp); } -#line 1953 "cp-name-parser.c" /* yacc.c:1646 */ +#line 1955 "cp-name-parser.c" /* yacc.c:1646 */ break; case 8: @@ -1956,28 +1958,28 @@ yyreduce: { (yyval.comp) = (yyvsp[0].nested).comp; *(yyvsp[0].nested).last = (yyvsp[-1].comp); } -#line 1961 "cp-name-parser.c" /* yacc.c:1646 */ +#line 1963 "cp-name-parser.c" /* yacc.c:1646 */ break; case 9: #line 406 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_TYPED_NAME, (yyvsp[-2].comp), (yyvsp[-1].nested).comp); if ((yyvsp[0].comp)) (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_LOCAL_NAME, (yyval.comp), (yyvsp[0].comp)); } -#line 1968 "cp-name-parser.c" /* yacc.c:1646 */ +#line 1970 "cp-name-parser.c" /* yacc.c:1646 */ break; case 10: #line 409 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_TYPED_NAME, (yyvsp[-2].comp), (yyvsp[-1].nested).comp); if ((yyvsp[0].comp)) (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_LOCAL_NAME, (yyval.comp), (yyvsp[0].comp)); } -#line 1975 "cp-name-parser.c" /* yacc.c:1646 */ +#line 1977 "cp-name-parser.c" /* yacc.c:1646 */ break; case 11: #line 413 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = (yyvsp[-1].nested).comp; if ((yyvsp[0].comp)) (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_LOCAL_NAME, (yyval.comp), (yyvsp[0].comp)); } -#line 1982 "cp-name-parser.c" /* yacc.c:1646 */ +#line 1984 "cp-name-parser.c" /* yacc.c:1646 */ break; case 12: @@ -1997,7 +1999,7 @@ yyreduce: (yyval.comp) = (yyvsp[-1].nested).comp; if ((yyvsp[0].abstract).start) (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_LOCAL_NAME, (yyval.comp), (yyvsp[0].abstract).start); } -#line 2002 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2004 "cp-name-parser.c" /* yacc.c:1646 */ break; case 13: @@ -2005,13 +2007,13 @@ yyreduce: { (yyval.comp) = make_empty ((enum demangle_component_type) (yyvsp[-1].lval)); d_left ((yyval.comp)) = (yyvsp[0].comp); d_right ((yyval.comp)) = NULL; } -#line 2010 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2012 "cp-name-parser.c" /* yacc.c:1646 */ break; case 14: #line 439 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE, (yyvsp[-2].comp), (yyvsp[0].comp)); } -#line 2016 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2018 "cp-name-parser.c" /* yacc.c:1646 */ break; case 15: @@ -2021,7 +2023,7 @@ yyreduce: It would abort on unrecognized string otherwise. */ (yyval.comp) = make_operator ("new", 3); } -#line 2026 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2028 "cp-name-parser.c" /* yacc.c:1646 */ break; case 16: @@ -2031,7 +2033,7 @@ yyreduce: It would abort on unrecognized string otherwise. */ (yyval.comp) = make_operator ("delete ", 1); } -#line 2036 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2038 "cp-name-parser.c" /* yacc.c:1646 */ break; case 17: @@ -2041,7 +2043,7 @@ yyreduce: It would abort on unrecognized string otherwise. */ (yyval.comp) = make_operator ("new[]", 3); } -#line 2046 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2048 "cp-name-parser.c" /* yacc.c:1646 */ break; case 18: @@ -2051,187 +2053,187 @@ yyreduce: It would abort on unrecognized string otherwise. */ (yyval.comp) = make_operator ("delete[] ", 1); } -#line 2056 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2058 "cp-name-parser.c" /* yacc.c:1646 */ break; case 19: #line 467 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("+", 2); } -#line 2062 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2064 "cp-name-parser.c" /* yacc.c:1646 */ break; case 20: #line 469 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("-", 2); } -#line 2068 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2070 "cp-name-parser.c" /* yacc.c:1646 */ break; case 21: #line 471 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("*", 2); } -#line 2074 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2076 "cp-name-parser.c" /* yacc.c:1646 */ break; case 22: #line 473 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("/", 2); } -#line 2080 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2082 "cp-name-parser.c" /* yacc.c:1646 */ break; case 23: #line 475 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("%", 2); } -#line 2086 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2088 "cp-name-parser.c" /* yacc.c:1646 */ break; case 24: #line 477 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("^", 2); } -#line 2092 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2094 "cp-name-parser.c" /* yacc.c:1646 */ break; case 25: #line 479 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("&", 2); } -#line 2098 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2100 "cp-name-parser.c" /* yacc.c:1646 */ break; case 26: #line 481 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("|", 2); } -#line 2104 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2106 "cp-name-parser.c" /* yacc.c:1646 */ break; case 27: #line 483 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("~", 1); } -#line 2110 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2112 "cp-name-parser.c" /* yacc.c:1646 */ break; case 28: #line 485 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("!", 1); } -#line 2116 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2118 "cp-name-parser.c" /* yacc.c:1646 */ break; case 29: #line 487 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("=", 2); } -#line 2122 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2124 "cp-name-parser.c" /* yacc.c:1646 */ break; case 30: #line 489 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("<", 2); } -#line 2128 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2130 "cp-name-parser.c" /* yacc.c:1646 */ break; case 31: #line 491 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator (">", 2); } -#line 2134 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2136 "cp-name-parser.c" /* yacc.c:1646 */ break; case 32: #line 493 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ((yyvsp[0].opname), 2); } -#line 2140 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2142 "cp-name-parser.c" /* yacc.c:1646 */ break; case 33: #line 495 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("<<", 2); } -#line 2146 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2148 "cp-name-parser.c" /* yacc.c:1646 */ break; case 34: #line 497 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator (">>", 2); } -#line 2152 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2154 "cp-name-parser.c" /* yacc.c:1646 */ break; case 35: #line 499 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("==", 2); } -#line 2158 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2160 "cp-name-parser.c" /* yacc.c:1646 */ break; case 36: #line 501 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("!=", 2); } -#line 2164 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2166 "cp-name-parser.c" /* yacc.c:1646 */ break; case 37: #line 503 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("<=", 2); } -#line 2170 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2172 "cp-name-parser.c" /* yacc.c:1646 */ break; case 38: #line 505 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator (">=", 2); } -#line 2176 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2178 "cp-name-parser.c" /* yacc.c:1646 */ break; case 39: #line 507 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("&&", 2); } -#line 2182 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2184 "cp-name-parser.c" /* yacc.c:1646 */ break; case 40: #line 509 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("||", 2); } -#line 2188 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2190 "cp-name-parser.c" /* yacc.c:1646 */ break; case 41: #line 511 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("++", 1); } -#line 2194 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2196 "cp-name-parser.c" /* yacc.c:1646 */ break; case 42: #line 513 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("--", 1); } -#line 2200 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2202 "cp-name-parser.c" /* yacc.c:1646 */ break; case 43: #line 515 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator (",", 2); } -#line 2206 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2208 "cp-name-parser.c" /* yacc.c:1646 */ break; case 44: #line 517 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("->*", 2); } -#line 2212 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2214 "cp-name-parser.c" /* yacc.c:1646 */ break; case 45: #line 519 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("->", 2); } -#line 2218 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2220 "cp-name-parser.c" /* yacc.c:1646 */ break; case 46: #line 521 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("()", 2); } -#line 2224 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2226 "cp-name-parser.c" /* yacc.c:1646 */ break; case 47: #line 523 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_operator ("[]", 2); } -#line 2230 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2232 "cp-name-parser.c" /* yacc.c:1646 */ break; case 48: #line 531 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_CONVERSION, (yyvsp[0].comp), NULL); } -#line 2236 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2238 "cp-name-parser.c" /* yacc.c:1646 */ break; case 49: @@ -2240,7 +2242,7 @@ yyreduce: d_right ((yyvsp[-1].nested1).last) = (yyvsp[0].comp); (yyval.nested).last = &d_left ((yyvsp[0].comp)); } -#line 2245 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2247 "cp-name-parser.c" /* yacc.c:1646 */ break; case 50: @@ -2248,7 +2250,7 @@ yyreduce: { (yyval.nested).comp = (yyvsp[0].comp); (yyval.nested).last = &d_left ((yyvsp[0].comp)); } -#line 2253 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2255 "cp-name-parser.c" /* yacc.c:1646 */ break; case 51: @@ -2257,7 +2259,7 @@ yyreduce: d_right ((yyvsp[-1].nested1).last) = (yyvsp[0].comp); (yyval.nested).last = &d_left ((yyvsp[0].comp)); } -#line 2262 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2264 "cp-name-parser.c" /* yacc.c:1646 */ break; case 52: @@ -2265,49 +2267,49 @@ yyreduce: { (yyval.nested).comp = (yyvsp[0].comp); (yyval.nested).last = &d_left ((yyvsp[0].comp)); } -#line 2270 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2272 "cp-name-parser.c" /* yacc.c:1646 */ break; case 54: #line 559 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_TEMPLATE, (yyvsp[-3].comp), (yyvsp[-1].nested).comp); } -#line 2276 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2278 "cp-name-parser.c" /* yacc.c:1646 */ break; case 55: #line 561 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_dtor (gnu_v3_complete_object_dtor, (yyvsp[0].comp)); } -#line 2282 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2284 "cp-name-parser.c" /* yacc.c:1646 */ break; case 57: #line 574 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = (yyvsp[0].comp); } -#line 2288 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2290 "cp-name-parser.c" /* yacc.c:1646 */ break; case 58: #line 580 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = (yyvsp[-1].nested1).comp; d_right ((yyvsp[-1].nested1).last) = (yyvsp[0].comp); } -#line 2294 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2296 "cp-name-parser.c" /* yacc.c:1646 */ break; case 60: #line 583 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = (yyvsp[-1].nested1).comp; d_right ((yyvsp[-1].nested1).last) = (yyvsp[0].comp); } -#line 2300 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2302 "cp-name-parser.c" /* yacc.c:1646 */ break; case 65: #line 593 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = (yyvsp[0].comp); } -#line 2306 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2308 "cp-name-parser.c" /* yacc.c:1646 */ break; case 66: #line 597 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = (yyvsp[-1].nested1).comp; d_right ((yyvsp[-1].nested1).last) = (yyvsp[0].comp); } -#line 2312 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2314 "cp-name-parser.c" /* yacc.c:1646 */ break; case 68: @@ -2317,7 +2319,7 @@ yyreduce: d_right ((yyval.nested1).comp) = NULL; (yyval.nested1).last = (yyval.nested1).comp; } -#line 2322 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2324 "cp-name-parser.c" /* yacc.c:1646 */ break; case 69: @@ -2328,7 +2330,7 @@ yyreduce: d_left ((yyval.nested1).last) = (yyvsp[-1].comp); d_right ((yyval.nested1).last) = NULL; } -#line 2333 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2335 "cp-name-parser.c" /* yacc.c:1646 */ break; case 70: @@ -2338,7 +2340,7 @@ yyreduce: d_right ((yyval.nested1).comp) = NULL; (yyval.nested1).last = (yyval.nested1).comp; } -#line 2343 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2345 "cp-name-parser.c" /* yacc.c:1646 */ break; case 71: @@ -2349,20 +2351,20 @@ yyreduce: d_left ((yyval.nested1).last) = (yyvsp[-1].comp); d_right ((yyval.nested1).last) = NULL; } -#line 2354 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2356 "cp-name-parser.c" /* yacc.c:1646 */ break; case 72: #line 632 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_TEMPLATE, (yyvsp[-3].comp), (yyvsp[-1].nested).comp); } -#line 2360 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2362 "cp-name-parser.c" /* yacc.c:1646 */ break; case 73: #line 636 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.nested).comp = fill_comp (DEMANGLE_COMPONENT_TEMPLATE_ARGLIST, (yyvsp[0].comp), NULL); (yyval.nested).last = &d_right ((yyval.nested).comp); } -#line 2367 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2369 "cp-name-parser.c" /* yacc.c:1646 */ break; case 74: @@ -2371,7 +2373,7 @@ yyreduce: *(yyvsp[-2].nested).last = fill_comp (DEMANGLE_COMPONENT_TEMPLATE_ARGLIST, (yyvsp[0].comp), NULL); (yyval.nested).last = &d_right (*(yyvsp[-2].nested).last); } -#line 2376 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2378 "cp-name-parser.c" /* yacc.c:1646 */ break; case 76: @@ -2379,19 +2381,19 @@ yyreduce: { (yyval.comp) = (yyvsp[0].abstract).comp; *(yyvsp[0].abstract).last = (yyvsp[-1].comp); } -#line 2384 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2386 "cp-name-parser.c" /* yacc.c:1646 */ break; case 77: #line 655 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_UNARY, make_operator ("&", 1), (yyvsp[0].comp)); } -#line 2390 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2392 "cp-name-parser.c" /* yacc.c:1646 */ break; case 78: #line 657 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_UNARY, make_operator ("&", 1), (yyvsp[-1].comp)); } -#line 2396 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2398 "cp-name-parser.c" /* yacc.c:1646 */ break; case 80: @@ -2399,7 +2401,7 @@ yyreduce: { (yyval.nested).comp = fill_comp (DEMANGLE_COMPONENT_ARGLIST, (yyvsp[0].comp), NULL); (yyval.nested).last = &d_right ((yyval.nested).comp); } -#line 2404 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2406 "cp-name-parser.c" /* yacc.c:1646 */ break; case 81: @@ -2408,7 +2410,7 @@ yyreduce: (yyval.nested).comp = fill_comp (DEMANGLE_COMPONENT_ARGLIST, (yyvsp[0].abstract).comp, NULL); (yyval.nested).last = &d_right ((yyval.nested).comp); } -#line 2413 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2415 "cp-name-parser.c" /* yacc.c:1646 */ break; case 82: @@ -2417,7 +2419,7 @@ yyreduce: (yyval.nested).comp = (yyvsp[-2].nested).comp; (yyval.nested).last = &d_right (*(yyvsp[-2].nested).last); } -#line 2422 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2424 "cp-name-parser.c" /* yacc.c:1646 */ break; case 83: @@ -2427,7 +2429,7 @@ yyreduce: (yyval.nested).comp = (yyvsp[-3].nested).comp; (yyval.nested).last = &d_right (*(yyvsp[-3].nested).last); } -#line 2432 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2434 "cp-name-parser.c" /* yacc.c:1646 */ break; case 84: @@ -2439,7 +2441,7 @@ yyreduce: (yyval.nested).comp = (yyvsp[-2].nested).comp; (yyval.nested).last = &d_right (*(yyvsp[-2].nested).last); } -#line 2444 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2446 "cp-name-parser.c" /* yacc.c:1646 */ break; case 85: @@ -2447,7 +2449,7 @@ yyreduce: { (yyval.nested).comp = fill_comp (DEMANGLE_COMPONENT_FUNCTION_TYPE, NULL, (yyvsp[-2].nested).comp); (yyval.nested).last = &d_left ((yyval.nested).comp); (yyval.nested).comp = d_qualify ((yyval.nested).comp, (yyvsp[0].lval), 1); } -#line 2452 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2454 "cp-name-parser.c" /* yacc.c:1646 */ break; case 86: @@ -2455,7 +2457,7 @@ yyreduce: { (yyval.nested).comp = fill_comp (DEMANGLE_COMPONENT_FUNCTION_TYPE, NULL, NULL); (yyval.nested).last = &d_left ((yyval.nested).comp); (yyval.nested).comp = d_qualify ((yyval.nested).comp, (yyvsp[0].lval), 1); } -#line 2460 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2462 "cp-name-parser.c" /* yacc.c:1646 */ break; case 87: @@ -2463,121 +2465,121 @@ yyreduce: { (yyval.nested).comp = fill_comp (DEMANGLE_COMPONENT_FUNCTION_TYPE, NULL, NULL); (yyval.nested).last = &d_left ((yyval.nested).comp); (yyval.nested).comp = d_qualify ((yyval.nested).comp, (yyvsp[0].lval), 1); } -#line 2468 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2470 "cp-name-parser.c" /* yacc.c:1646 */ break; case 88: #line 707 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.lval) = 0; } -#line 2474 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2476 "cp-name-parser.c" /* yacc.c:1646 */ break; case 90: #line 712 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.lval) = QUAL_RESTRICT; } -#line 2480 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2482 "cp-name-parser.c" /* yacc.c:1646 */ break; case 91: #line 714 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.lval) = QUAL_VOLATILE; } -#line 2486 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2488 "cp-name-parser.c" /* yacc.c:1646 */ break; case 92: #line 716 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.lval) = QUAL_CONST; } -#line 2492 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2494 "cp-name-parser.c" /* yacc.c:1646 */ break; case 94: #line 721 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.lval) = (yyvsp[-1].lval) | (yyvsp[0].lval); } -#line 2498 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2500 "cp-name-parser.c" /* yacc.c:1646 */ break; case 95: #line 728 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.lval) = 0; } -#line 2504 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2506 "cp-name-parser.c" /* yacc.c:1646 */ break; case 96: #line 730 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.lval) = INT_SIGNED; } -#line 2510 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2512 "cp-name-parser.c" /* yacc.c:1646 */ break; case 97: #line 732 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.lval) = INT_UNSIGNED; } -#line 2516 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2518 "cp-name-parser.c" /* yacc.c:1646 */ break; case 98: #line 734 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.lval) = INT_CHAR; } -#line 2522 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2524 "cp-name-parser.c" /* yacc.c:1646 */ break; case 99: #line 736 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.lval) = INT_LONG; } -#line 2528 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2530 "cp-name-parser.c" /* yacc.c:1646 */ break; case 100: #line 738 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.lval) = INT_SHORT; } -#line 2534 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2536 "cp-name-parser.c" /* yacc.c:1646 */ break; case 102: #line 743 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.lval) = (yyvsp[-1].lval) | (yyvsp[0].lval); if ((yyvsp[-1].lval) & (yyvsp[0].lval) & INT_LONG) (yyval.lval) = (yyvsp[-1].lval) | INT_LLONG; } -#line 2540 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2542 "cp-name-parser.c" /* yacc.c:1646 */ break; case 103: #line 747 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_int_type ((yyvsp[0].lval)); } -#line 2546 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2548 "cp-name-parser.c" /* yacc.c:1646 */ break; case 104: #line 749 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_builtin_type ("float"); } -#line 2552 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2554 "cp-name-parser.c" /* yacc.c:1646 */ break; case 105: #line 751 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_builtin_type ("double"); } -#line 2558 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2560 "cp-name-parser.c" /* yacc.c:1646 */ break; case 106: #line 753 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_builtin_type ("long double"); } -#line 2564 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2566 "cp-name-parser.c" /* yacc.c:1646 */ break; case 107: #line 755 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_builtin_type ("bool"); } -#line 2570 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2572 "cp-name-parser.c" /* yacc.c:1646 */ break; case 108: #line 757 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_builtin_type ("wchar_t"); } -#line 2576 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2578 "cp-name-parser.c" /* yacc.c:1646 */ break; case 109: #line 759 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = make_builtin_type ("void"); } -#line 2582 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2584 "cp-name-parser.c" /* yacc.c:1646 */ break; case 110: @@ -2586,7 +2588,7 @@ yyreduce: (yyval.nested).comp->u.s_binary.left = (yyval.nested).comp->u.s_binary.right = NULL; (yyval.nested).last = &d_left ((yyval.nested).comp); (yyval.nested).comp = d_qualify ((yyval.nested).comp, (yyvsp[0].lval), 0); } -#line 2591 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2593 "cp-name-parser.c" /* yacc.c:1646 */ break; case 111: @@ -2594,7 +2596,7 @@ yyreduce: { (yyval.nested).comp = make_empty (DEMANGLE_COMPONENT_REFERENCE); (yyval.nested).comp->u.s_binary.left = (yyval.nested).comp->u.s_binary.right = NULL; (yyval.nested).last = &d_left ((yyval.nested).comp); } -#line 2599 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2601 "cp-name-parser.c" /* yacc.c:1646 */ break; case 112: @@ -2606,7 +2608,7 @@ yyreduce: (yyval.nested).comp->u.s_binary.right = NULL; (yyval.nested).last = &d_right ((yyval.nested).comp); (yyval.nested).comp = d_qualify ((yyval.nested).comp, (yyvsp[0].lval), 0); } -#line 2611 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2613 "cp-name-parser.c" /* yacc.c:1646 */ break; case 113: @@ -2618,7 +2620,7 @@ yyreduce: (yyval.nested).comp->u.s_binary.right = NULL; (yyval.nested).last = &d_right ((yyval.nested).comp); (yyval.nested).comp = d_qualify ((yyval.nested).comp, (yyvsp[0].lval), 0); } -#line 2623 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2625 "cp-name-parser.c" /* yacc.c:1646 */ break; case 114: @@ -2626,7 +2628,7 @@ yyreduce: { (yyval.comp) = make_empty (DEMANGLE_COMPONENT_ARRAY_TYPE); d_left ((yyval.comp)) = NULL; } -#line 2631 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2633 "cp-name-parser.c" /* yacc.c:1646 */ break; case 115: @@ -2634,74 +2636,74 @@ yyreduce: { (yyval.comp) = make_empty (DEMANGLE_COMPONENT_ARRAY_TYPE); d_left ((yyval.comp)) = (yyvsp[-1].comp); } -#line 2639 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2641 "cp-name-parser.c" /* yacc.c:1646 */ break; case 116: #line 811 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_qualify ((yyvsp[-1].comp), (yyvsp[0].lval), 0); } -#line 2645 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2647 "cp-name-parser.c" /* yacc.c:1646 */ break; case 118: #line 814 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_qualify ((yyvsp[-1].comp), (yyvsp[-2].lval) | (yyvsp[0].lval), 0); } -#line 2651 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2653 "cp-name-parser.c" /* yacc.c:1646 */ break; case 119: #line 816 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_qualify ((yyvsp[0].comp), (yyvsp[-1].lval), 0); } -#line 2657 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2659 "cp-name-parser.c" /* yacc.c:1646 */ break; case 120: #line 819 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_qualify ((yyvsp[-1].comp), (yyvsp[0].lval), 0); } -#line 2663 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2665 "cp-name-parser.c" /* yacc.c:1646 */ break; case 122: #line 822 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_qualify ((yyvsp[-1].comp), (yyvsp[-2].lval) | (yyvsp[0].lval), 0); } -#line 2669 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2671 "cp-name-parser.c" /* yacc.c:1646 */ break; case 123: #line 824 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_qualify ((yyvsp[0].comp), (yyvsp[-1].lval), 0); } -#line 2675 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2677 "cp-name-parser.c" /* yacc.c:1646 */ break; case 124: #line 827 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_qualify ((yyvsp[-1].comp), (yyvsp[0].lval), 0); } -#line 2681 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2683 "cp-name-parser.c" /* yacc.c:1646 */ break; case 125: #line 829 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = (yyvsp[0].comp); } -#line 2687 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2689 "cp-name-parser.c" /* yacc.c:1646 */ break; case 126: #line 831 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_qualify ((yyvsp[-1].comp), (yyvsp[-3].lval) | (yyvsp[0].lval), 0); } -#line 2693 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2695 "cp-name-parser.c" /* yacc.c:1646 */ break; case 127: #line 833 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_qualify ((yyvsp[0].comp), (yyvsp[-2].lval), 0); } -#line 2699 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2701 "cp-name-parser.c" /* yacc.c:1646 */ break; case 128: #line 838 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.abstract).comp = (yyvsp[0].nested).comp; (yyval.abstract).last = (yyvsp[0].nested).last; (yyval.abstract).fn.comp = NULL; (yyval.abstract).fn.last = NULL; } -#line 2706 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2708 "cp-name-parser.c" /* yacc.c:1646 */ break; case 129: @@ -2710,7 +2712,7 @@ yyreduce: if ((yyvsp[0].abstract).fn.comp) { (yyval.abstract).last = (yyvsp[0].abstract).fn.last; *(yyvsp[0].abstract).last = (yyvsp[0].abstract).fn.comp; } *(yyval.abstract).last = (yyvsp[-1].nested).comp; (yyval.abstract).last = (yyvsp[-1].nested).last; } -#line 2715 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2717 "cp-name-parser.c" /* yacc.c:1646 */ break; case 130: @@ -2718,7 +2720,7 @@ yyreduce: { (yyval.abstract).fn.comp = NULL; (yyval.abstract).fn.last = NULL; if ((yyvsp[0].abstract).fn.comp) { (yyval.abstract).last = (yyvsp[0].abstract).fn.last; *(yyvsp[0].abstract).last = (yyvsp[0].abstract).fn.comp; } } -#line 2723 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2725 "cp-name-parser.c" /* yacc.c:1646 */ break; case 131: @@ -2726,7 +2728,7 @@ yyreduce: { (yyval.abstract) = (yyvsp[-1].abstract); (yyval.abstract).fn.comp = NULL; (yyval.abstract).fn.last = NULL; (yyval.abstract).fold_flag = 1; if ((yyvsp[-1].abstract).fn.comp) { (yyval.abstract).last = (yyvsp[-1].abstract).fn.last; *(yyvsp[-1].abstract).last = (yyvsp[-1].abstract).fn.comp; } } -#line 2731 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2733 "cp-name-parser.c" /* yacc.c:1646 */ break; case 132: @@ -2741,7 +2743,7 @@ yyreduce: else (yyval.abstract).fn = (yyvsp[0].nested); } -#line 2746 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2748 "cp-name-parser.c" /* yacc.c:1646 */ break; case 133: @@ -2751,7 +2753,7 @@ yyreduce: *(yyvsp[-1].abstract).last = (yyvsp[0].comp); (yyval.abstract).last = &d_right ((yyvsp[0].comp)); } -#line 2756 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2758 "cp-name-parser.c" /* yacc.c:1646 */ break; case 134: @@ -2760,14 +2762,14 @@ yyreduce: (yyval.abstract).comp = (yyvsp[0].comp); (yyval.abstract).last = &d_right ((yyvsp[0].comp)); } -#line 2765 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2767 "cp-name-parser.c" /* yacc.c:1646 */ break; case 135: #line 892 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.abstract).comp = (yyvsp[0].nested).comp; (yyval.abstract).last = (yyvsp[0].nested).last; (yyval.abstract).fn.comp = NULL; (yyval.abstract).fn.last = NULL; (yyval.abstract).start = NULL; } -#line 2772 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2774 "cp-name-parser.c" /* yacc.c:1646 */ break; case 136: @@ -2779,13 +2781,13 @@ yyreduce: (yyval.abstract).comp = (yyvsp[-1].nested).comp; (yyval.abstract).last = (yyvsp[-1].nested).last; } -#line 2784 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2786 "cp-name-parser.c" /* yacc.c:1646 */ break; case 137: #line 903 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.abstract).comp = (yyvsp[0].abstract).comp; (yyval.abstract).last = (yyvsp[0].abstract).last; (yyval.abstract).fn = (yyvsp[0].abstract).fn; (yyval.abstract).start = NULL; } -#line 2790 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2792 "cp-name-parser.c" /* yacc.c:1646 */ break; case 138: @@ -2800,7 +2802,7 @@ yyreduce: else (yyval.abstract).fn = (yyvsp[-2].nested); } -#line 2805 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2807 "cp-name-parser.c" /* yacc.c:1646 */ break; case 139: @@ -2809,7 +2811,7 @@ yyreduce: (yyval.abstract).start = (yyvsp[0].comp); (yyval.abstract).comp = NULL; (yyval.abstract).last = NULL; } -#line 2814 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2816 "cp-name-parser.c" /* yacc.c:1646 */ break; case 141: @@ -2817,7 +2819,7 @@ yyreduce: { (yyval.comp) = (yyvsp[0].abstract).comp; *(yyvsp[0].abstract).last = (yyvsp[-1].comp); } -#line 2822 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2824 "cp-name-parser.c" /* yacc.c:1646 */ break; case 142: @@ -2825,13 +2827,13 @@ yyreduce: { (yyval.nested).comp = (yyvsp[0].nested).comp; (yyval.nested).last = (yyvsp[-1].nested).last; *(yyvsp[0].nested).last = (yyvsp[-1].nested).comp; } -#line 2830 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2832 "cp-name-parser.c" /* yacc.c:1646 */ break; case 144: #line 938 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.nested) = (yyvsp[-1].nested); } -#line 2836 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2838 "cp-name-parser.c" /* yacc.c:1646 */ break; case 145: @@ -2840,7 +2842,7 @@ yyreduce: *(yyvsp[-1].nested).last = (yyvsp[0].nested).comp; (yyval.nested).last = (yyvsp[0].nested).last; } -#line 2845 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2847 "cp-name-parser.c" /* yacc.c:1646 */ break; case 146: @@ -2849,7 +2851,7 @@ yyreduce: *(yyvsp[-1].nested).last = (yyvsp[0].comp); (yyval.nested).last = &d_right ((yyvsp[0].comp)); } -#line 2854 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2856 "cp-name-parser.c" /* yacc.c:1646 */ break; case 147: @@ -2858,7 +2860,7 @@ yyreduce: d_left ((yyval.nested).comp) = (yyvsp[0].comp); (yyval.nested).last = &d_right ((yyval.nested).comp); } -#line 2863 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2865 "cp-name-parser.c" /* yacc.c:1646 */ break; case 148: @@ -2866,7 +2868,7 @@ yyreduce: { (yyval.nested).comp = (yyvsp[0].nested).comp; (yyval.nested).last = (yyvsp[-1].nested).last; *(yyvsp[0].nested).last = (yyvsp[-1].nested).comp; } -#line 2871 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2873 "cp-name-parser.c" /* yacc.c:1646 */ break; case 149: @@ -2875,7 +2877,7 @@ yyreduce: d_left ((yyval.nested).comp) = (yyvsp[0].comp); (yyval.nested).last = &d_right ((yyval.nested).comp); } -#line 2880 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2882 "cp-name-parser.c" /* yacc.c:1646 */ break; case 151: @@ -2884,7 +2886,7 @@ yyreduce: (yyval.nested).last = (yyvsp[-2].nested).last; (yyval.nested).comp = fill_comp (DEMANGLE_COMPONENT_LOCAL_NAME, (yyval.nested).comp, (yyvsp[0].comp)); } -#line 2889 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2891 "cp-name-parser.c" /* yacc.c:1646 */ break; case 152: @@ -2894,7 +2896,7 @@ yyreduce: (yyval.nested).last = (yyvsp[-2].nested).last; (yyval.nested).comp = fill_comp (DEMANGLE_COMPONENT_LOCAL_NAME, (yyval.nested).comp, (yyvsp[0].comp)); } -#line 2899 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2901 "cp-name-parser.c" /* yacc.c:1646 */ break; case 153: @@ -2902,7 +2904,7 @@ yyreduce: { (yyval.nested).comp = (yyvsp[-1].nested).comp; (yyval.nested).last = (yyvsp[-2].nested).last; *(yyvsp[-1].nested).last = (yyvsp[-2].nested).comp; } -#line 2907 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2909 "cp-name-parser.c" /* yacc.c:1646 */ break; case 154: @@ -2911,7 +2913,7 @@ yyreduce: *(yyvsp[-1].nested).last = (yyvsp[0].nested).comp; (yyval.nested).last = (yyvsp[0].nested).last; } -#line 2916 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2918 "cp-name-parser.c" /* yacc.c:1646 */ break; case 155: @@ -2920,7 +2922,7 @@ yyreduce: *(yyvsp[-1].nested).last = (yyvsp[0].comp); (yyval.nested).last = &d_right ((yyvsp[0].comp)); } -#line 2925 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2927 "cp-name-parser.c" /* yacc.c:1646 */ break; case 156: @@ -2928,7 +2930,7 @@ yyreduce: { (yyval.nested).comp = fill_comp (DEMANGLE_COMPONENT_TYPED_NAME, (yyvsp[-1].comp), (yyvsp[0].nested).comp); (yyval.nested).last = (yyvsp[0].nested).last; } -#line 2933 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2935 "cp-name-parser.c" /* yacc.c:1646 */ break; case 157: @@ -2936,49 +2938,49 @@ yyreduce: { (yyval.nested).comp = fill_comp (DEMANGLE_COMPONENT_TYPED_NAME, (yyvsp[-1].comp), (yyvsp[0].comp)); (yyval.nested).last = &d_right ((yyvsp[0].comp)); } -#line 2941 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2943 "cp-name-parser.c" /* yacc.c:1646 */ break; case 158: #line 1018 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = (yyvsp[-1].comp); } -#line 2947 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2949 "cp-name-parser.c" /* yacc.c:1646 */ break; case 160: #line 1027 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_binary (">", (yyvsp[-2].comp), (yyvsp[0].comp)); } -#line 2953 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2955 "cp-name-parser.c" /* yacc.c:1646 */ break; case 161: #line 1034 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_UNARY, make_operator ("&", 1), (yyvsp[0].comp)); } -#line 2959 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2961 "cp-name-parser.c" /* yacc.c:1646 */ break; case 162: #line 1036 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = fill_comp (DEMANGLE_COMPONENT_UNARY, make_operator ("&", 1), (yyvsp[-1].comp)); } -#line 2965 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2967 "cp-name-parser.c" /* yacc.c:1646 */ break; case 163: #line 1041 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_unary ("-", (yyvsp[0].comp)); } -#line 2971 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2973 "cp-name-parser.c" /* yacc.c:1646 */ break; case 164: #line 1045 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_unary ("!", (yyvsp[0].comp)); } -#line 2977 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2979 "cp-name-parser.c" /* yacc.c:1646 */ break; case 165: #line 1049 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_unary ("~", (yyvsp[0].comp)); } -#line 2983 "cp-name-parser.c" /* yacc.c:1646 */ +#line 2985 "cp-name-parser.c" /* yacc.c:1646 */ break; case 166: @@ -2994,7 +2996,7 @@ yyreduce: fill_comp (DEMANGLE_COMPONENT_CAST, (yyvsp[-2].comp), NULL), (yyvsp[0].comp)); } -#line 2999 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3001 "cp-name-parser.c" /* yacc.c:1646 */ break; case 167: @@ -3003,7 +3005,7 @@ yyreduce: fill_comp (DEMANGLE_COMPONENT_CAST, (yyvsp[-4].comp), NULL), (yyvsp[-1].comp)); } -#line 3008 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3010 "cp-name-parser.c" /* yacc.c:1646 */ break; case 168: @@ -3012,7 +3014,7 @@ yyreduce: fill_comp (DEMANGLE_COMPONENT_CAST, (yyvsp[-4].comp), NULL), (yyvsp[-1].comp)); } -#line 3017 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3019 "cp-name-parser.c" /* yacc.c:1646 */ break; case 169: @@ -3021,121 +3023,121 @@ yyreduce: fill_comp (DEMANGLE_COMPONENT_CAST, (yyvsp[-4].comp), NULL), (yyvsp[-1].comp)); } -#line 3026 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3028 "cp-name-parser.c" /* yacc.c:1646 */ break; case 170: #line 1105 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_binary ("*", (yyvsp[-2].comp), (yyvsp[0].comp)); } -#line 3032 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3034 "cp-name-parser.c" /* yacc.c:1646 */ break; case 171: #line 1109 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_binary ("/", (yyvsp[-2].comp), (yyvsp[0].comp)); } -#line 3038 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3040 "cp-name-parser.c" /* yacc.c:1646 */ break; case 172: #line 1113 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_binary ("%", (yyvsp[-2].comp), (yyvsp[0].comp)); } -#line 3044 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3046 "cp-name-parser.c" /* yacc.c:1646 */ break; case 173: #line 1117 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_binary ("+", (yyvsp[-2].comp), (yyvsp[0].comp)); } -#line 3050 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3052 "cp-name-parser.c" /* yacc.c:1646 */ break; case 174: #line 1121 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_binary ("-", (yyvsp[-2].comp), (yyvsp[0].comp)); } -#line 3056 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3058 "cp-name-parser.c" /* yacc.c:1646 */ break; case 175: #line 1125 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_binary ("<<", (yyvsp[-2].comp), (yyvsp[0].comp)); } -#line 3062 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3064 "cp-name-parser.c" /* yacc.c:1646 */ break; case 176: #line 1129 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_binary (">>", (yyvsp[-2].comp), (yyvsp[0].comp)); } -#line 3068 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3070 "cp-name-parser.c" /* yacc.c:1646 */ break; case 177: #line 1133 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_binary ("==", (yyvsp[-2].comp), (yyvsp[0].comp)); } -#line 3074 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3076 "cp-name-parser.c" /* yacc.c:1646 */ break; case 178: #line 1137 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_binary ("!=", (yyvsp[-2].comp), (yyvsp[0].comp)); } -#line 3080 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3082 "cp-name-parser.c" /* yacc.c:1646 */ break; case 179: #line 1141 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_binary ("<=", (yyvsp[-2].comp), (yyvsp[0].comp)); } -#line 3086 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3088 "cp-name-parser.c" /* yacc.c:1646 */ break; case 180: #line 1145 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_binary (">=", (yyvsp[-2].comp), (yyvsp[0].comp)); } -#line 3092 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3094 "cp-name-parser.c" /* yacc.c:1646 */ break; case 181: #line 1149 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_binary ("<", (yyvsp[-2].comp), (yyvsp[0].comp)); } -#line 3098 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3100 "cp-name-parser.c" /* yacc.c:1646 */ break; case 182: #line 1153 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_binary ("&", (yyvsp[-2].comp), (yyvsp[0].comp)); } -#line 3104 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3106 "cp-name-parser.c" /* yacc.c:1646 */ break; case 183: #line 1157 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_binary ("^", (yyvsp[-2].comp), (yyvsp[0].comp)); } -#line 3110 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3112 "cp-name-parser.c" /* yacc.c:1646 */ break; case 184: #line 1161 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_binary ("|", (yyvsp[-2].comp), (yyvsp[0].comp)); } -#line 3116 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3118 "cp-name-parser.c" /* yacc.c:1646 */ break; case 185: #line 1165 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_binary ("&&", (yyvsp[-2].comp), (yyvsp[0].comp)); } -#line 3122 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3124 "cp-name-parser.c" /* yacc.c:1646 */ break; case 186: #line 1169 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_binary ("||", (yyvsp[-2].comp), (yyvsp[0].comp)); } -#line 3128 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3130 "cp-name-parser.c" /* yacc.c:1646 */ break; case 187: #line 1174 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_binary ("->", (yyvsp[-2].comp), (yyvsp[0].comp)); } -#line 3134 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3136 "cp-name-parser.c" /* yacc.c:1646 */ break; case 188: #line 1178 "cp-name-parser.y" /* yacc.c:1646 */ { (yyval.comp) = d_binary (".", (yyvsp[-2].comp), (yyvsp[0].comp)); } -#line 3140 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3142 "cp-name-parser.c" /* yacc.c:1646 */ break; case 189: @@ -3144,7 +3146,7 @@ yyreduce: fill_comp (DEMANGLE_COMPONENT_TRINARY_ARG1, (yyvsp[-4].comp), fill_comp (DEMANGLE_COMPONENT_TRINARY_ARG2, (yyvsp[-2].comp), (yyvsp[0].comp)))); } -#line 3149 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3151 "cp-name-parser.c" /* yacc.c:1646 */ break; case 192: @@ -3154,7 +3156,7 @@ yyreduce: It would abort on unrecognized string otherwise. */ (yyval.comp) = d_unary ("sizeof ", (yyvsp[-1].comp)); } -#line 3159 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3161 "cp-name-parser.c" /* yacc.c:1646 */ break; case 193: @@ -3165,7 +3167,7 @@ yyreduce: make_builtin_type ("bool"), i); } -#line 3170 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3172 "cp-name-parser.c" /* yacc.c:1646 */ break; case 194: @@ -3176,11 +3178,11 @@ yyreduce: make_builtin_type ("bool"), i); } -#line 3181 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3183 "cp-name-parser.c" /* yacc.c:1646 */ break; -#line 3185 "cp-name-parser.c" /* yacc.c:1646 */ +#line 3187 "cp-name-parser.c" /* yacc.c:1646 */ default: break; } /* User semantic actions sometimes alter yychar, and that requires diff --git a/gdb/cp-name-parser.y b/gdb/cp-name-parser.y index c6a5c341b..6d854f149 100644 --- a/gdb/cp-name-parser.y +++ b/gdb/cp-name-parser.y @@ -1,6 +1,6 @@ /* YACC parser for C++ names, for GDB. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. Parts of the lexer are based on c-exp.y from GDB. diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c index 0f1b452f6..0cb319cd3 100644 --- a/gdb/cp-namespace.c +++ b/gdb/cp-namespace.c @@ -1,5 +1,5 @@ /* Helper routines for C++ support in GDB. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. Contributed by David Carlton and by Kealia, Inc. diff --git a/gdb/cp-support.c b/gdb/cp-support.c index ea6dcb2fe..b3bfa00fb 100644 --- a/gdb/cp-support.c +++ b/gdb/cp-support.c @@ -1,5 +1,5 @@ /* Helper routines for C++ support in GDB. - Copyright (C) 2002-2016 Free Software Foundation, Inc. + Copyright (C) 2002-2017 Free Software Foundation, Inc. Contributed by MontaVista Software. diff --git a/gdb/cp-support.h b/gdb/cp-support.h index 23ffd7146..06d2926f0 100644 --- a/gdb/cp-support.h +++ b/gdb/cp-support.h @@ -1,5 +1,5 @@ /* Helper routines for C++ support in GDB. - Copyright (C) 2002-2016 Free Software Foundation, Inc. + Copyright (C) 2002-2017 Free Software Foundation, Inc. Contributed by MontaVista Software. Namespace support contributed by David Carlton. diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c index 7b0c19a3b..b17c9083b 100644 --- a/gdb/cp-valprint.c +++ b/gdb/cp-valprint.c @@ -1,6 +1,6 @@ /* Support for printing C++ values for GDB, the GNU debugger. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/cris-linux-tdep.c b/gdb/cris-linux-tdep.c index 5bdd6caf9..896a35e09 100644 --- a/gdb/cris-linux-tdep.c +++ b/gdb/cris-linux-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for GNU/Linux on CRIS processors, for GDB. - Copyright (C) 2001-2016 Free Software Foundation, Inc. + Copyright (C) 2001-2017 Free Software Foundation, Inc. Contributed by Axis Communications AB. Written by Hendrik Ruijter, Stefan Andersson, Orjan Friberg, diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c index 1d2952472..1000e71e8 100644 --- a/gdb/cris-tdep.c +++ b/gdb/cris-tdep.c @@ -1,6 +1,6 @@ /* Target dependent code for CRIS, for GDB, the GNU debugger. - Copyright (C) 2001-2016 Free Software Foundation, Inc. + Copyright (C) 2001-2017 Free Software Foundation, Inc. Contributed by Axis Communications AB. Written by Hendrik Ruijter, Stefan Andersson, and Orjan Friberg. @@ -3787,10 +3787,7 @@ static int cris_delayed_get_disassembler (bfd_vma addr, struct disassemble_info *info) { int (*print_insn) (bfd_vma addr, struct disassemble_info *info); - /* FIXME: cagney/2003-08-27: It should be possible to select a CRIS - disassembler, even when there is no BFD. Does something like - "gdb; target remote; disassmeble *0x123" work? */ - gdb_assert (exec_bfd != NULL); + print_insn = cris_get_disassembler (exec_bfd); gdb_assert (print_insn != NULL); return print_insn (addr, info); diff --git a/gdb/cris-tdep.h b/gdb/cris-tdep.h index 30642413d..68459796b 100644 --- a/gdb/cris-tdep.h +++ b/gdb/cris-tdep.h @@ -1,6 +1,6 @@ /* Target dependent code for CRIS, for GDB, the GNU debugger. - Copyright (C) 2001-2016 Free Software Foundation, Inc. + Copyright (C) 2001-2017 Free Software Foundation, Inc. Contributed by Axis Communications AB. Written by Hendrik Ruijter, Stefan Andersson, and Orjan Friberg. diff --git a/gdb/ctf.c b/gdb/ctf.c index 0e13cc137..019af0f2a 100644 --- a/gdb/ctf.c +++ b/gdb/ctf.c @@ -1,6 +1,6 @@ /* CTF format support. - Copyright (C) 2012-2016 Free Software Foundation, Inc. + Copyright (C) 2012-2017 Free Software Foundation, Inc. Contributed by Hui Zhu Contributed by Yao Qi diff --git a/gdb/ctf.h b/gdb/ctf.h index ee1338641..e2a7388df 100644 --- a/gdb/ctf.h +++ b/gdb/ctf.h @@ -1,6 +1,6 @@ /* CTF format support. - Copyright (C) 2012-2016 Free Software Foundation, Inc. + Copyright (C) 2012-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/d-exp.c b/gdb/d-exp.c index f13190a54..b71afd51f 100644 --- a/gdb/d-exp.c +++ b/gdb/d-exp.c @@ -1,8 +1,8 @@ -/* A Bison parser, made by GNU Bison 3.0.2. */ +/* A Bison parser, made by GNU Bison 3.0.4. */ /* Bison implementation for Yacc-like parsers in C - Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -44,7 +44,7 @@ #define YYBISON 1 /* Bison version. */ -#define YYBISON_VERSION "3.0.2" +#define YYBISON_VERSION "3.0.4" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -233,7 +233,7 @@ extern int yydebug; /* Value type. */ #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -typedef union YYSTYPE YYSTYPE; + union YYSTYPE { #line 83 "d-exp.y" /* yacc.c:355 */ @@ -261,6 +261,8 @@ union YYSTYPE #line 263 "d-exp.c" /* yacc.c:355 */ }; + +typedef union YYSTYPE YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define YYSTYPE_IS_DECLARED 1 #endif @@ -279,7 +281,7 @@ int yyparse (void); static int parse_number (struct parser_state *, const char *, int, int, YYSTYPE *); -#line 283 "d-exp.c" /* yacc.c:358 */ +#line 285 "d-exp.c" /* yacc.c:358 */ #ifdef short # undef short @@ -1499,13 +1501,13 @@ yyreduce: case 6: #line 191 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_COMMA); } -#line 1504 "d-exp.c" /* yacc.c:1646 */ +#line 1506 "d-exp.c" /* yacc.c:1646 */ break; case 8: #line 197 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_ASSIGN); } -#line 1510 "d-exp.c" /* yacc.c:1646 */ +#line 1512 "d-exp.c" /* yacc.c:1646 */ break; case 9: @@ -1513,193 +1515,193 @@ yyreduce: { write_exp_elt_opcode (pstate, BINOP_ASSIGN_MODIFY); write_exp_elt_opcode (pstate, (yyvsp[-1].opcode)); write_exp_elt_opcode (pstate, BINOP_ASSIGN_MODIFY); } -#line 1518 "d-exp.c" /* yacc.c:1646 */ +#line 1520 "d-exp.c" /* yacc.c:1646 */ break; case 11: #line 207 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, TERNOP_COND); } -#line 1524 "d-exp.c" /* yacc.c:1646 */ +#line 1526 "d-exp.c" /* yacc.c:1646 */ break; case 13: #line 213 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_LOGICAL_OR); } -#line 1530 "d-exp.c" /* yacc.c:1646 */ +#line 1532 "d-exp.c" /* yacc.c:1646 */ break; case 15: #line 219 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_LOGICAL_AND); } -#line 1536 "d-exp.c" /* yacc.c:1646 */ +#line 1538 "d-exp.c" /* yacc.c:1646 */ break; case 17: #line 225 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_BITWISE_IOR); } -#line 1542 "d-exp.c" /* yacc.c:1646 */ +#line 1544 "d-exp.c" /* yacc.c:1646 */ break; case 19: #line 231 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_BITWISE_XOR); } -#line 1548 "d-exp.c" /* yacc.c:1646 */ +#line 1550 "d-exp.c" /* yacc.c:1646 */ break; case 21: #line 237 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_BITWISE_AND); } -#line 1554 "d-exp.c" /* yacc.c:1646 */ +#line 1556 "d-exp.c" /* yacc.c:1646 */ break; case 26: #line 249 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_EQUAL); } -#line 1560 "d-exp.c" /* yacc.c:1646 */ +#line 1562 "d-exp.c" /* yacc.c:1646 */ break; case 27: #line 251 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_NOTEQUAL); } -#line 1566 "d-exp.c" /* yacc.c:1646 */ +#line 1568 "d-exp.c" /* yacc.c:1646 */ break; case 28: #line 256 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_EQUAL); } -#line 1572 "d-exp.c" /* yacc.c:1646 */ +#line 1574 "d-exp.c" /* yacc.c:1646 */ break; case 29: #line 258 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_NOTEQUAL); } -#line 1578 "d-exp.c" /* yacc.c:1646 */ +#line 1580 "d-exp.c" /* yacc.c:1646 */ break; case 30: #line 263 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_LESS); } -#line 1584 "d-exp.c" /* yacc.c:1646 */ +#line 1586 "d-exp.c" /* yacc.c:1646 */ break; case 31: #line 265 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_LEQ); } -#line 1590 "d-exp.c" /* yacc.c:1646 */ +#line 1592 "d-exp.c" /* yacc.c:1646 */ break; case 32: #line 267 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_GTR); } -#line 1596 "d-exp.c" /* yacc.c:1646 */ +#line 1598 "d-exp.c" /* yacc.c:1646 */ break; case 33: #line 269 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_GEQ); } -#line 1602 "d-exp.c" /* yacc.c:1646 */ +#line 1604 "d-exp.c" /* yacc.c:1646 */ break; case 35: #line 275 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_LSH); } -#line 1608 "d-exp.c" /* yacc.c:1646 */ +#line 1610 "d-exp.c" /* yacc.c:1646 */ break; case 36: #line 277 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_RSH); } -#line 1614 "d-exp.c" /* yacc.c:1646 */ +#line 1616 "d-exp.c" /* yacc.c:1646 */ break; case 38: #line 283 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_ADD); } -#line 1620 "d-exp.c" /* yacc.c:1646 */ +#line 1622 "d-exp.c" /* yacc.c:1646 */ break; case 39: #line 285 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_SUB); } -#line 1626 "d-exp.c" /* yacc.c:1646 */ +#line 1628 "d-exp.c" /* yacc.c:1646 */ break; case 40: #line 287 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_CONCAT); } -#line 1632 "d-exp.c" /* yacc.c:1646 */ +#line 1634 "d-exp.c" /* yacc.c:1646 */ break; case 42: #line 293 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_MUL); } -#line 1638 "d-exp.c" /* yacc.c:1646 */ +#line 1640 "d-exp.c" /* yacc.c:1646 */ break; case 43: #line 295 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_DIV); } -#line 1644 "d-exp.c" /* yacc.c:1646 */ +#line 1646 "d-exp.c" /* yacc.c:1646 */ break; case 44: #line 297 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_REM); } -#line 1650 "d-exp.c" /* yacc.c:1646 */ +#line 1652 "d-exp.c" /* yacc.c:1646 */ break; case 45: #line 301 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_ADDR); } -#line 1656 "d-exp.c" /* yacc.c:1646 */ +#line 1658 "d-exp.c" /* yacc.c:1646 */ break; case 46: #line 303 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_PREINCREMENT); } -#line 1662 "d-exp.c" /* yacc.c:1646 */ +#line 1664 "d-exp.c" /* yacc.c:1646 */ break; case 47: #line 305 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_PREDECREMENT); } -#line 1668 "d-exp.c" /* yacc.c:1646 */ +#line 1670 "d-exp.c" /* yacc.c:1646 */ break; case 48: #line 307 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_IND); } -#line 1674 "d-exp.c" /* yacc.c:1646 */ +#line 1676 "d-exp.c" /* yacc.c:1646 */ break; case 49: #line 309 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_NEG); } -#line 1680 "d-exp.c" /* yacc.c:1646 */ +#line 1682 "d-exp.c" /* yacc.c:1646 */ break; case 50: #line 311 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_PLUS); } -#line 1686 "d-exp.c" /* yacc.c:1646 */ +#line 1688 "d-exp.c" /* yacc.c:1646 */ break; case 51: #line 313 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_LOGICAL_NOT); } -#line 1692 "d-exp.c" /* yacc.c:1646 */ +#line 1694 "d-exp.c" /* yacc.c:1646 */ break; case 52: #line 315 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_COMPLEMENT); } -#line 1698 "d-exp.c" /* yacc.c:1646 */ +#line 1700 "d-exp.c" /* yacc.c:1646 */ break; case 53: #line 317 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_SIZEOF); } -#line 1704 "d-exp.c" /* yacc.c:1646 */ +#line 1706 "d-exp.c" /* yacc.c:1646 */ break; case 56: @@ -1707,7 +1709,7 @@ yyreduce: { write_exp_elt_opcode (pstate, UNOP_CAST); write_exp_elt_type (pstate, (yyvsp[-2].tval)); write_exp_elt_opcode (pstate, UNOP_CAST); } -#line 1712 "d-exp.c" /* yacc.c:1646 */ +#line 1714 "d-exp.c" /* yacc.c:1646 */ break; case 57: @@ -1715,13 +1717,13 @@ yyreduce: { write_exp_elt_opcode (pstate, UNOP_CAST); write_exp_elt_type (pstate, (yyvsp[-2].tval)); write_exp_elt_opcode (pstate, UNOP_CAST); } -#line 1720 "d-exp.c" /* yacc.c:1646 */ +#line 1722 "d-exp.c" /* yacc.c:1646 */ break; case 59: #line 338 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, BINOP_EXP); } -#line 1726 "d-exp.c" /* yacc.c:1646 */ +#line 1728 "d-exp.c" /* yacc.c:1646 */ break; case 61: @@ -1733,7 +1735,7 @@ yyreduce: s.length = 0; write_exp_string (pstate, s); write_exp_elt_opcode (pstate, STRUCTOP_STRUCT); } -#line 1738 "d-exp.c" /* yacc.c:1646 */ +#line 1740 "d-exp.c" /* yacc.c:1646 */ break; case 62: @@ -1741,7 +1743,7 @@ yyreduce: { write_exp_elt_opcode (pstate, STRUCTOP_STRUCT); write_exp_string (pstate, (yyvsp[0].sval)); write_exp_elt_opcode (pstate, STRUCTOP_STRUCT); } -#line 1746 "d-exp.c" /* yacc.c:1646 */ +#line 1748 "d-exp.c" /* yacc.c:1646 */ break; case 63: @@ -1750,49 +1752,49 @@ yyreduce: write_exp_elt_opcode (pstate, STRUCTOP_STRUCT); write_exp_string (pstate, (yyvsp[-1].sval)); write_exp_elt_opcode (pstate, STRUCTOP_STRUCT); } -#line 1755 "d-exp.c" /* yacc.c:1646 */ +#line 1757 "d-exp.c" /* yacc.c:1646 */ break; case 64: #line 361 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_SIZEOF); } -#line 1761 "d-exp.c" /* yacc.c:1646 */ +#line 1763 "d-exp.c" /* yacc.c:1646 */ break; case 65: #line 363 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_POSTINCREMENT); } -#line 1767 "d-exp.c" /* yacc.c:1646 */ +#line 1769 "d-exp.c" /* yacc.c:1646 */ break; case 66: #line 365 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, UNOP_POSTDECREMENT); } -#line 1773 "d-exp.c" /* yacc.c:1646 */ +#line 1775 "d-exp.c" /* yacc.c:1646 */ break; case 70: #line 373 "d-exp.y" /* yacc.c:1646 */ { arglist_len = 1; } -#line 1779 "d-exp.c" /* yacc.c:1646 */ +#line 1781 "d-exp.c" /* yacc.c:1646 */ break; case 71: #line 375 "d-exp.y" /* yacc.c:1646 */ { arglist_len++; } -#line 1785 "d-exp.c" /* yacc.c:1646 */ +#line 1787 "d-exp.c" /* yacc.c:1646 */ break; case 72: #line 380 "d-exp.y" /* yacc.c:1646 */ { arglist_len = 0; } -#line 1791 "d-exp.c" /* yacc.c:1646 */ +#line 1793 "d-exp.c" /* yacc.c:1646 */ break; case 74: #line 386 "d-exp.y" /* yacc.c:1646 */ { start_arglist (); } -#line 1797 "d-exp.c" /* yacc.c:1646 */ +#line 1799 "d-exp.c" /* yacc.c:1646 */ break; case 75: @@ -1800,7 +1802,7 @@ yyreduce: { write_exp_elt_opcode (pstate, OP_FUNCALL); write_exp_elt_longcst (pstate, (LONGEST) end_arglist ()); write_exp_elt_opcode (pstate, OP_FUNCALL); } -#line 1805 "d-exp.c" /* yacc.c:1646 */ +#line 1807 "d-exp.c" /* yacc.c:1646 */ break; case 76: @@ -1814,25 +1816,25 @@ yyreduce: else write_exp_elt_opcode (pstate, BINOP_SUBSCRIPT); } -#line 1819 "d-exp.c" /* yacc.c:1646 */ +#line 1821 "d-exp.c" /* yacc.c:1646 */ break; case 77: #line 408 "d-exp.y" /* yacc.c:1646 */ { /* Do nothing. */ } -#line 1825 "d-exp.c" /* yacc.c:1646 */ +#line 1827 "d-exp.c" /* yacc.c:1646 */ break; case 78: #line 410 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, TERNOP_SLICE); } -#line 1831 "d-exp.c" /* yacc.c:1646 */ +#line 1833 "d-exp.c" /* yacc.c:1646 */ break; case 79: #line 415 "d-exp.y" /* yacc.c:1646 */ { /* Do nothing. */ } -#line 1837 "d-exp.c" /* yacc.c:1646 */ +#line 1839 "d-exp.c" /* yacc.c:1646 */ break; case 80: @@ -1884,7 +1886,7 @@ yyreduce: error (_("No symbol \"%s\" in current context."), copy); } } -#line 1889 "d-exp.c" /* yacc.c:1646 */ +#line 1891 "d-exp.c" /* yacc.c:1646 */ break; case 81: @@ -1939,13 +1941,13 @@ yyreduce: write_exp_string (pstate, (yyvsp[0].sval)); write_exp_elt_opcode (pstate, OP_SCOPE); } -#line 1944 "d-exp.c" /* yacc.c:1646 */ +#line 1946 "d-exp.c" /* yacc.c:1646 */ break; case 82: #line 516 "d-exp.y" /* yacc.c:1646 */ { write_dollar_variable (pstate, (yyvsp[0].sval)); } -#line 1950 "d-exp.c" /* yacc.c:1646 */ +#line 1952 "d-exp.c" /* yacc.c:1646 */ break; case 83: @@ -1957,7 +1959,7 @@ yyreduce: write_exp_elt_longcst (pstate, (LONGEST) val.typed_val_int.val); write_exp_elt_opcode (pstate, OP_LONG); } -#line 1962 "d-exp.c" /* yacc.c:1646 */ +#line 1964 "d-exp.c" /* yacc.c:1646 */ break; case 84: @@ -1968,7 +1970,7 @@ yyreduce: write_exp_elt_type (pstate, type); write_exp_elt_longcst (pstate, (LONGEST) 0); write_exp_elt_opcode (pstate, OP_LONG); } -#line 1973 "d-exp.c" /* yacc.c:1646 */ +#line 1975 "d-exp.c" /* yacc.c:1646 */ break; case 85: @@ -1976,7 +1978,7 @@ yyreduce: { write_exp_elt_opcode (pstate, OP_BOOL); write_exp_elt_longcst (pstate, (LONGEST) 1); write_exp_elt_opcode (pstate, OP_BOOL); } -#line 1981 "d-exp.c" /* yacc.c:1646 */ +#line 1983 "d-exp.c" /* yacc.c:1646 */ break; case 86: @@ -1984,7 +1986,7 @@ yyreduce: { write_exp_elt_opcode (pstate, OP_BOOL); write_exp_elt_longcst (pstate, (LONGEST) 0); write_exp_elt_opcode (pstate, OP_BOOL); } -#line 1989 "d-exp.c" /* yacc.c:1646 */ +#line 1991 "d-exp.c" /* yacc.c:1646 */ break; case 87: @@ -1993,7 +1995,7 @@ yyreduce: write_exp_elt_type (pstate, (yyvsp[0].typed_val_int).type); write_exp_elt_longcst (pstate, (LONGEST)((yyvsp[0].typed_val_int).val)); write_exp_elt_opcode (pstate, OP_LONG); } -#line 1998 "d-exp.c" /* yacc.c:1646 */ +#line 2000 "d-exp.c" /* yacc.c:1646 */ break; case 88: @@ -2002,7 +2004,7 @@ yyreduce: write_exp_elt_type (pstate, (yyvsp[0].typed_val_float).type); write_exp_elt_dblcst (pstate, (yyvsp[0].typed_val_float).dval); write_exp_elt_opcode (pstate, OP_DOUBLE); } -#line 2007 "d-exp.c" /* yacc.c:1646 */ +#line 2009 "d-exp.c" /* yacc.c:1646 */ break; case 89: @@ -2011,7 +2013,7 @@ yyreduce: vec.len = 1; vec.tokens = &(yyvsp[0].tsval); write_exp_string_vector (pstate, (yyvsp[0].tsval).type, &vec); } -#line 2016 "d-exp.c" /* yacc.c:1646 */ +#line 2018 "d-exp.c" /* yacc.c:1646 */ break; case 90: @@ -2021,7 +2023,7 @@ yyreduce: for (i = 0; i < (yyvsp[0].svec).len; ++i) xfree ((yyvsp[0].svec).tokens[i].ptr); xfree ((yyvsp[0].svec).tokens); } -#line 2026 "d-exp.c" /* yacc.c:1646 */ +#line 2028 "d-exp.c" /* yacc.c:1646 */ break; case 91: @@ -2030,19 +2032,19 @@ yyreduce: write_exp_elt_longcst (pstate, (LONGEST) 0); write_exp_elt_longcst (pstate, (LONGEST) (yyvsp[0].ival) - 1); write_exp_elt_opcode (pstate, OP_ARRAY); } -#line 2035 "d-exp.c" /* yacc.c:1646 */ +#line 2037 "d-exp.c" /* yacc.c:1646 */ break; case 92: #line 567 "d-exp.y" /* yacc.c:1646 */ { write_exp_elt_opcode (pstate, OP_TYPEOF); } -#line 2041 "d-exp.c" /* yacc.c:1646 */ +#line 2043 "d-exp.c" /* yacc.c:1646 */ break; case 93: #line 572 "d-exp.y" /* yacc.c:1646 */ { (yyval.ival) = arglist_len; } -#line 2047 "d-exp.c" /* yacc.c:1646 */ +#line 2049 "d-exp.c" /* yacc.c:1646 */ break; case 95: @@ -2061,7 +2063,7 @@ yyreduce: vec->ptr = (char *) xmalloc ((yyvsp[0].tsval).length + 1); memcpy (vec->ptr, (yyvsp[0].tsval).ptr, (yyvsp[0].tsval).length + 1); } -#line 2066 "d-exp.c" /* yacc.c:1646 */ +#line 2068 "d-exp.c" /* yacc.c:1646 */ break; case 96: @@ -2080,13 +2082,13 @@ yyreduce: (yyval.svec).tokens[(yyval.svec).len - 1].length = (yyvsp[0].tsval).length; (yyval.svec).tokens[(yyval.svec).len - 1].ptr = p; } -#line 2085 "d-exp.c" /* yacc.c:1646 */ +#line 2087 "d-exp.c" /* yacc.c:1646 */ break; case 97: #line 614 "d-exp.y" /* yacc.c:1646 */ { /* Do nothing. */ } -#line 2091 "d-exp.c" /* yacc.c:1646 */ +#line 2093 "d-exp.c" /* yacc.c:1646 */ break; case 98: @@ -2094,7 +2096,7 @@ yyreduce: { write_exp_elt_opcode (pstate, OP_TYPE); write_exp_elt_type (pstate, (yyvsp[0].tval)); write_exp_elt_opcode (pstate, OP_TYPE); } -#line 2099 "d-exp.c" /* yacc.c:1646 */ +#line 2101 "d-exp.c" /* yacc.c:1646 */ break; case 99: @@ -2104,43 +2106,43 @@ yyreduce: write_exp_elt_type (pstate, (yyval.tval)); write_exp_elt_opcode (pstate, OP_TYPE); } -#line 2109 "d-exp.c" /* yacc.c:1646 */ +#line 2111 "d-exp.c" /* yacc.c:1646 */ break; case 100: #line 629 "d-exp.y" /* yacc.c:1646 */ { push_type (tp_pointer); } -#line 2115 "d-exp.c" /* yacc.c:1646 */ +#line 2117 "d-exp.c" /* yacc.c:1646 */ break; case 101: #line 631 "d-exp.y" /* yacc.c:1646 */ { push_type (tp_pointer); } -#line 2121 "d-exp.c" /* yacc.c:1646 */ +#line 2123 "d-exp.c" /* yacc.c:1646 */ break; case 102: #line 633 "d-exp.y" /* yacc.c:1646 */ { push_type_int ((yyvsp[-1].typed_val_int).val); push_type (tp_array); } -#line 2128 "d-exp.c" /* yacc.c:1646 */ +#line 2130 "d-exp.c" /* yacc.c:1646 */ break; case 103: #line 636 "d-exp.y" /* yacc.c:1646 */ { push_type_int ((yyvsp[-2].typed_val_int).val); push_type (tp_array); } -#line 2135 "d-exp.c" /* yacc.c:1646 */ +#line 2137 "d-exp.c" /* yacc.c:1646 */ break; case 104: #line 642 "d-exp.y" /* yacc.c:1646 */ { (yyval.tval) = (yyvsp[0].tsym).type; } -#line 2141 "d-exp.c" /* yacc.c:1646 */ +#line 2143 "d-exp.c" /* yacc.c:1646 */ break; -#line 2145 "d-exp.c" /* yacc.c:1646 */ +#line 2147 "d-exp.c" /* yacc.c:1646 */ default: break; } /* User semantic actions sometimes alter yychar, and that requires diff --git a/gdb/d-exp.y b/gdb/d-exp.y index 426f9b335..077e645de 100644 --- a/gdb/d-exp.y +++ b/gdb/d-exp.y @@ -1,6 +1,6 @@ /* YACC parser for D expressions, for GDB. - Copyright (C) 2014-2016 Free Software Foundation, Inc. + Copyright (C) 2014-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/d-lang.c b/gdb/d-lang.c index 2eb7ffa10..02cb2968e 100644 --- a/gdb/d-lang.c +++ b/gdb/d-lang.c @@ -1,6 +1,6 @@ /* D language support routines for GDB, the GNU debugger. - Copyright (C) 2005-2016 Free Software Foundation, Inc. + Copyright (C) 2005-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/d-lang.h b/gdb/d-lang.h index 74be7a5f6..382ff94d7 100644 --- a/gdb/d-lang.h +++ b/gdb/d-lang.h @@ -1,6 +1,6 @@ /* D language support definitions for GDB, the GNU debugger. - Copyright (C) 2005-2016 Free Software Foundation, Inc. + Copyright (C) 2005-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/d-namespace.c b/gdb/d-namespace.c index 8b8c3cc96..ae2e7e381 100644 --- a/gdb/d-namespace.c +++ b/gdb/d-namespace.c @@ -1,6 +1,6 @@ /* Helper routines for D support in GDB. - Copyright (C) 2014-2016 Free Software Foundation, Inc. + Copyright (C) 2014-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/d-valprint.c b/gdb/d-valprint.c index 620688bd4..441e5214c 100644 --- a/gdb/d-valprint.c +++ b/gdb/d-valprint.c @@ -1,6 +1,6 @@ /* Support for printing D values for GDB, the GNU debugger. - Copyright (C) 2008-2016 Free Software Foundation, Inc. + Copyright (C) 2008-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/darwin-nat-info.c b/gdb/darwin-nat-info.c index 314d265f7..9f6cd6a72 100644 --- a/gdb/darwin-nat-info.c +++ b/gdb/darwin-nat-info.c @@ -1,5 +1,5 @@ /* Darwin support for GDB, the GNU debugger. - Copyright (C) 1997-2016 Free Software Foundation, Inc. + Copyright (C) 1997-2017 Free Software Foundation, Inc. Contributed by Apple Computer, Inc. diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c index 590c2ad04..047143ddb 100644 --- a/gdb/darwin-nat.c +++ b/gdb/darwin-nat.c @@ -1,5 +1,5 @@ /* Darwin support for GDB, the GNU debugger. - Copyright (C) 2008-2016 Free Software Foundation, Inc. + Copyright (C) 2008-2017 Free Software Foundation, Inc. Contributed by AdaCore. diff --git a/gdb/darwin-nat.h b/gdb/darwin-nat.h index 7a174764f..77feb0e8f 100644 --- a/gdb/darwin-nat.h +++ b/gdb/darwin-nat.h @@ -1,5 +1,5 @@ /* Common things used by the various darwin files - Copyright (C) 1995-2016 Free Software Foundation, Inc. + Copyright (C) 1995-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/data-directory/Makefile.in b/gdb/data-directory/Makefile.in index 3f2351687..2597b3efb 100644 --- a/gdb/data-directory/Makefile.in +++ b/gdb/data-directory/Makefile.in @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2016 Free Software Foundation, Inc. +# Copyright (C) 2010-2017 Free Software Foundation, Inc. # Makefile for building a staged copy of the data-directory. # This file is part of GDB. diff --git a/gdb/dbxread.c b/gdb/dbxread.c index d5a9587b7..69b8d911b 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -1,5 +1,5 @@ /* Read dbx symbol tables and convert to internal format, for GDB. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/dcache.c b/gdb/dcache.c index cb4306813..f7918caa8 100644 --- a/gdb/dcache.c +++ b/gdb/dcache.c @@ -1,6 +1,6 @@ /* Caching code for GDB, the GNU debugger. - Copyright (C) 1992-2016 Free Software Foundation, Inc. + Copyright (C) 1992-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/dcache.h b/gdb/dcache.h index c9f375309..f56d1095a 100644 --- a/gdb/dcache.h +++ b/gdb/dcache.h @@ -1,7 +1,7 @@ /* Declarations for caching. Typically used by remote back ends for caching remote memory. - Copyright (C) 1992-2016 Free Software Foundation, Inc. + Copyright (C) 1992-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/debug.c b/gdb/debug.c index 16b38713c..63751910e 100644 --- a/gdb/debug.c +++ b/gdb/debug.c @@ -1,6 +1,6 @@ /* Debug printing functions. - Copyright (C) 2014-2016 Free Software Foundation, Inc. + Copyright (C) 2014-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/defs.h b/gdb/defs.h index 9b44f4434..66082c0de 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -1,7 +1,7 @@ /* *INDENT-OFF* */ /* ATTRIBUTE_PRINTF confuses indent, avoid running it for now. */ /* Basic, host-specific, and target-specific definitions for GDB. - Copyright (C) 1986-2016 Free Software Foundation, Inc. + Copyright (C) 1986-2017 Free Software Foundation, Inc. This file is part of GDB. @@ -620,13 +620,7 @@ enum gdb_osabi GDB_OSABI_INVALID /* keep this last */ }; -/* Global functions from other, non-gdb GNU thingies. - Libiberty thingies are no longer declared here. We include libiberty.h - above, instead. */ - -/* From other system libraries */ - -#ifndef atof +#if !defined atof && !defined __cplusplus extern double atof (const char *); /* X3.159-1989 4.10.1.1 */ #endif diff --git a/gdb/demangle.c b/gdb/demangle.c index f5f93e5da..2d79c1d8a 100644 --- a/gdb/demangle.c +++ b/gdb/demangle.c @@ -1,6 +1,6 @@ /* Basic C++ demangling support for GDB. - Copyright (C) 1991-2016 Free Software Foundation, Inc. + Copyright (C) 1991-2017 Free Software Foundation, Inc. Written by Fred Fish at Cygnus Support. diff --git a/gdb/dfp.c b/gdb/dfp.c index 155899753..a1b6b0625 100644 --- a/gdb/dfp.c +++ b/gdb/dfp.c @@ -1,6 +1,6 @@ /* Decimal floating point support for GDB. - Copyright (C) 2007-2016 Free Software Foundation, Inc. + Copyright (C) 2007-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/dfp.h b/gdb/dfp.h index 7d4d32ed8..9f37b8cea 100644 --- a/gdb/dfp.h +++ b/gdb/dfp.h @@ -1,6 +1,6 @@ /* Decimal floating point support for GDB. - Copyright (C) 2007-2016 Free Software Foundation, Inc. + Copyright (C) 2007-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/dicos-tdep.c b/gdb/dicos-tdep.c index d52e77a55..8101b6d74 100644 --- a/gdb/dicos-tdep.c +++ b/gdb/dicos-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent, architecture-independent code for DICOS, for GDB. - Copyright (C) 2009-2016 Free Software Foundation, Inc. + Copyright (C) 2009-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/dicos-tdep.h b/gdb/dicos-tdep.h index b7604735e..8f5f4d970 100644 --- a/gdb/dicos-tdep.h +++ b/gdb/dicos-tdep.h @@ -1,6 +1,6 @@ /* Target-dependent, architecture-independent code for DICOS, for GDB. - Copyright (C) 2009-2016 Free Software Foundation, Inc. + Copyright (C) 2009-2017 Free Software Foundation, Inc. This file is part of GDB. diff --git a/gdb/dictionary.c b/gdb/dictionary.c index a6f80dca5..e78db2ebe 100644 --- a/gdb/dictionary.c +++ b/gdb/dictionary.c @@ -1,6 +1,6 @@ /* Routines for name->symbol lookups in GDB. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. Contributed by David Carlton and by Kealia, Inc. diff --git a/gdb/dictionary.h b/gdb/dictionary.h index c816f720c..124fc9838 100644 --- a/gdb/dictionary.h +++ b/gdb/dictionary.h @@ -1,6 +1,6 @@ /* Routines for name->symbol lookups in GDB. - Copyright (C) 2003-2016 Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. Contributed by David Carlton and by Kealia, Inc. diff --git a/gdb/disasm.c b/gdb/disasm.c index bd1f760a6..f041be3c2 100644 --- a/gdb/disasm.c +++ b/gdb/disasm.c @@ -1,6 +1,6 @@ /* Disassemble support for GDB. - Copyright (C) 2000-2016 Free Software Foundation, Inc. + Copyright (C) 2000-2017 Free Software Foundation, Inc. This file is part of GDB. @@ -126,12 +126,25 @@ dis_asm_read_memory (bfd_vma memaddr, gdb_byte *myaddr, unsigned int len, return target_read_code (memaddr, myaddr, len); } -/* Like memory_error with slightly different parameters. */ +/* Like memory_error with slightly different parameters, but it longjmp + out of the opcodes callback. */ static void dis_asm_memory_error (int err, bfd_vma memaddr, - struct disassemble_info *info) + struct disassemble_info *info) GDB_NOEXCEPT { - memory_error (TARGET_XFER_E_IO, memaddr); + struct gdb_exception exception = exception_none; + + TRY + { + memory_error (TARGET_XFER_E_IO, memaddr); + } + CATCH (ex, RETURN_MASK_ALL) + { + exception = ex; + } + END_CATCH + + throw_exception_sjlj (exception); } /* Like print_address with slightly different parameters. */ @@ -143,6 +156,45 @@ dis_asm_print_address (bfd_vma addr, struct disassemble_info *info) print_address (gdbarch, addr, (struct ui_file *) info->stream); } +/* Wrapper of gdbarch_print_insn, save its return value in *LEN if no + exception is thrown out of gdbarch_print_insn. */ + +static struct gdb_exception +disasm_print_insn_noexcept (struct gdbarch *gdbarch, bfd_vma vma, + struct disassemble_info *info, + int *len) GDB_NOEXCEPT +{ + struct gdb_exception gdb_expt = exception_none; + + TRY_SJLJ + { + *len = gdbarch_print_insn (gdbarch, vma, info); + } + CATCH_SJLJ (ex, RETURN_MASK_ALL) + { + gdb_expt = ex; + } + END_CATCH_SJLJ + + return gdb_expt; +} + +int +disasm_print_insn (struct gdbarch *gdbarch, bfd_vma vma, + struct disassemble_info *info) +{ + int len; + + struct gdb_exception gdb_expt + = disasm_print_insn_noexcept (gdbarch, vma, info, &len); + + /* Rethrow using the normal EH mechanism. */ + if (gdb_expt.reason < 0) + throw_exception (gdb_expt); + + return len; +} + static int compare_lines (const void *mle1p, const void *mle2p) { @@ -253,7 +305,7 @@ gdb_pretty_print_insn (struct gdbarch *gdbarch, struct ui_out *uiout, struct cleanup *cleanups = make_cleanup_ui_file_delete (opcode_stream); - size = gdbarch_print_insn (gdbarch, pc, di); + size = disasm_print_insn (gdbarch, pc, di); end_pc = pc + size; for (;pc < end_pc; ++pc) @@ -272,7 +324,7 @@ gdb_pretty_print_insn (struct gdbarch *gdbarch, struct ui_out *uiout, do_cleanups (cleanups); } else - size = gdbarch_print_insn (gdbarch, pc, di); + size = disasm_print_insn (gdbarch, pc, di); ui_out_field_stream (uiout, "inst", stb); ui_file_rewind (stb); @@ -833,7 +885,7 @@ gdb_print_insn (struct gdbarch *gdbarch, CORE_ADDR memaddr, int length; di = gdb_disassemble_info (gdbarch, stream); - length = gdbarch_print_insn (gdbarch, memaddr, &di); + length = disasm_print_insn (gdbarch, memaddr, &di); if (branch_delay_insns) { if (di.insn_info_valid) @@ -914,5 +966,5 @@ gdb_buffered_insn_length (struct gdbarch *gdbarch, gdb_buffered_insn_length_init_dis (gdbarch, &di, insn, max_len, addr); - return gdbarch_print_insn (gdbarch, addr, &di); + return disasm_print_insn (gdbarch, addr, &di); } diff --git a/gdb/disasm.h b/gdb/disasm.h index a2b72b944..3898b127e 100644 --- a/gdb/disasm.h +++ b/gdb/disasm.h @@ -1,5 +1,5 @@ /* Disassemble support for GDB. - Copyright (C) 2002-2016 Free Software Foundation, Inc. + Copyright (C) 2002-2017 Free Software Foundation, Inc. This file is part of GDB. @@ -83,4 +83,10 @@ extern int gdb_buffered_insn_length (struct gdbarch *gdbarch, const gdb_byte *insn, int max_len, CORE_ADDR memaddr); +/* Print the instruction at address VMA. Returns the length of the + instruction in bytes. */ + +extern int disasm_print_insn (struct gdbarch *gdbarch, bfd_vma vma, + struct disassemble_info *info); + #endif diff --git a/gdb/doc/Doxyfile-base.in b/gdb/doc/Doxyfile-base.in index 1a3831ca1..c3764cf1f 100644 --- a/gdb/doc/Doxyfile-base.in +++ b/gdb/doc/Doxyfile-base.in @@ -1,4 +1,4 @@ -# Copyright (C) 2014-2016 Free Software Foundation, Inc. +# Copyright (C) 2014-2017 Free Software Foundation, Inc. # Base doxyfile for GDB. # This file is part of GDB. diff --git a/gdb/doc/Doxyfile-gdb-api.in b/gdb/doc/Doxyfile-gdb-api.in index 38ddf0957..7873ed118 100644 --- a/gdb/doc/Doxyfile-gdb-api.in +++ b/gdb/doc/Doxyfile-gdb-api.in @@ -1,4 +1,4 @@ -# Copyright (C) 2014-2016 Free Software Foundation, Inc. +# Copyright (C) 2014-2017 Free Software Foundation, Inc. # Doxygen file for GDB internal API. # This file is part of GDB. diff --git a/gdb/doc/Doxyfile-gdb-xref.in b/gdb/doc/Doxyfile-gdb-xref.in index 9f589b504..b719445f7 100644 --- a/gdb/doc/Doxyfile-gdb-xref.in +++ b/gdb/doc/Doxyfile-gdb-xref.in @@ -1,4 +1,4 @@ -# Copyright (C) 2014-2016 Free Software Foundation, Inc. +# Copyright (C) 2014-2017 Free Software Foundation, Inc. # Doxygen file for a full GDB cross-reference. # This file is part of GDB. diff --git a/gdb/doc/Doxyfile-gdbserver.in b/gdb/doc/Doxyfile-gdbserver.in index a4d45ec8f..456f4ec6a 100644 --- a/gdb/doc/Doxyfile-gdbserver.in +++ b/gdb/doc/Doxyfile-gdbserver.in @@ -1,4 +1,4 @@ -# Copyright (C) 2014-2016 Free Software Foundation, Inc. +# Copyright (C) 2014-2017 Free Software Foundation, Inc. # Doxygen file for a GDBserver cross-reference. # This file is part of GDB. diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in index 70af0fe14..a9177ffd3 100644 --- a/gdb/doc/Makefile.in +++ b/gdb/doc/Makefile.in @@ -1,4 +1,4 @@ -##Copyright (C) 1991-2016 Free Software Foundation, Inc. +##Copyright (C) 1991-2017 Free Software Foundation, Inc. # Makefile for GDB documentation. # This file is part of GDB. diff --git a/gdb/doc/agentexpr.texi b/gdb/doc/agentexpr.texi index ade76380e..5668e9c1e 100644 --- a/gdb/doc/agentexpr.texi +++ b/gdb/doc/agentexpr.texi @@ -7,7 +7,7 @@ @c This file is part of the GDB manual. @c -@c Copyright (C) 2003-2016 Free Software Foundation, Inc. +@c Copyright (C) 2003-2017 Free Software Foundation, Inc. @c @c See the file gdb.texinfo for copying conditions. diff --git a/gdb/doc/all-cfg.texi b/gdb/doc/all-cfg.texi index 9881ed6ae..95f1d7f59 100644 --- a/gdb/doc/all-cfg.texi +++ b/gdb/doc/all-cfg.texi @@ -1,6 +1,6 @@ @c GDB MANUAL configuration file. @c -@c Copyright (C) 1993-2016 Free Software Foundation, Inc. +@c Copyright (C) 1993-2017 Free Software Foundation, Inc. @c @c NOTE: While the GDB manual is configurable (by changing these @c switches), its configuration is ***NOT*** automatically tied in to diff --git a/gdb/doc/annotate.info b/gdb/doc/annotate.info index a311a936a..3ee59fdda 100644 --- a/gdb/doc/annotate.info +++ b/gdb/doc/annotate.info @@ -1,7 +1,7 @@ -This is annotate.info, produced by makeinfo version 6.0 from +This is annotate.info, produced by makeinfo version 6.1 from annotate.texinfo. -Copyright (C) 1994-2016 Free Software Foundation, Inc. +Copyright (C) 1994-2017 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or @@ -16,7 +16,7 @@ END-INFO-DIR-ENTRY This file documents GDB's obsolete annotations. - Copyright (C) 1994-2016 Free Software Foundation, Inc. + Copyright (C) 1994-2017 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or diff --git a/gdb/doc/annotate.texinfo b/gdb/doc/annotate.texinfo index a61bd9048..b7952cbb5 100644 --- a/gdb/doc/annotate.texinfo +++ b/gdb/doc/annotate.texinfo @@ -27,7 +27,7 @@ @c cost. Having a smaller cheaper manual helps the GNU Press with its sales. @copying -Copyright @copyright{} 1994-2016 Free Software Foundation, Inc. +Copyright @copyright{} 1994-2017 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or diff --git a/gdb/doc/doxy-index.in b/gdb/doc/doxy-index.in index 074692411..015630bf2 100644 --- a/gdb/doc/doxy-index.in +++ b/gdb/doc/doxy-index.in @@ -1,4 +1,4 @@ -