binutils-gdb.git
12 years ago*** empty log message ***
gdbadmin [Sun, 4 Nov 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agoAdd gthr.m4
H.J. Lu [Sat, 3 Nov 2012 23:53:02 +0000 (23:53 +0000)]
Add gthr.m4

2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>

* gthr.m4: New. Define GCC_AC_THREAD_HEADER.

12 years agodaily update
Alan Modra [Sat, 3 Nov 2012 23:00:06 +0000 (23:00 +0000)]
daily update

12 years agogdb:
Yao Qi [Sat, 3 Nov 2012 12:14:47 +0000 (12:14 +0000)]
gdb:

Fix PR gdb/14617.
* breakpoint.c (trace_pass_set_count): Call
observer_notify_breakpoint_modified instead of
observer_notify_tracepoint_modified.
* mi/mi-cmd-break.c (mi_cmd_break_passcount): Likewise.

gdb/doc:

* observer.texi (GDB Observers): Remove observer
'tracepoint_modified', 'tracepoint_created' and
'tracepoint_deleted'.

gdb/testsuite:

Fix PR gdb/14617.
* gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
Remove setup_kfail, and update test.

12 years ago*** empty log message ***
gdbadmin [Sat, 3 Nov 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Fri, 2 Nov 2012 23:00:04 +0000 (23:00 +0000)]
daily update

12 years agogold/
Roland McGrath [Fri, 2 Nov 2012 19:50:36 +0000 (19:50 +0000)]
gold/
* i386.cc (Target_i386::relocate_relocs): Remove extraneous typename
from last change.

12 years ago * breakpoint.c (catch_syscall_completer): Pass 'word' as second
Tom Tromey [Fri, 2 Nov 2012 19:05:12 +0000 (19:05 +0000)]
* breakpoint.c (catch_syscall_completer): Pass 'word' as second
argument to complete_on_enum.
testsuite
* gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
test.

12 years ago * configure: Rebuild.
Tom Tromey [Fri, 2 Nov 2012 18:53:54 +0000 (18:53 +0000)]
* configure: Rebuild.
* configure.ac (build_warnings): Add -Wempty-body.
* m68k-tdep.c (m68k_gdbarch_init): Remove empty 'if'.
* remote.c (handle_notification): Use braces for empty 'else' body.
* s390-tdep.c (s390_analyze_prologue): Use braces for empty
'else' body.
* sh64-tdep.c (sh64_push_dummy_call): Use braces for empty
'else' body.
* solib-som.c (som_relocate_section_addresses): Use braces
for empty 'else' body.
* ui-file.c (stdio_file_write): Use braces for empty 'if' body.
(stdio_file_write_async_safe, stdio_file_fputs): Likewise.

12 years ago Re-added with correct permissions
Pierre Muller [Fri, 2 Nov 2012 18:19:36 +0000 (18:19 +0000)]
 Re-added with correct permissions

12 years ago Removed to be re-added with correct permissions
Pierre Muller [Fri, 2 Nov 2012 18:18:46 +0000 (18:18 +0000)]
 Removed to be re-added with correct permissions

12 years agogdb/
Pedro Alves [Fri, 2 Nov 2012 18:13:37 +0000 (18:13 +0000)]
gdb/
2012-11-02  Pedro Alves  <palves@redhat.com>

PR gdb/14766

* infrun.c (handle_inferior_event)
<TARGET_WAITKIND_EXITED/TARGET_WAITKIND_SIGNALLED>: Switch to
null_ptid before handling a vfork child exec or exit.  Switch to
the event ptid afterwards.

gdb/testsuite/
2012-11-02  Pedro Alves  <palves@redhat.com>

PR gdb/14766

* gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
setup_kfail.
(tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
get registers".

12 years ago2012-11-02 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 2 Nov 2012 18:10:29 +0000 (18:10 +0000)]
2012-11-02  Pedro Alves  <palves@redhat.com>

* gdb.base/foll-vfork-exit.c: New file.
* gdb.base/foll-vfork.exp (top level): New file-describing
comment.
(vfork_child_follow_to_exit): New procedure.
(tcatch_vfork_then_child_follow): Rename as ...
(tcatch_vfork_then_child_follow_exec): ... this.
(tcatch_vfork_then_child_follow_exit): New procedure.
(do_vfork_and_follow_parent_tests): New procedure, factored out
from do_vfork_and_exec_tests.
(do_vfork_and_follow_child_tests_exec): Ditto.
(do_vfork_and_exec_tests): Delete.
(do_vfork_and_follow_child_tests_exit): New procedure.
(top level): Run tests with both the program that has the vfork
child execing, and the program has the vfork child exiting.

12 years agoMove entries to correct ChangeLog file...
Pedro Alves [Fri, 2 Nov 2012 18:06:46 +0000 (18:06 +0000)]
Move entries to correct ChangeLog file...

gdb/ChangeLog -> gdb/testsuite/ChangeLog

12 years ago2012-11-02 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 2 Nov 2012 18:02:01 +0000 (18:02 +0000)]
2012-11-02  Pedro Alves  <palves@redhat.com>

* gdb.base/foll-vfork.exp (setup_gdb): New procedure.
(check_vfork_catchpoints, vfork_parent_follow_through_step)
(vfork_parent_follow_to_bp): Call it.
(kill_child): Delete.
(vfork_and_exec_child_follow_to_main_bp)
(vfork_and_exec_child_follow_through_step): Call setup_gdb.  No
longer call kill_child.
(tcatch_vfork_then_parent_follow): Call setup_gdb.
(do_vfork_and_exec_tests): Don't runto_main before calling each
test procedure.
(top level): Don't clean restart and set verbose before running
each test procedure.

12 years ago2012-11-02 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 2 Nov 2012 18:00:00 +0000 (18:00 +0000)]
2012-11-02  Pedro Alves  <palves@redhat.com>

* gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
(vfork_parent_follow_to_bp)
(vfork_and_exec_child_follow_to_main_bp)
(vfork_and_exec_child_follow_through_step)
(tcatch_vfork_then_parent_follow)
(tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
Use with_test_prefix.

12 years ago2012-11-02 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 2 Nov 2012 17:59:13 +0000 (17:59 +0000)]
2012-11-02  Pedro Alves  <palves@redhat.com>

* gdb.base/foll-vfork.c: Add copyright header.
* gdb.base/vforked-prog.c: Add copyright header.

12 years ago2012-11-02 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 2 Nov 2012 17:58:39 +0000 (17:58 +0000)]
2012-11-02  Pedro Alves  <palves@redhat.com>

* gdb.base/foll-vfork.exp
(vfork_and_exec_child_follow_through_step): Don't skip on
non-HP/UX targets.  Expect the next to only step one line on
non-HP/UX targets, rather than stopping only after the exec.

12 years ago2012-11-02 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 2 Nov 2012 17:57:45 +0000 (17:57 +0000)]
2012-11-02  Pedro Alves  <palves@redhat.com>

Don't hard code line numbers.

* gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
Expect text from the sources instead of a line number.
(vfork_parent_follow_to_bp)
(vfork_and_exec_child_follow_to_main_bp)
(vfork_and_exec_child_follow_through_step)
(tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
Use gdb_get_line_number.

12 years ago2012-11-02 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 2 Nov 2012 17:57:04 +0000 (17:57 +0000)]
2012-11-02  Pedro Alves  <palves@redhat.com>

Modernize.

