aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-10-09daily updateAlan Modra1-1/+1
2008-10-09*** empty log message ***gdbadmin1-1/+1
2008-10-08 * remote.c (struct remote_state) <waiting_for_stop_reply>: NewPedro Alves2-0/+56
field. (remote_open_1): Clear waiting_for_stop_reply. (remote_resume): Set waiting_for_stop_reply. (remote_wait): Clear or set waiting_for_stop_reply accordingly. (putpkt_binary): If we're in async mode and waiting for a stop reply, bail out with an error. (extended_remote_mourn_1): Clear waiting_for_stop_reply.
2008-10-08merge from gccDJ Delorie1-2/+2
2008-10-08 * xstrdup.c: Include <sys/types.h> after "config.h".David Edelsohn2-1/+5
2008-10-08 * configure.in (ALL_LINGUAS): Add "id".Nick Clifton12-6/+20783
* configure: Regenerate. * po/id.po: New Indonesian translation.
2008-10-08 * remote.c (remote_get_thread_info): If the remote doesn't supportPedro Alves2-0/+9
the query, bail out.
2008-10-08 Convert static_kind into loc_kind enum.Jan Kratochvil17-86/+150
* gdbtypes.h (enum field_loc_kind): New. (union field_location): New field dwarf_block. (struct field): Rename static_kind as loc_kind. (FIELD_STATIC_KIND): Rename to ... (FIELD_LOC_KIND): ... here. (TYPE_FIELD_STATIC_KIND): Rename to ... (TYPE_FIELD_LOC_KIND): ... here and use there now new FIELD_LOC_KIND. (TYPE_FIELD_STATIC_HAS_ADDR): Remove. (TYPE_FIELD_STATIC): Remove. (TYPE_FIELD_BITPOS): Reformat. (SET_FIELD_BITPOS): New. (FIELD_PHYSADDR): Rename to ... (FIELD_STATIC_PHYSADDR): ... here. (TYPE_FIELD_STATIC_PHYSADDR): Follow the FIELD_PHYSADDR rename. (SET_FIELD_PHYSADDR): Use new FIELD_LOC_KIND. (FIELD_PHYSNAME): Rename to ... (FIELD_STATIC_PHYSNAME): ... here. (TYPE_FIELD_STATIC_PHYSNAME): Follow the FIELD_PHYSNAME rename. (SET_FIELD_PHYSNAME): Use new FIELD_LOC_KIND. (FIELD_DWARF_BLOCK, TYPE_FIELD_DWARF_BLOCK, SET_FIELD_DWARF_BLOCK): New. (field_is_static): New declaration. * gdbtypes.c (field_is_static): New function. (copy_type_recursive): Update throughout. * amd64-tdep.c, c-typeprint.c, coffread.c, cp-valprint.c, dwarf2read.c, eval.c, jv-typeprint.c, jv-valprint.c, mdebugread.c, p-typeprint.c, p-valprint.c, valops.c, value.c, varobj.c: Update throughout.
2008-10-08 * elf.c (assign_file_positions_for_load_sections): When checkingAlan Modra2-15/+14
a segment for contents, don't assume that a non-TLS nobits section must only be followed by nobits sections.
2008-10-08*** empty log message ***gdbadmin1-1/+1
2008-10-07 * options.c (General_options::finalize): Add check for -static andCary Coutant3-0/+11
-shared. * gold.cc (queue_middle_tasks): Assert that list of dynamic objects is not empty.
2008-10-07 * gnu-nat.h: Rename `current_inferior' to `gnu_current_inf' toPedro Alves4-33/+41
avoid a name collision. * gnu-nat.c: Likewise. * i386gnu-nat.c: Likewise.
2008-10-072008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>H.J. Lu4-1/+379
* configure.ac: Call AC_SYS_LARGEFILE. * config.in: Regenerated. * configure: Likewise.
2008-10-072008-10-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-0/+22
* read.c (pseudo_set): Don't allow global register symbol only if TC_GLOBAL_REGISTER_SYMBOL_OK is undefined. * symbols.c (S_SET_EXTERNAL): Likewise. * config/tc-mmix.h (TC_GLOBAL_REGISTER_SYMBOL_OK): Defined. * doc/internals.texi: Document TC_GLOBAL_REGISTER_SYMBOL_OK.
2008-10-07 * gdb.ada/ref_tick_size.exp: New testcase.Joel Brobecker5-0/+128
2008-10-07 * ada-lang.c (ada_evaluate_subexp) [OP_ATR_SIZE]: Add handlingJoel Brobecker2-2/+14
of arguments that are references.
2008-10-07 * readelf.c (process_section_headers): Do not cut the section names andNick Clifton5-5/+17
types if running with --wide. * ld-ia64/tlsbin.rd: Update expected output now that --wide does not truncate section names. * ld-ia64/tlspic.rd: Likewise.
2008-10-07merge from gccDJ Delorie9-467/+270
2008-10-07*** empty log message ***gdbadmin1-1/+1
2008-10-06daily updateAlan Modra1-1/+1
2008-10-06 * dwarf2read.c (dwarf2_die_debug): New static global.Doug Evans5-33/+169
(dump_die_shallow): Renamed from dump_die, New args f, indent. Print to specified file, indented by the specified amount. (dump_die_for_error): New fn. Point all existing callers of dump_die here. (dump_die_die_1,dump_die): New fns, replaces ... (dump_die_list): ... deleted. (read_die_and_children_1): Old contents of read_die_and_children moved here. (read_die_and_children): Rewrite. (read_die_and_siblings): Call read_die_and_children_1 instead of read_die_and_children. (_initialize_dwarf2_read): New option "debug dwarf2-die". * gdbinit.in (pdie): New macro. * doc/gdb.texinfo (set debug dwarf2-die): Document it.
2008-10-06 * dwarf2read.c (offset_in_cu_p): New function.Doug Evans6-9/+190
(find_partial_die,follow_die_ref): Use it. * gdb.dwarf2/dw2-cu-size.exp: New file. * gdb.dwarf2/dw2-cu-size.S: New file. * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from .Ltype_int for clarity.
2008-10-06 * symmisc.c (maintenance_info_symtabs): Watch for ^c.Doug Evans2-90/+103
(maintenance_info_psymtabs): Ditto.
2008-10-06 * doc/as.texinfo (Local): New description of ELF .local directive.Bob Wilson2-0/+23
2008-10-06 * dwarf.c (display_debug_frames): Change text for uniformity.Nick Clifton39-38/+71
(process_debug_info): Likewise. (display_debug_aranges): Likewise. Indent address output. (display_debug_pubnames): Print offset in hex. * binutils-all/objdump.W: Update. * gas/cfi/cfi-alpha-1.d, gas/cfi/cfi-alpha-3.d, gas/cfi/cfi-arm-1.d, gas/cfi/cfi-common-1.d, gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-3.d, gas/cfi/cfi-common-4.d, gas/cfi/cfi-common-5.d, gas/cfi/cfi-common-6.d, gas/cfi/cfi-hppa-1.d, gas/cfi/cfi-i386-2.d, gas/cfi/cfi-i386.d, gas/cfi/cfi-m68k.d, gas/cfi/cfi-mips-1.d, gas/cfi/cfi-ppc-1.d, gas/cfi/cfi-s390-1.d, gas/cfi/cfi-s390x-1.d, gas/cfi/cfi-sh-1.d, gas/cfi/cfi-sparc-1.d, gas/cfi/cfi-sparc64-1.d, gas/cfi/cfi-x86_64.d: Update for readelf change. * ld-elf/eh1.d, ld-elf/eh2.d, ld-elf/eh3.d, ld-elf/eh4.d, ld-elf/eh5.d, ld-elf/eh6.d, ld-mips-elf/eh-frame1-n32.d, ld-mips-elf/eh-frame1-n64.d, ld-mips-elf/eh-frame2-n32.d, ld-mips-elf/eh-frame2-n64.d, ld-mips-elf/eh-frame3.d, ld-mips-elf/eh-frame4.d: Update for readelf change.
2008-10-06 PR 6926Nick Clifton2-12/+49
* read.c (get_line_sb): Renamed to get_non_macro_line_sb. (_find_end_of_line): Add extra parameter indicating if the line is inside a macro. If it is then do not allow the @ character to be treated as a line separator character. (read_a_source): Update use of _find_end_of_line. (find_end_of_line): Likewise. (s_irp): Update use of get_line_sb. (s_macro): Likewise. (do_repeat): Likewise. (get_line_sb): New function. Like the old version of get_line_sb except that it takes an extra parameter indicating whether the line is inside a macro. (get_macro_line_sb): New function.
2008-10-06*** empty log message ***gdbadmin1-1/+1
2008-10-05daily updateAlan Modra1-1/+1
2008-10-05Fix email addressMichael Snyder1-1/+1
2008-10-052008-10-05 Michael Snyder <msnyder@promb-2s-dhcp59.eng.vmware.com>Michael Snyder2-1/+5
* infrun.c (handle_inferior_event): Fix typo in comment.
2008-10-05 PR 6943Alan Modra2-3/+10
* scripttempl/avr.sc (.bss): Set lma when relocating. (.bss, .noinit): No need to set vma when relocating. (.text, .bss, ,noinit): Set vma to zero when not relocating.
2008-10-05*** empty log message ***gdbadmin1-1/+1
2008-10-04daily updateAlan Modra1-1/+1
2008-10-04 * gas/cris/rd-tls-1.s, gas/cris/rd-tls-1.d, gas/cris/rd-tls-2.s,Hans-Peter Nilsson8-0/+173
gas/cris/rd-tls-2.d, gas/cris/tls-err-1.s, gas/cris/tls-err-2.s, gas/cris/tls-err-3.s: New tests.
2008-10-04 * config/tc-cris.c: Update all comments regarding explicit relocationsHans-Peter Nilsson2-39/+108
to, besides PIC, also imply TLS or to say "relocation specifier" or similar. (RELOC_SUFFIX_CHAR): Rename from PIC_SUFFIX_CHAR. Change all callers. (cris_get_reloc_suffix): Rename from cris_get_pic_suffix. Change all callers. Also handle TLS relocs. (cris_get_specified_reloc_size): Rename from cris_get_pic_reloc_size. Change all callers. Also handle TLS relocs. (tls): New constant. (cris_process_instruction): Check for non-PIC TLS relocations and adjust message when emitting error message about relocation not fitting. (get_autoinc_prefix_or_indir_op): Also check for relocation suffix when tls is true. (get_3op_or_dip_prefix_op): Ditto. (cris_number_to_imm, tc_gen_reloc): Handle TLS relocs like PIC relocs.
2008-10-04 * elf32-cris.c (TLSHOWTO32, TLSHOWTO16): New macros.Hans-Peter Nilsson5-2/+103
(cris_elf_howto_table): Add entries for R_CRIS_32_GOT_GD, R_CRIS_16_GOT_GD, R_CRIS_32_GD, R_CRIS_DTP, R_CRIS_32_DTPREL, R_CRIS_16_DTPREL, R_CRIS_DTPMOD, R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL, R_CRIS_32_TPREL, R_CRIS_16_TPREL. (cris_reloc_map): Similarly. * reloc.c (bfd_reloc_code_type): Add entries for BFD_RELOC_CRIS_32_GOT_GD, BFD_RELOC_CRIS_16_GOT_GD, BFD_RELOC_CRIS_32_GD, BFD_RELOC_CRIS_DTP, BFD_RELOC_CRIS_32_DTPREL, BFD_RELOC_CRIS_16_DTPREL, BFD_RELOC_CRIS_DTPMOD, BFD_RELOC_CRIS_32_GOT_TPREL, BFD_RELOC_CRIS_16_GOT_TPREL, BFD_RELOC_CRIS_32_TPREL, BFD_RELOC_CRIS_16_TPREL. * libbfd.h, bfd-in2.h: Regenerate.
2008-10-04 * cris.h (R_CRIS_32_GOT_GD, R_CRIS_16_GOT_GD, R_CRIS_32_GD)Hans-Peter Nilsson2-0/+83
(R_CRIS_DTP, R_CRIS_32_DTPREL, R_CRIS_16_DTPREL, R_CRIS_DTPMOD) (R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL, R_CRIS_32_TPREL) (R_CRIS_16_TPREL): New relocations.
2008-10-04 * mi/mi-interp.c (mi_on_resume): Flush raw_stdout.Vladimir Prus2-0/+5
2008-10-042008-10-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+33
PR ld/6931 * ld-elf/group7.d: New.
2008-10-04 * ldemul.c (ldemul_place_orphan): Add "constraint" param.Alan Modra11-61/+92
* ldemul.h (ldemul_place_orphan): Update prototype. (struct ld_emulation_xfer_struct <place_orphan>): Likewise add param. * ldlang.c (unique_section_p): Make static. (lang_output_section_statement_lookup): Optimise creation of SPECIAL sections. (lang_insert_orphan): Add "constraint" param. Pass to lang_enter_output_section_statement. (init_os): Don't use an existing bfd section for SPECIAL sections. (lang_place_orphans): Don't rename unique output sections, instead mark their output section statements SPECIAL. * ldlang.h (lang_insert_orphan): Update prototype. (unique_section_p): Delete. * emultempl/beos.em (place_orphan): Add "constraint" param. * emultempl/elf32.em (place_orphan): Likewise. Don't match existing output sections if set. * emultempl/pe.em (place_orphan): Likewise. * emultempl/pep.em (place_orphan): Likewise. * emultempl/mmo.em (mmo_place_orphan): Update. * emultempl/spuelf.em (spu_place_special_section): Update.
2008-10-04*** empty log message ***gdbadmin1-1/+1
2008-10-04daily updateAlan Modra1-1/+1
2008-10-032008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov5-40/+67
PR gdb/2384: * gdb.cp/gdb2384.exp: Extended to test more cases. * gdb.cp/gdb2384.cc: Likewise. * gdb.cp/gdb2384-base.h: Likewise. * gdb.cp/gdb2384-base.cc: Likewise.
2008-10-032008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-1/+7
PR gdb/2384: * gdbtypes.c (get_vptr_fieldno): baseclass and basetype may have different lifetimes.
2008-10-03 * listing.c (buffer_line): Open the source file with FOPEN_RB.Kazu Hirata2-2/+20
Manually process line ends.
2008-10-03Fix the date in the last entry.Joel Brobecker1-1/+1
2008-10-03 * solib-osf.c: Include "solib.h".Joel Brobecker2-0/+5
2008-10-032008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov16-87/+96
* utils.c, defs.h (gdb_buildargv): New fn. Wrap buildargv and check for out-of-memory condition. * exec.c (exec_file_command): Call it. * infrun.c (handle_command, xdb_handle_command): Likewise. * interps.c (interpreter_exec_cmd): Likewise. * linux-nat.c (linux_nat_info_proc_cmd): Likewise. * procfs.c (info_proc_cmd): Likewise. * remote-mips.c (common_open): Likewise. * remote-sim.c (gdbsim_kill, gdbsim_create_inferior) (gdbsim_open): Likewise. * remote.c (extended_remote_run, remote_put_command) (remote_get_command, remote_delete_command): Likewise. * ser-mingw.c (pipe_windows_open): Likesise. * source.c (add_path, show_substitute_path_command) (unset_substitute_path_command, set_substitute_path_command): Likewise. * stack.c (backtrace_command): Likewise. * symfile.c (symbol_file_command, generic_load) (add_symbol_file_command): Likesise. * symmisc.c (maintenance_print_symbols, maintenance_print_psymbols) (maintenance_print_msymbols): Likewise.
2008-10-03binutils/testsuite/H.J. Lu10-20/+34
2008-10-03 H.J. Lu <hongjiu.lu@intel.com> * binutils-all/group.s: Updated. * binutils-all/group-2.s: Likewise. * binutils-all/group-3.s: Likewise. * binutils-all/group-4.s: Likewise. * binutils-all/strip-7.d: Likewise. * binutils-all/strip-9.d: Likewise. ld/testsuite/ 2008-10-03 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/group5.d: Updated. * ld-elf/group6.d: Likewise.
2008-10-032008-10-03 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+9
* ld-elf/stab.d: Don't run on alpha (to avoid relocation overflow on 64 bits targets whose stab values is 32 bits).