aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-04-13 * breakpoint.c (bpstat_what): Give step-resume higher priority thanDaniel Jacobowitz2-6/+11
shlib events.
2007-04-13 * infrun.c: Doc fixes.Daniel Jacobowitz2-3/+17
(handle_inferior_event): Clarify debug message. (insert_step_resume_breakpoint_at_sal): Print a debug message.
2007-04-13 * Makefile.am (TOOL_PROGS): Add objcopy.Nathan Sidwell3-2/+7
* Makefile.in: Rebuilt.
2007-04-13 * configure.tgt (arm-*-nto*, sh-*-nto*): Remove.Ulrich Weigand2-2/+4
2007-04-13daily updateAlan Modra1-1/+1
2007-04-13*** empty log message ***gdbadmin1-1/+1
2007-04-12 * config/m68k/tm-monitor.h: Delete file.Ulrich Weigand6-41/+13
* config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove. * m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break call moved to ... * m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ... * m68klinux-tdep.c (m68k_linux_init_abi): ... here.
2007-04-12bfd/Richard Sandiford2-12/+15
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add DT_MIPS_RTLD_MAP for PIEs.
2007-04-12bfd/Richard Sandiford5-1/+27
* elfxx-mips.c (mips_elf_calculate_relocation): Set DT_TEXTREL when creating a __GOTT_BASE__ or __GOTT_INDEX__ relocation in a read-only section. (_bfd_mips_elf_check_relocs): Likewise. ld/testsuite/ * ld-mips-elf/vxworks1-lib.td: New test. * ld-mips-elf/mips-elf.exp: Run it.
2007-04-122007-04-12 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu6-7/+29
PR binutils/4348 * objcopy.c (copy_object): Don't stop when there are no sections to be copied. testsuite/ 2007-04-12 H.J. Lu <hongjiu.lu@intel.com> PR binutils/4348 * binutils-all/empty.s: New file. * binutils-all/strip-3.d: Likewise. * binutils-all/objcopy.exp: Run strip-3 for ELF target.
2007-04-12 * elf32-xtensa.c (xtensa_is_insntable_section): New.Bob Wilson2-140/+189
(xtensa_is_proptable_section): New. (elf_xtensa_discard_info_for_section): Handle "full" .xt.prop property tables with 12-byte entries, as well as tables with 8-byte entries. Sort the relocations before examining them. (relax_property_section): Use xtensa_is_proptable_section and xtensa_is_littable_section. Rewrite code for combining table entries to be more robust in case of unexpected relocations. Do not set offset of unused relocations to less than zero. (xtensa_is_property_section): Use other functions instead of duplicating section name comparisons. (xtensa_is_littable_section): Use CONST_STRNEQ for ".gnu.linkonce.p.". (xtensa_get_property_predef_flags): Use xtensa_is_insntable_section.
2007-04-12bfd/Bob Wilson4-3/+25
* elf32-xtensa.c (elf_xtensa_gc_mark_hook): Don't follow references from Xtensa property sections. ld/ * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
2007-04-122007-04-12 Luis Machado <luisgpm@br.ibm.com>Ulrich Weigand16-44/+90
* gdbarch.sh (software_single_step): Change the return type from void to int and reformatted some comments to <= 80 columns. * gdbarch.c, gdbarch.h: Regenerated. * alpha-tdep.c (alpha_software_single_step): Likewise. * alpha-tdep.h (alpha_software_single_step): Likewise. * arm-tdep.c (arm_software_single_step): Likewise. * cris-tdep.c (cris_software_single_step): Likewise. * mips-tdep.c (mips_software_single_step): Likewise. * mips-tdep.h (mips_software_single_step): Likewise. * rs6000-tdep.c (rs6000_software_single_step): Likewise. * rs6000-tdep.h (rs6000_software_single_step): Likewise. * sparc-tdep.c (sparc_software_single_step): Likewise. * sparc-tdep.h (sparc_software_single_step): Likewise. * spu-tdep.c (spu_software_single_step): Likewise. * infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP and act accordingly.
2007-04-12config:Paolo Bonzini2-0/+44
2007-04-11 Kai Tietz <kai.tietz@onevision.com> * stdint.m4: Make template compatible with older cygwin types.h, wrapping each type in a __XXX_t_defined #ifdef.
2007-04-12 * elf32-spu.c (needs_ovl_stub): Test that spu_elf_section_dataAlan Modra2-1/+7
is non-NULL before dereferencing.
2007-04-12daily updateAlan Modra1-1/+1
2007-04-12*** empty log message ***gdbadmin1-1/+1
2007-04-112007-04-11 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-113/+142
PR binutils/4333 * i386-dis.c (GRP1a): New. (GRP1b ... GRPPADLCK2): Update index. (dis386): Use GRP1a for entry 0x8f. (mod, rm, reg): Removed. Replaced by ... (modrm): This. (grps): Add GRP1a.
2007-04-11merge from gccDJ Delorie3-11/+11
2007-04-11 * gdb.texinfo (Contributors, Continuing and Stepping)Bob Wilson2-63/+80
(Fortran Defaults, HPPA, TUI, TUI Commands, Configure Options) (General Query Packets, File-I/O Remote Protocol Extension) (Protocol Basics, The F Reply Packet, Write) (Protocol-specific Representation of Datatypes, Memory Transfer): Fix hyphenation, punctuation and grammar problems. (Cygwin Native): Likewise. Also fix misuse of @pxref and use 'section' instead of 'subsection' in the text. (Non-debug DLL Symbols): Avoid 'subsubsection' in the text. (i386): Remove period from section name. (Installing GDB, Requirements, Running Configure, Separate Objdir) (Config Names, Configure Options): Use @file{configure}.
2007-04-11 * configure.ac (build_warnings): Add -Wno-char-subscripts.Steve Ellcey4-2/+9
* configure: Regenerate. * doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts.
2007-04-11* libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'.Jan Kratochvil2-1/+7
2007-04-11* gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): NewJan Kratochvil3-1/+19
macros. (TYPE_IS_OPAQUE): Empty vs. opaque structures are now distinct on the TYPE_STUB_SUPPORTED debug targets. * dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED.
2007-04-11* gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,Jan Kratochvil4-0/+251
gdb.base/type-opaque.exp: New files.
2007-04-11fix typo in previous commitNathan Sidwell1-1/+1
2007-04-11 * elf-vxworks.c (elf_vxworks_emit_relocs): Remap weakdef PLT slotNathan Sidwell2-1/+7
relocs too.
2007-04-11 * gdbint.texinfo (Writing Tests): Mention gdb_test_multipleDaniel Jacobowitz2-1/+13
and tab expansion.
2007-04-11 * sparc-tdep.c (X_RS2): New macro.Joel Brobecker2-0/+160
(sparc_skip_stack_check): New function. (sparc_analyze_prologue): Adjust PC past stack probing sequence if necessary.
2007-04-11daily updateAlan Modra1-1/+1
2007-04-11*** empty log message ***gdbadmin1-1/+1
2007-04-10Fix changelog entry.Daniel Jacobowitz1-2/+2
2007-04-10bfd/Richard Henderson6-28/+54
* elf64-alpha.c (struct alpha_elf_link_hash_table): Add relax_trip. (elf64_alpha_size_got_sections): Remove unused something_changed local. (elf64_alpha_size_plt_section): Return void. (elf64_alpha_size_rela_got_section): Likewise. (elf64_alpha_relax_section): Only regenerate got+plt if the relax_trip counter has changed. include/ * bfdlink.h (struct bfd_link_info): Add relax_trip. ld/ * ldlang.c (relax_sections): Initialize and increment link_info.relax_trip.
2007-04-10 * rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CRAndreas Schwab2-0/+7
register.
2007-04-10 * breakpoint.c (gdb_breakpoint_query): Really return anDaniel Jacobowitz4-14/+30
enum gdb_rc. (gdb_breakpoint): Likewise. * thread.c (do_captured_list_thread_ids): Likewise. (do_captured_thread_select): Likewise. * mi/mi-main.c (mi_cmd_thread_select): Expect an enum gdb_rc. (mi_cmd_thread_list_ids): Remove bogus initialization.
2007-04-10 * Makefile.in (SFILES): Remove hpacc-abi.c.Daniel Jacobowitz9-6694/+23
(COMMON_OBS): Remove hpacc-abi.o. (ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE). (hpacc-abi.o, hpread.o): Delete rules. * somread.c: Delete extern declarations from hpread.c. (som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs. (som_symfile_finish): Do not call hpread_symfile_finish. (som_symfile_init): Do not call hpread_symfile_init. * config/pa/hppa64.mt (TDEPFILES): Remove hpread.o. * config/pa/hppahpux.mt (TDEPFILES): Likewise. * hpacc-abi.c, hpread.c: Deleted. * gdbint.texinfo (SOM): Correct location of the SOM reader.
2007-04-10 * solib-svr4.c (enable_break): Simplify return value.Daniel Jacobowitz2-11/+7
(svr4_solib_create_inferior_hook): Do not warn if enable_break fails.
2007-04-10 * solib-svr4.h (struct link_map_offsets): Remove l_addr_size,Andreas Schwab4-105/+53
l_ld_size, l_next_size, l_prev_size, l_name_size. * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address to extract addresses from link map. (LM_DYNAMIC_FROM_LINK_MAP): Likewise. (LM_NEXT): Likewise. (LM_NAME): Likewise. (IGNORE_FIRST_LINK_MAP_ENTRY): Likewise. (elf_locate_base): Likewise. (open_symbol_file_object): Likewise. (svr4_fetch_objfile_link_map): Likewise. (SOLIB_EXTRACT_ADDRESS): Remove unused macro. (HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of l_ld_size. (svr4_ilp32_fetch_link_map_offsets): Don't set removed members. (svr4_lp64_fetch_link_map_offsets): Likewise. * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set removed members. Set l_ld_offset to -1 if not present.
2007-04-10Fix typo in the previous commitVladimir Prus1-1/+1
2007-04-10 * NEWS: Mention disjoint histograms support inVladimir Prus2-0/+8
gprof.
2007-04-10 * hist.h (struct histogram)Vladimir Prus12-210/+385
(histograms, num_histograms): New. * hist.c (find_histogram, find_histogram_for_pc) (read_histogram_header): New. (s_lowpc, s_highpc, lowpc, highpc, hist_num_bins) (hist_sample): Remove. (hist_read_rec): Use the above, and handle multiple histogram records with disjoint address ranges. (hist_write_hist): Support several histogram records. (scale_and_align_entries): Adjust for multiple histograms. (hist_assign_samples_1): New. (hist_assign_samples): Use the above. (hist_clip_symbol_address): New. * hist.h (hist_check_address) (hist_clip_symbol_address): Declare. * gmon_io.c (gmon_out_read, gmon_out_write): Adjust handling of legacy format for multiple histogram changes. * corefile.c (find_call): Check for core_text_space and clip symbol address range here. * vax.c (vax_find_call): Don't check for core_text_space, or clip the symbol's address range here. Use hist_check_address to check call's target address. * sparc.c: Likewise. * tahoe.c: Likewise. * i386.c: Likewise. * mips.c: Likewise. Also use core_text_sect->vma as the base address for code accesses, just like other machine-specific routines do. * gprof.texi: Adjust for the new logic.
2007-04-10*** empty log message ***gdbadmin1-1/+1
2007-04-10daily updateAlan Modra1-1/+1
2007-04-09 * m68k-dis.c (print_insn_m68k): Restore info->fprintf_func andKazu Hirata2-2/+31
info->print_address_func if longjmp is called.
2007-04-09 * src-release (do-proto-toplev): Process the support directories beforeDaniel Jacobowitz7-31/+53
the tool directory. * Makefile.am (bfdver.h): Do not generate doc/bfdver.texi. * doc/Makefile.am (DOCFILES): Add bfdver.texi. (bfdver.texi): New rule. * Makefile.in, doc/Makefile.in: Regenerated.
2007-04-09 * dwarf.c (process_debug_info): Do not require DW_AT_frame_base forDaniel Jacobowitz2-1/+5
DW_TAG_inlined_subroutine.
2007-04-09*** empty log message ***gdbadmin1-1/+1
2007-04-09daily updateAlan Modra1-1/+1
2007-04-08 Pass stderr of program run with "target remote |"Vladimir Prus6-2/+111
via gdb_stderr. * serial.c (serial_open): Set error_fd to -1. * serial.h (struct serial): New field error_fd. (struct serial_opts): New field avail. * ser-pipe.c (pipe_open): Create another pair of sockets. Pass stderr to gdb. * ser-mingw.c (pipe_windows_open): Pass PEX_STDERR_TO_PIPE to pex_run. Initialize sd->error_fd. (pipe_avail): New. (_initialize_ser_windows): Hook pipe_avail. * ser-base.c (generic_readchar): Check if there's anything in stderr channel and route that to gdb_stderr.
2007-04-08*** empty log message ***gdbadmin1-1/+1
2007-04-08daily updateAlan Modra1-1/+1