* gdb.base/foll-vfork.exp: Use standard_testfile and
build_executable.  Pass descriptive string to untested.
(vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
(vfork_and_exec_child_follow_to_main_bp)
(vfork_and_exec_child_follow_through_step)
(tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
(do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
of send_gdb/gdb_expect.

(kill_child): New procedure.
(vfork_and_exec_child_follow_to_main_bp)
(vfork_and_exec_child_follow_through_step): Use it.

12 years agogdb:
Yao Qi [Fri, 2 Nov 2012 00:14:39 +0000 (00:14 +0000)]
gdb:

2012-11-02  Yao Qi  <yao@codesourcery.com>

* std-operator.def: Remove OP_LABELED.
* eval.c: Remove the declaration of 'get_label'.
(get_label): Remove.
(evaluate_struct_tuple): Remove code handling OP_LABELED.
Update comment.
Remove local variable 'variantno' and related code.
Replace 'substruct_type' with 'struct_type'.  Replace 'subfieldno'
with 'fieldno'.
* expprint.c (print_subexp_standard): Likewise.
(dump_subexp_body_standard): Likewise.
* parse.c (operator_length_standard): Likewise.

gdb/testsuite:

2012-11-02  Yao Qi  <yao@codesourcery.com>

* gdb.base/setvar.exp: Test setting nested struct.
* gdb.base/setvar.c (v_struct3): New.

12 years ago*** empty log message ***
gdbadmin [Fri, 2 Nov 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agogold/
Roland McGrath [Thu, 1 Nov 2012 23:27:00 +0000 (23:27 +0000)]
gold/
* target.h (Sized_target::relocate_relocs): Use Elf_Off
for offset_in_output_section parameter.
(Sized_target::relocate_special_relocatable): Likewise.
* arm.cc (Target_arm::relocate_relocs): Likewise.
(Target_arm::relocate_special_relocatable): Likewise.
* i386.cc (Target_i386::relocate_relocs): Likewise.
* powerpc.cc (Target_powerpc::relocate_relocs): Likewise.
* sparc.cc (Target_sparc::relocate_relocs): Likewise.
* target-reloc.h (relocate_relocs): Likewise.
* testsuite/testfile.cc (Target_test): Likewise.
* tilegx.cc (Target_tilegx::relocate_relocs): Likewise.
* x86_64.cc (Target_x86_64::relocate_relocs): Likewise.

12 years ago * config/tc-mips.c (is_delay_slot_valid): Simplify expression.
Maciej W. Rozycki [Thu, 1 Nov 2012 23:03:16 +0000 (23:03 +0000)]
* config/tc-mips.c (is_delay_slot_valid): Simplify expression.

12 years agodaily update
Alan Modra [Thu, 1 Nov 2012 23:00:04 +0000 (23:00 +0000)]
daily update

12 years ago gas/
Maciej W. Rozycki [Thu, 1 Nov 2012 22:54:11 +0000 (22:54 +0000)]
gas/
* config/tc-mips.c (append_insn): Set fx_no_overflow for 16-bit
microMIPS branch relocations.

gas/testsuite/
* gas/mips/micromips-b16.d: New test.
* gas/mips/micromips-b16.s: New test source.
* gas/mips/mips.exp: Run the new test.

12 years ago gas/
Maciej W. Rozycki [Thu, 1 Nov 2012 22:49:28 +0000 (22:49 +0000)]
gas/
* config/tc-mips.c (is_delay_slot_valid): Don't accept macros
in 16-bit delay slots.
(macro_build_jalr): Emit 32-bit JALR if placed in a 32-bit delay
slot.
(macro) <M_JAL_2>: Likewise

gas/testsuite/
* gas/mips/micromips-branch-delay.l: Update messages for 16-bit
delay slot changes.
* gas/mips/micromips-warn-branch-delay.d: New test.
* gas/mips/micromips-warn-branch-delay.l: Stderr output for the
new test.
* gas/mips/micromips-warn-branch-delay-1.d: New test.
* gas/mips/micromips-warn-branch-delay.s: New test source.
* gas/mips/micromips-warn-branch-delay-1.s: New test source.
* gas/mips/mips.exp: Run the new tests.

12 years agogold/
Roland McGrath [Thu, 1 Nov 2012 22:44:58 +0000 (22:44 +0000)]
gold/
* system.h: Move inclusion of <clocale> to after <libintl.h> in
[ENABLE_NLS] section, and separately at top of [!ENABLE_NLS] section.

12 years agogold/
Roland McGrath [Thu, 1 Nov 2012 22:43:26 +0000 (22:43 +0000)]
gold/
* descriptors.cc (set_close_on_exec): Add ATTRIBUTE_UNUSED to the
parameter, which is unused in the [!F_SETFD] case.

12 years agogold/
Roland McGrath [Thu, 1 Nov 2012 22:35:06 +0000 (22:35 +0000)]
gold/
* dwarf_reader.cc (Sized_elf_reloc_mapper::symbol_section): Cast
SYMNDX to off_t before comparing it to this->data_size().
* output.cc (Output_symtab_xindex::endian_do_write): Likewise.
* incremental.cc (Output_section_incremental_inputs::do_write):
Cast GLOBAL_SYM_COUNT to off_t before comparing it to SYMTAB_SIZE.

12 years ago Incorporate ARI web page generator into GDB sources.
Pierre Muller [Thu, 1 Nov 2012 21:22:27 +0000 (21:22 +0000)]
Incorporate ARI web page generator into GDB sources.
* contrib/ari/create-web-ari-in-src.sh: New file.
* contrib/ari/gdb_ari.sh: New file.
* contrib/ari/gdb_find.sh: New file.
* contrib/ari/update-web-ari.sh: New file.

12 years agogold/
Roland McGrath [Thu, 1 Nov 2012 18:16:23 +0000 (18:16 +0000)]
gold/
* nacl.cc: Include "libiberty.h" for vasprintf declaration.

12 years ago * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
Doug Evans [Thu, 1 Nov 2012 17:53:05 +0000 (17:53 +0000)]
* gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
use them.

12 years agobinutils
Tom Tromey [Thu, 1 Nov 2012 14:57:22 +0000 (14:57 +0000)]
binutils
* readelf.c (get_note_type): Handle NT_386_TLS, NT_386_IOPERM.
include/common/elf
* common.h (NT_386_TLS, NT_386_IOPERM): New defines.

12 years ago * emultempl/elf32.em: Print stacksize help.
Nathan Sidwell [Thu, 1 Nov 2012 14:26:47 +0000 (14:26 +0000)]
* emultempl/elf32.em: Print stacksize help.

12 years ago * ldlang.c (insert_pad): Correct output section size calculation.
Alan Modra [Thu, 1 Nov 2012 04:15:07 +0000 (04:15 +0000)]
* ldlang.c (insert_pad): Correct output section size calculation.
(lang_size_sections_1): Likewise for lang_data_statement and
lang_reloc_statement.

12 years ago*** empty log message ***
gdbadmin [Thu, 1 Nov 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Wed, 31 Oct 2012 23:00:05 +0000 (23:00 +0000)]
daily update

12 years ago2012-10-31 David Holsgrove <david.holsgrove@xilinx.com>
Michael Eager [Wed, 31 Oct 2012 15:27:37 +0000 (15:27 +0000)]
2012-10-31  David Holsgrove  <david.holsgrove@xilinx.com>

* config/tc-microblaze.c: Check for weak symbols before
emitting relocation.

2012-10-31  David Holsgrove  <david.holsgrove@xilinx.com>

* gas/microblaze: New.
* gas/microblaze/reloc_sym.exp: Add test case.
* gas/microblaze/reloc_strongsym.s: Likewise.
* gas/microblaze/reloc_weaksym.s: Likewise.
* gas/microblaze/reloc_sym.d: Likewise.

12 years ago * gdbarch.c: Rebuild.
Tom Tromey [Wed, 31 Oct 2012 14:29:10 +0000 (14:29 +0000)]
* gdbarch.c: Rebuild.
* gdbarch.sh: Remove references to gdbarch_swap.
* corelow.c (core_open): Remove obsolete comment.

12 years agohttp://sourceware.org/ml/gdb-patches/2012-10/msg00525.html
Andrew Burgess [Wed, 31 Oct 2012 09:26:22 +0000 (09:26 +0000)]
sourceware.org/ml/gdb-patches/2012-10/msg00525.html

gdb/ChangeLog

        PR cli/14772
        * c-typeprint.c (c_print_type): Don't print a space for vector
        types, this is handled within the suffix.
        (c_type_print_varspec_suffix): Add a space to vector suffix

gdb/testsuite/ChangeLog

        PR cli/14772
        * gdb.base/gnu_vector.c (union_with_vector_1)
        (struct_with_vector_1): Add new struct and union for testing
        ptype.
        * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
        structs / unions containing vectors.

12 years agooops accidentally omitted from previous delta
Nick Clifton [Wed, 31 Oct 2012 08:42:11 +0000 (08:42 +0000)]
oops accidentally omitted from previous delta

12 years ago*** empty log message ***
gdbadmin [Wed, 31 Oct 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agoHandle --enable-64-bit-bfd when setting CORE_HEADER
H.J. Lu [Tue, 30 Oct 2012 13:30:15 +0000 (13:30 +0000)]
Handle --enable-64-bit-bfd when setting CORE_HEADER

* configure.in: Also handle --enable-64-bit-bfd when setting
CORE_HEADER for 'i[3-7]86-*-linux-*'.

12 years agobfd:
Nick Clifton [Tue, 30 Oct 2012 12:44:58 +0000 (12:44 +0000)]
bfd:
        * elf32-arm.c (elf32_arm_print_private_bfd_data): Recognise and
        display the new ARM hard-float/soft-float ABI flags for EABI_VER5
        (elf32_arm_post_process_headers): Add the hard-float/soft-float
        ABI flag as appropriate for ET_DYN/ET_EXEC in EABI_VER5.

binutils:
        * readelf.c (decode_ARM_machine_flags): Recognise and display the
        new ARM hard-float/soft-float ABI flags for EABI_VER5. Split out
        the code for EABI_VER4 and EABI_VER5 to allow this.

elfcpp:
        * arm.h: New enum for EABI soft- and hard-float flags.

gold:
        * gold.cc (Target_arm::do_adjust_elf_header): Add the
        hard-float/soft-float ABI flag as appropriate for ET_DYN/ET_EXEC
        in EABI_VER5.

include:
        * elf/arm.h (EF_ARM_ABI_FLOAT_SOFT): New define.
        (EF_ARM_ABI_FLOAT_HARD): Likewise.

ld/testsuite:
        * ld-arm/eabi-hard-float.s: New test source.
        * ld-arm/eabi-soft-float.s: New test source.
        * ld-arm/eabi-hard-float.d: New test.
        * ld-arm/eabi-soft-float.d: New test.
        * ld-arm/eabi-soft-float-ABI4.d: New test.
        * ld-arm/eabi-soft-float-r.d: New test.
        * ld-arm/arm-elf.xp: Use the new tests.

binutils:
PR binutils/14779
* configure.in: Add checks for wchar.h and mbstate_t.
* config.in: Regenerate.
* configure: Regenerate.
* readelf.c: Conditionally include wchar.h.
(print_symbol): Conditionally use mbstate_t.

12 years agoAdd Linux/x86_64 core support to i[3-7]86-*-linux
H.J. Lu [Tue, 30 Oct 2012 08:36:10 +0000 (08:36 +0000)]
Add Linux/x86_64 core support to i[3-7]86-*-linux

* configure.in: Set CORE_HEADER to hosts/x86-64linux.h for
'i[3-7]86-*-linux-*' if x86_64-*linux is enabled.
* configure: Regenerated.

* elf64-x86-64.c (elf_x86_64_write_core_note): Replace type
'prpsinfo_t' and 'prstatus_t' with 'prpsinfo64_t' and
'prstatus64_t' respectively.

* hosts/x86-64linux.h (a8_uint64_t): New.
(user_regsx32_struct): Renamed to ...
(user_regs64_struct): This.  Replace uint64_t with a8_uint64_t.
(elf_gregx32_t): Renamed to ...
(elf_greg64_t): This.  Replace uint64_t with a8_uint64_t.
(ELF_NGREGX32): Removed.
(ELF_NGREG64): New.
(elf_gregx32_t): Removed.
(elf_greg64_t): New.
(struct prstatus64_timeval): New.
(elf_prstatusx32): Replace elf_gregsetx32_t with elf_gregset64_t.
(elf_prstatus64): New.
(elf_prpsinfo64): New.
(prstatus64_t, prpsinfo64_t): New typedef.

12 years ago*** empty log message ***
gdbadmin [Tue, 30 Oct 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agogold/
Cary Coutant [Mon, 29 Oct 2012 23:01:51 +0000 (23:01 +0000)]
gold/
* dwp.cc (usage): Add file and exit status parameters;
add --help and --version options.
(print_version): New function.
(main): Add --help and --version options.

12 years agodaily update
Alan Modra [Mon, 29 Oct 2012 23:00:04 +0000 (23:00 +0000)]
daily update

12 years ago* elf32-xgate.c(elf_xgate_howto_table): Fix src and dest mask for
Sean Keys [Mon, 29 Oct 2012 21:28:09 +0000 (21:28 +0000)]
* elf32-xgate.c(elf_xgate_howto_table): Fix src and dest mask for
R_XGATE_16

12 years ago * sb.c (sb_check): Use __builtin_clzll when size_t is not the
Alan Modra [Mon, 29 Oct 2012 10:17:52 +0000 (10:17 +0000)]
* sb.c (sb_check): Use __builtin_clzll when size_t is not the
same size as long.

12 years agobinutils/
Alan Modra [Mon, 29 Oct 2012 10:09:34 +0000 (10:09 +0000)]
binutils/
* dlltool.c (INIT_SEC_DATA): Move.
(secdata <DLLTOOL_PPC>): Use here too.
binutils/testsuite/
* binutils-all/copy-3.d: Exclude all cygwin and mingw targets,
and rs6000.
gas/
* config/tc-ppc.c (ppc_znop): Remove unused vars.
ld/
* configure.tgt (powerpcle-pe,winnt,cygwin): Add deffilep.o
and pe-dll.o.

12 years ago * elf32-ppc.c (ppc_elf_howto_raw): Correct dst_mask in
Alan Modra [Mon, 29 Oct 2012 09:51:10 +0000 (09:51 +0000)]
* elf32-ppc.c (ppc_elf_howto_raw): Correct dst_mask in
R_PPC_VLE_LO16A, R_PPC_VLE_HI16A, R_PPC_VLE_HA16A,
R_PPC_VLE_SDAREL_LO16A, R_PPC_VLE_SDAREL_HI16A,
R_PPC_VLE_SDAREL_HA16A reloc howtos.

12 years ago * ld-powerpc/powerpc.exp: Modify emulation option passed to ld
Alan Modra [Mon, 29 Oct 2012 09:25:53 +0000 (09:25 +0000)]
* ld-powerpc/powerpc.exp: Modify emulation option passed to ld
when little-endian.
* ld-powerpc/apuinfo-nul.rd: Update for le output.
* ld-powerpc/apuinfo.rd: Likewise.
* ld-powerpc/plt1.d: Likewise.
* ld-powerpc/relax.d: Likewise.
* ld-powerpc/relaxr.d: Likewise.
* ld-powerpc/sdadyn.d: Likewise.
* ld-powerpc/tls.d: Likewise.
* ld-powerpc/tls.g: Likewise.
* ld-powerpc/tls.t: Likewise.
* ld-powerpc/tls32.d: Likewise.
* ld-powerpc/tls32.g: Likewise.
* ld-powerpc/tls32.t: Likewise.
* ld-powerpc/tlsexe.d: Likewise.
* ld-powerpc/tlsexe.g: Likewise.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsexe.t: Likewise.
* ld-powerpc/tlsexe32.d: Likewise.
* ld-powerpc/tlsexe32.g: Likewise.
* ld-powerpc/tlsexe32.r: Likewise.
* ld-powerpc/tlsexe32.t: Likewise.
* ld-powerpc/tlsexetoc.d: Likewise.
* ld-powerpc/tlsexetoc.g: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsexetoc.t: Likewise.
* ld-powerpc/tlsmark.d: Likewise.
* ld-powerpc/tlsmark32.d: Likewise.
* ld-powerpc/tlsopt1.d: Likewise.
* ld-powerpc/tlsopt1_32.d: Likewise.
* ld-powerpc/tlsopt2.d: Likewise.
* ld-powerpc/tlsopt2_32.d: Likewise.
* ld-powerpc/tlsopt3.d: Likewise.
* ld-powerpc/tlsopt3_32.d: Likewise.
* ld-powerpc/tlsopt4.d: Likewise.
* ld-powerpc/tlsopt4_32.d: Likewise.
* ld-powerpc/tlsso.d: Likewise.
* ld-powerpc/tlsso.g: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlsso.t: Likewise.
* ld-powerpc/tlsso32.d: Likewise.
* ld-powerpc/tlsso32.g: Likewise.
* ld-powerpc/tlsso32.r: Likewise.
* ld-powerpc/tlsso32.t: Likewise.
* ld-powerpc/tlstoc.d: Likewise.
* ld-powerpc/tlstoc.g: Likewise.
* ld-powerpc/tlstoc.t: Likewise.
* ld-powerpc/tlstocso.d: Likewise.
* ld-powerpc/tlstocso.g: Likewise.
* ld-powerpc/tlstocso.t: Likewise.
* ld-powerpc/tocopt.out: Likewise.

12 years ago * gas/cfi/cfi.exp: Remove redundant ppc test. Exclude
Alan Modra [Mon, 29 Oct 2012 09:25:15 +0000 (09:25 +0000)]
* gas/cfi/cfi.exp: Remove redundant ppc test.  Exclude
powerpc-pe targets from cfi-common-6 test.
* gas/cfi/cfi-ppc-1.d: Use objdump to handle pe.
* gas/cfi/cfi-ppc-1.s: Don't use .type and .size.
* gas/ppc/ppc.exp: Exclude various tests for powerpc-pe.  Exclude
vle tests for le targets.
* gas/ppc/476.d, * gas/ppc/476.s: Update for le output.  Use .text
rather than section directive with quotes.
* gas/ppc/a2.d, * gas/ppc/a2.s: Likewise.
* gas/ppc/altivec.d, * gas/ppc/altivec.s: Likewise.
* gas/ppc/altivec2.d: Likewise.
* gas/ppc/altivec_and_spe.d: Likewise.
* gas/ppc/astest.d: Likewise.
* gas/ppc/astest2.d: Likewise.
* gas/ppc/astest2_64.d: Likewise.
* gas/ppc/astest64.d: Likewise.
* gas/ppc/booke.d, * gas/ppc/booke.s: Likewise.
* gas/ppc/cell.d, * gas/ppc/cell.s: Likewise.
* gas/ppc/common.d, * gas/ppc/common.s: Likewise.
* gas/ppc/e500.d, * gas/ppc/e500.s: Likewise.
* gas/ppc/e500mc.d, * gas/ppc/e500mc.s: Likewise.
* gas/ppc/e500mc64_nop.d, * gas/ppc/e500mc64_nop.s: Likewise.
* gas/ppc/e5500_nop.d, * gas/ppc/e5500_nop.s: Likewise.
* gas/ppc/e6500.d, * gas/ppc/e6500.s: Likewise.
* gas/ppc/e6500_nop.d, * gas/ppc/e6500_nop.s: Likewise.
* gas/ppc/machine.d: Likewise.
* gas/ppc/power4.d, * gas/ppc/power4.s: Likewise.
* gas/ppc/power4_32.d, * gas/ppc/power4_32.s: Likewise.
* gas/ppc/power6.d, * gas/ppc/power6.s: Likewise.
* gas/ppc/power7.d, * gas/ppc/power7.s: Likewise.
* gas/ppc/ppc750ps.d, * gas/ppc/ppc750ps.s: Likewise.
* gas/ppc/regnames.d: Likewise.
* gas/ppc/simpshft.d: Likewise.
* gas/ppc/test1elf32.d: Likewise.
* gas/ppc/test1elf64.d: Likewise.
* gas/ppc/titan.d, * gas/ppc/titan.s: Likewise.
* gas/ppc/vle-reloc.s: Likewise.
* gas/ppc/vle-simple-1.s: Likewise.
* gas/ppc/vle-simple-2.s: Likewise.
* gas/ppc/vle-simple-3.s: Likewise.
* gas/ppc/vle-simple-4.s: Likewise.
* gas/ppc/vle-simple-5.s: Likewise.
* gas/ppc/vle-simple-6.s: Likewise.
* gas/ppc/vle.s: Likewise.
* gas/ppc/vsx.d, * gas/ppc/vsx.s: Likewise.

12 years ago*** empty log message ***
gdbadmin [Mon, 29 Oct 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Sun, 28 Oct 2012 23:00:04 +0000 (23:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Sun, 28 Oct 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Sat, 27 Oct 2012 23:00:05 +0000 (23:00 +0000)]
daily update

12 years agogas/testsuite:
Iain Sandoe [Sat, 27 Oct 2012 07:55:57 +0000 (07:55 +0000)]
gas/testsuite:
2012-10-27  James Lemke  <jwlemke@codesourcery.com>

* gas/m68k/all.exp: Exclude pr11676 for fido-*-*.

12 years ago*** empty log message ***
gdbadmin [Sat, 27 Oct 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Fri, 26 Oct 2012 23:00:04 +0000 (23:00 +0000)]
daily update

12 years ago2012-10-26 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 26 Oct 2012 19:34:09 +0000 (19:34 +0000)]
2012-10-26  Pedro Alves  <palves@redhat.com>

* amd64-tdep.c (amd64_relocate_instruction): Use
store_unsigned_integer instead of memcpy.
* i386-tdep.c (i386_relocate_instruction): Ditto.

12 years ago2012-10-26 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 26 Oct 2012 18:48:43 +0000 (18:48 +0000)]
2012-10-26  Pedro Alves  <palves@redhat.com>

* infrun.c (handle_inferior_event) <TARGET_WAITKIND_SIGNALLED>:
Remove comment.

12 years ago2012-10-26 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 26 Oct 2012 18:47:33 +0000 (18:47 +0000)]
2012-10-26  Pedro Alves  <palves@redhat.com>

* infrun.c (handle_inferior_event) <TARGET_WAITKIND_SIGNALLED>:
Remove comment.

12 years ago * gdb.texinfo (General Query Packets): Use @itemx for QAgent.
Tom Tromey [Fri, 26 Oct 2012 18:18:55 +0000 (18:18 +0000)]
* gdb.texinfo (General Query Packets): Use @itemx for QAgent.

12 years ago2012-10-26 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 26 Oct 2012 16:52:38 +0000 (16:52 +0000)]
2012-10-26  Pedro Alves  <palves@redhat.com>

* target.c (target_waitstatus_to_string): Handle
TARGET_WAITKIND_VFORK_DONE.

12 years ago2012-10-26 Pedro Alves <palves@redhat.com>
Pedro Alves [Fri, 26 Oct 2012 16:47:17 +0000 (16:47 +0000)]
2012-10-26  Pedro Alves  <palves@redhat.com>

* infrun.c (handle_inferior_event): Print TARGET_WAITKIND_VFORKED
as "TARGET_WAITKIND_VFORKED", not "TARGET_WAITKIND_FORKED".

12 years ago * po/hr.po: New Croation translation.
Nick Clifton [Fri, 26 Oct 2012 15:27:18 +0000 (15:27 +0000)]
* po/hr.po: New Croation translation.
* configure.in (ALL_LINGUAS): Add hr.
* configure: Regenerate.

* po/uk.po: Updated Ukranian translation.

12 years ago * dwarf2.h (DW_AT_APPLE_optimized, DW_AT_APPLE_flags)
Nick Clifton [Fri, 26 Oct 2012 15:07:21 +0000 (15:07 +0000)]
* dwarf2.h (DW_AT_APPLE_optimized, DW_AT_APPLE_flags)
(DW_AT_APPLE_isa, DW_AT_APPLE_block)
(DW_AT_APPLE_major_runtime_vers, DW_AT_APPLE_runtime_class)
(DW_AT_APPLE_omit_frame_ptr, DW_AT_APPLE_property_name)
(DW_AT_APPLE_property_getter, DW_AT_APPLE_property_setter)
(DW_AT_APPLE_property_attribute, DW_AT_APPLE_objc_complete_type)
(DW_AT_APPLE_property, DW_OP_GNU_entry_value): New macros.

12 years ago2012-10-26 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
Andreas Krebbel [Fri, 26 Oct 2012 09:41:55 +0000 (09:41 +0000)]
2012-10-26  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* s390-mkopc.c: Accept empty lines in s390-opc.txt.
* s390-opc.c: Add M_20OPT field. New instruction formats RRF_RURR2 and RRF_RMRR.
* s390-opc.txt: Add new instructions.  New instruction type for lptea.

2012-10-26  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gas/testsuite/gas/s390/zarch-z10.d: Refreshed.
* gas/testsuite/gas/s390/zarch-z10.s: Refreshed.
* gas/testsuite/gas/s390/zarch-z196.d: Refreshed.
* gas/testsuite/gas/s390/zarch-z196.s: Refreshed.
* gas/testsuite/gas/s390/zarch-z9-109.d: Refreshed.
* gas/testsuite/gas/s390/zarch-z990.d: Refreshed.
* gas/testsuite/gas/s390/zarch-z990.s: Refreshed.
* gas/testsuite/gas/s390/zarch-zEC12.d: Refreshed.
* gas/testsuite/gas/s390/zarch-zEC12.s: Refreshed.

12 years agogas/testsuite:
Christian Groessler [Fri, 26 Oct 2012 08:14:07 +0000 (08:14 +0000)]
gas/testsuite:

        * gas/z8k/z8k.exp: Run translate-ops test.
        * gas/z8k/translate-ops.s: New file.
        * gas/z8k/translate-ops.d: New file.

opcodes:

        * z8kgen.c (struct op): Fix encoding for translate opcodes (trdb,
        trdrb, trib, trirb, trtdb, trtdrb, trtib, trtirb).  Remove
        non-existing opcode trtrb.
        * z8k-opc.h: Regenerate.

12 years ago PR target/14758
Alan Modra [Fri, 26 Oct 2012 03:40:37 +0000 (03:40 +0000)]
PR target/14758
bfd/
* elf32-ppc.c (ppc_elf_reloc_type_lookup): Decode ppc64 _DS
bfd_reloc values.  Map to corresponding D-form relocs.
(is_insn_ds_form, is_insn_qs_form): New functions.
(ppc_elf_relocate_section): Validate insn with DS-form or DQ-form
fields using D-form reloc.
gas/
* config/tc-ppc.c (ppc_setup_opcodes): Fix comment.
(md_assemble): Translate to _DS relocs for ppc32 as well as ppc64.
(tc_gen_reloc): Handle _DS relocs in ppc32 mode.

12 years ago * gas/ppc/power4.s: Fix invalid lq offsets.
Alan Modra [Fri, 26 Oct 2012 03:39:32 +0000 (03:39 +0000)]
* gas/ppc/power4.s: Fix invalid lq offsets.
* gas/ppc/power4.d: Update.

12 years ago * ppc-opc (powerpc_opcodes): "lfdp" and "stfdp" use DS offset.
Alan Modra [Fri, 26 Oct 2012 03:38:20 +0000 (03:38 +0000)]
* ppc-opc (powerpc_opcodes): "lfdp" and "stfdp" use DS offset.

12 years agoAdd final_layout_sequence.txt to MOSTLYCLEANFILES
H.J. Lu [Fri, 26 Oct 2012 00:50:05 +0000 (00:50 +0000)]
Add final_layout_sequence.txt to MOSTLYCLEANFILES

* testsuite/Makefile.am (MOSTLYCLEANFILES): Add
final_layout_sequence.txt.
* testsuite/Makefile.in: Regenerated.

12 years ago*** empty log message ***
gdbadmin [Fri, 26 Oct 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Thu, 25 Oct 2012 23:00:04 +0000 (23:00 +0000)]
daily update

12 years agoStrip out -Wp,-D_FORTIFY_SOURCE= for gold tests
H.J. Lu [Thu, 25 Oct 2012 22:50:54 +0000 (22:50 +0000)]
Strip out -Wp,-D_FORTIFY_SOURCE= for gold tests

* testsuite/Makefile.am (COMPILE1): New variable. Renamed from
COMPILE generated by automake.
(LINK1): Likewise.
(CXXCOMPILE1): Likewise.
(CXXLINK1): Likewise.
(COMPILE): Strip out -Wp,-D_FORTIFY_SOURCE= from COMPILE1.
(LINK): Likewise.
(CXXCOMPILE): Likewise.
(CXXLINK): Likewise.
* testsuite/Makefile.in: Regenerated.

12 years agoIssue a fatal error on bad fwrite return
H.J. Lu [Thu, 25 Oct 2012 20:51:32 +0000 (20:51 +0000)]
Issue a fatal error on bad fwrite return

* dwp.cc (Dwo_file::record_target_info): Issue a fatal error
on bad fwrite return.

12 years agoUse section_offset_type in remap_str_offset
H.J. Lu [Thu, 25 Oct 2012 20:50:24 +0000 (20:50 +0000)]
Use section_offset_type in remap_str_offset

* dwp.cc (Dwo_file::remap_str_offset): Use section_offset_type
on val.

12 years ago * gdb.texinfo (General Query Packets): Use @itemx.
Tom Tromey [Thu, 25 Oct 2012 16:16:06 +0000 (16:16 +0000)]
* gdb.texinfo (General Query Packets): Use @itemx.

12 years agogdb/testsuite:
Yao Qi [Thu, 25 Oct 2012 14:56:09 +0000 (14:56 +0000)]
gdb/testsuite:

* gdb.trace/ftrace.exp (test_fast_tracepoints): Use
'setup_kfail' instead of 'setup_kfail_for_target'.
* gdb.base/varargs.exp: Likewise.
* lib/gdb.exp (setup_kfail_for_target): Remove.

12 years agoReplace _GLOBAL_OFFSET_TABLE_ lookup with htab->elf.hgot
H.J. Lu [Thu, 25 Oct 2012 13:36:08 +0000 (13:36 +0000)]
Replace _GLOBAL_OFFSET_TABLE_ lookup with htab->elf.hgot

* elf32-i386.c (elf_i386_size_dynamic_sections): Replace
_GLOBAL_OFFSET_TABLE_ lookup with htab->elf.hgot.
* elf64-x86-64.c (elf_x86_64_size_dynamic_sections): Likewise.

12 years agogdb.base/ldbl_e308.exp: Do not allow "inf" in value output.
Joel Brobecker [Thu, 25 Oct 2012 11:16:18 +0000 (11:16 +0000)]
gdb.base/ldbl_e308.exp: Do not allow "inf" in value output.

That was an attempt at handling the targets where sizeof(long double)
is less than 8, but the way it was implement allows the bug that
this testcase verifies to come back without being noticed.

gdb/testsuite/ChangeLog:

        * gdb.base/ldbl_e308.exp: Remove "inf" from possible expected
        output for "print inp" test.

12 years ago* gdb.base/varargs.exp: PR gdb/12790 is now fixed.
Mark Kettenis [Thu, 25 Oct 2012 08:59:07 +0000 (08:59 +0000)]
* gdb.base/varargs.exp: PR gdb/12790 is now fixed.

12 years ago* gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
Mark Kettenis [Thu, 25 Oct 2012 08:00:58 +0000 (08:00 +0000)]
* gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.

12 years agoRemove address check if HIDDEN_UNDEF_TEST is defined
H.J. Lu [Thu, 25 Oct 2012 03:59:37 +0000 (03:59 +0000)]
Remove address check if HIDDEN_UNDEF_TEST is defined

* ld-elfvsb/main.c (main_visibility_checkcom): Remove address
check for visibility_def if HIDDEN_UNDEF_TEST is defined.
(main_visibility_checkweak): Remove address check for
visibility_func if HIDDEN_UNDEF_TEST is defined.

12 years ago*** empty log message ***
gdbadmin [Thu, 25 Oct 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago * ld-scripts/empty-aligned.d: Revert last change. Allow more
Alan Modra [Wed, 24 Oct 2012 23:22:48 +0000 (23:22 +0000)]
* ld-scripts/empty-aligned.d: Revert last change.  Allow more
than one header, just not two PT_LOAD.
* ld-elf/stack.s: Use .long 0 rather than nops.

12 years agodaily update
Alan Modra [Wed, 24 Oct 2012 23:00:06 +0000 (23:00 +0000)]
daily update

12 years agogas/testsuite/
Roland McGrath [Wed, 24 Oct 2012 21:41:33 +0000 (21:41 +0000)]
gas/testsuite/
* gas/i386/rex.s: Add test of REX prefix before fsave (i.e. fwait).
* gas/i386/rex.d: Update.

opcodes/
* i386-dis.c (ckprefix): When bailing out for fwait with prefixes,
set rex_used to rex.

12 years agoDon't decompress the section in bfd_is_section_compressed
H.J. Lu [Wed, 24 Oct 2012 21:36:50 +0000 (21:36 +0000)]
Don't decompress the section in bfd_is_section_compressed

* compress.c (bfd_is_section_compressed): Don't decompress the
section.

12 years agoAdd comments in ravenscar_sparc_fetch_registers.
Joel Brobecker [Wed, 24 Oct 2012 19:08:16 +0000 (19:08 +0000)]
Add comments in ravenscar_sparc_fetch_registers.

gdb/ChangeLog:

* ravenscar-sparc-thread.c (ravenscar_sparc_fetch_registers):
Add comments.

12 years agoremote packet sent after Ravenscar inferior exited
Joel Brobecker [Wed, 24 Oct 2012 18:19:50 +0000 (18:19 +0000)]
remote packet sent after Ravenscar inferior exited

When debugging a program using the Ravenscar profile, the debugger
sometimes tries to send the following packet to the remote after
the inferior exited.

     (gdb) c
     Continuing.
     [...]
     Sending packet: $vCont;c:1#13...Ack
     Packet received: W00
     Sending packet: $Hg1#e0...putpkt: write failed: Broken pipe.

As the inferior exited, the remote has already disconnected, and thus
the operation fails.

The reason why GDB sends the package is because the ravenscar-thread
module tries to updates the list of threads.  But this doesn't make
sense, since the program has exited.  This patch fixes it.

gdb/ChangeLog:

        * ravenscar-thread.c (ravenscar_wait): Only update the list
        of threads and inferior_ptid if the inferior is still alive.

12 years ago[Ada] use lbasename when testing if file is part of Ada runtime.
Joel Brobecker [Wed, 24 Oct 2012 18:17:22 +0000 (18:17 +0000)]
[Ada] use lbasename when testing if file is part of Ada runtime.

We use a list of regular expressions to match a symtab filenames
against the names of the files in the Ada runtime.  These regular
expressions do assume that the filename is a basename, however.
So make sure to evaluate these regular expressions against
the symtab's filename.

Without this patch, we run into problems when the Ada runtime was built
using a project file (through gprbuild).

gdb/ChangeLog:

        * ada-lang.c (is_known_support_routine): Use lbasename when
        matching the symtab's filename against
        known_runtime_file_name_patterns.

12 years ago[Ada] Allow assignment to wide string.
Joel Brobecker [Wed, 24 Oct 2012 18:14:23 +0000 (18:14 +0000)]
[Ada] Allow assignment to wide string.

Given the following variable declaration...

   Www : Wide_String := "12345";

... this patch allows the following assignment to work:

   (gdb) set variable www := "qwert"

Without this patch, the debugger rejects the assignment because
the size of the array elements are different:

   (gdb) set www := "asdfg"
   Incompatible types in assignment

(on the lhs, we have an array of 2-bytes elements, and on the rhs,
we have a standard 1-byte string).

gdb/ChangeLog:

        * ada-lang.c (ada_same_array_size_p): New function.
        (ada_promote_array_of_integrals): New function.
        (coerce_for_assign): Add handling of arrays where the elements
        are integrals of a smaller size than the size of the target
        array element type.

gdb/testsuite/ChangeLog:

        * gdb.ada/set_wstr: New testcase.

12 years agooff-by-one max exponent computation in convert_doublest_to_floatformat
Joel Brobecker [Wed, 24 Oct 2012 18:11:21 +0000 (18:11 +0000)]
off-by-one max exponent computation in convert_doublest_to_floatformat

Assuming the following variable definition:

    long double inp = 2.0;

On platforms where "long double" is a double precision IEEE flaoting
point, GDB currently behaves as follow:

    (gdb) set variable inp = 1.6e+308l
    (gdb) p inp
    $2 = inf   <<<<---- !!!!

Instead, the value of "inp" should be printed as:

    (gdb) p inp
    $1 = 1.6e+308

The problem is due to a small error in the comparison of the exponent
versus the maximum value this exponent can take, causing us to think
that the value was too big to fit. But it isn't.

gdb/ChangeLog:

        * doublest.c (convert_doublest_to_floatformat): Fix comparison
        against maximum exponent value.

gdb/testsuite/ChangeLog:

        * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.

12 years ago[Ada] Skip unwind-seh.c when searching first "user" frame
Joel Brobecker [Wed, 24 Oct 2012 18:08:05 +0000 (18:08 +0000)]
[Ada] Skip unwind-seh.c when searching first "user" frame

On x86_64-windows with GCC 4.7 (using native SEH info), the debugger
behaves as follow:

    (gdb) catch exception unhandled
    Catchpoint 1: unhandled Ada exceptions
    (gdb) run
    Starting program: C:\[...]\b.exe

    Catchpoint 1, unhandled CONSTRAINT_ERROR at 0x000000000040cc57 in _GCC_specific_handler ([...]) at ../../../src/libgcc/unwind-seh.c:289
    [...]

This is after compiler the following code:

    procedure B is
    begin
       raise Constraint_Error;
    end B;

... using the following command:

    % gnatmake -g b

When hitting the exception catchpoint, it should have gone up the stack
all the way until finding the frame corresponding to procedure B.
But if stopped short because unwind-seh.c is compiled with debugging
information, and the debugger is also able to locate that source file.

To prevent this from happening, this patch adds unwind-seh.c to the list
of files that should be ignored, regardless of other factors.

gdb/ChangeLog:

        * ada-lang.h (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Add entry for
        "unwind-seh.c".

12 years ago[Ada] Pointers to unconstrained arrays inside variant record.
Joel Brobecker [Wed, 24 Oct 2012 18:06:10 +0000 (18:06 +0000)]
[Ada] Pointers to unconstrained arrays inside variant record.

gdb/ChangeLog:

        * ada-lang.c (ada_template_to_fixed_record_type_1): Do not
        strip typedef layer when computing the fixed type's field type,
        only when computing its size.

gdb/testsuite/ChangeLog:

        * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.