aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-07-062001-06-12 Michael Snyder <msnyder@redhat.com>Michael Snyder2-40/+234
* lin-lwp.c: Prevent thread starvation by using a monte carlo method to choose which of several event threads to handle next. (stop_wait_callback): Defer pushback of breakpoint events until later; add SIGTRAP events to the queue of unhandled events. Keep calling waitpid until SIGSTOP retrieved. If more than one non-SIGSTOP event is retrieved, push them back onto the process queue using kill. (count_events_callback, select_singlestep_lwp_callback, select_event_lwp_callback, cancel_breakpoints_callback, select_event_lwp): New functions. Implement monte carlo method for selecting which of several SIGTRAP threads to handle next. Push back the breakpoint event for all threads other than the selected one. (lin_lwp_wait): Call select_event_lwp to decide which of several sigtrapped lwps to handle next. (resume_callback): Disable code that attempts to handle step_resume breakpoints. Let core gdb handle this.
2001-07-06* gdbtypes.h (builtin_type_void_func_ptr): New builtin type.Jim Blandy3-3/+49
* gdbtypes.c (builtin_type_void_func_ptr): Define the variable. (build_gdbtypes): Initialize it. (_initialize_gdbtypes): Swap it.
2001-07-06Catch and ignore empty, ineffectual alignment frags when deciding if aNick Clifton2-4/+22
branch can be short.
2001-07-06And remove the seconf accidental patch commission.Nick Clifton1-26/+0
2001-07-06Remove patch accidentally checked in with readelf.c patchNick Clifton1-14/+6
2001-07-0632-bit unwind data for ia64-hpux, from Steve EllceyJim Wilson2-33/+86
* config/tc-ia64.c (special_section): Add SPECIAL_SECTION_INIT_ARRAY and SPECIAL_SECTION_FINI_ARRAY. (special_section_name): Add .init_array and .fini_array. (md_pseudo_table): Add init_array and fini_array. (md): Add pointer_size and pointer_size_shift fields. (setup_unwind_header): New static function. (output_unw_records): Modify to use setup_unwind_header. (generate_unwind_image, dot_endp): Modify to use md.pointer_size and md.pointer_size_shift. (md_begin): Initialize md.pointer_size and md.pointer_size_shift.
2001-07-06Branch prediction code cleanupDaniel Jacobowitz2-40/+72
2001-07-06Mention mi0 and mi1 as --interpreter options.Andrew Cagney2-3/+11
2001-07-06Replace:Andrew Cagney8-21/+53
if (interpreter_p && strncmp (interpreter_p, "mi", 2) == 0) with: if (ui_out_is_mi_like_p (uiout))
2001-07-06Oops, missed committing entry for 2001-07-05 change.Alan Modra1-0/+13
2001-07-06*** empty log message ***gdbadmin1-1/+1
2001-07-05 * mips-tdep.c (mips_software_single_step): New function.Daniel Jacobowitz3-0/+36
* config/mips/tm-mips.h: Add prototype for mips_software_single_step.
2001-07-05 * ppc-linux-nat.c (supply_gregset): Use elf_greg_t insteadDaniel Jacobowitz2-2/+8
of greg_t. (fill_gregset): Likewise.
2001-07-05Fix ia64-linux fortran common linking problem.Jim Wilson2-1/+23
* linker.c (_bfd_generic_link_add_one_symbol, case BIG): Use the section of the bigger symbol.
2001-07-05s/basename/lbasename/Andrew Cagney2-2/+7
2001-07-05* d10v-tdep.c (d10v_frame_chain, d10v_frame_init_saved_regs,Jim Blandy2-17/+26
show_regs, d10v_read_pc, d10v_write_pc, d10v_read_sp, d10v_write_sp, d10v_write_fp, d10v_read_fp, d10v_push_return_address): Call the functions d10v_make_daddr, d10v_make_iaddr, d10v_convert_iaddr_to_raw, and d10v_convert_daddr_to_raw, not the global macros D10V_MAKE_DADDR, D10V_MAKE_IADDR, D10V_CONVERT_IADDR_TO_RAW, and D10V_CONVERT_DADDR_TO_RAW.
2001-07-05Fix ia64-linux binutils readelf -s testsuite failure.Jim Wilson2-1/+8
* syms.c (bfd_is_local_label): Return false if BSF_SECTION_SYM.
2001-07-05merge from gccDJ Delorie5-3/+40
2001-07-05* dwarf2read (dwarf2_build_psymtabs_hard): Doc fix.Jim Blandy2-0/+17
2001-07-05* config/i386/xm-go32.h (HOST_I386): Removed.Mark Kettenis3-4/+5
* config/i386/xm-linux.h (HOST_I386): Removed.
2001-07-052001-07-05 Ben Elliston <bje@redhat.com>Ben Elliston8-15/+42
* Make-common.in (srccgen): Remove. (CGEN_CPU_DIR): Define. (CGEN_READ_SCM): Redefine without $(srccgen). (CGEN_ARCH_SCM): Ditto. (CGEN_CPU_SCM): Ditto. (CGEN_DECODE_SCM): Ditto. (CGEN_DESC_SCM): Ditto. * $arch/Makefile.in: Use $(CGEN_CPU_DIR) where applicable.
2001-07-052001-07-05 Ben Elliston <bje@redhat.com>Ben Elliston3-6/+16
* Makefile.am (CPUDIR): Define. (stamp-m32r): Update dependencies. (stamp-fr30): Ditto. (stamp-openrisc): Ditto. * Makefile.in: Regenerate.
2001-07-052001-07-05 Ben Elliston <bje@redhat.com>Ben Elliston2-1/+3
* README (Supported platforms): m88k no longer suffers bitrot.
2001-07-052001-07-05 Ben Elliston <bje@redhat.com>Ben Elliston2-52/+7
* lib/utils-lib.exp (target_assemble): Remove duplicate copy. (default_target_assemble): Likewise.
2001-07-05For sections containing uninitialised data, only set their size to s_paddrNick Clifton2-1/+9
if this does not reset their size to zero. MS's latest compilers will set s_paddr to zero.
2001-07-05Display the contents of a .debug.macinfo sectionNick Clifton5-17/+146
2001-07-052001-07-05 Ben Elliston <bje@redhat.com>Ben Elliston2-1/+4
* config/tc-m88k.c (md_pseudo_table): Remove redundant "global".
2001-07-052001-07-05 H.J. Lu <hjl@gnu.org>H.J. Lu2-3/+11
* objcopy.c (filter_symbols): Don't turn undefined symbols into local.
2001-07-05 * struc-symbol.h (struct local_symbol): Rename lsy_offset toAlan Modra2-17/+17
lsy_value. Correct typos in comments. * symbols.c (local_symbol_make): Update for name change. (local_symbol_convert): Likewise. (colon): Likewise. (S_GET_VALUE): Likewise. (S_SET_VALUE): Likewise. (print_symbol_value_1): Likewise. (resolve_symbol_value): Likewise. Don't divide local sym values by OCTETS_PER_BYTE twice.
2001-07-05Fix ia64-linux gas ehopt testsuite failure.Jim Wilson2-0/+11
* config/tc-ia64.c (md_pseudo_table): Add 2byte, 4byte, and 8byte.
2001-07-05Fix 2 ia64-linux gas testsuite failures.Jim Wilson2-5/+20
* config/tc-ia64.c (is_conditional_branch): Rewrite to exclude mod sched branches.
2001-07-052001-07-05 Ben Elliston <bje@redhat.com>Ben Elliston2-2/+4
* read.c (s_fill): Correct spelling error in comments.
2001-07-052001-07-05 Ben Elliston <bje@redhat.com>Ben Elliston6-1/+89
* doc/c-m88k.texi: New file. * doc/Makefile.am (CPU_DOCS): Add c-m88k.texi. * doc/Makefile.in: Regenerate. * doc/all.texi: Set M880X0. * doc/as.texinfo: Hook in m88k-dependent documentation.
2001-07-05*** empty log message ***gdbadmin1-1/+1
2001-07-04* i387-tdep.c (print_i387_value): Add extra space after final fullMark Kettenis2-1/+6
stop in comment.
2001-07-04* gdbint.texinfo (Target Architecture Definition): GDBARCH is a CAndrew Cagney4-96/+273
structure and not macros. (Host Definition): Document that much of this chapter is obsolete. (Target Architecture Definition): Update list of files that make up a target architecture. (Coding): Update.
2001-07-04* config/arm/tm-arm.h: Include "floatformat.h".Andrew Cagney2-0/+5
2001-07-04* i387-tdep.c: Include "gdb_assert.h".Andrew Cagney2-14/+24
(print_i387_value): Use extract_floating to extract the FP value from a zero padded local buffer.
2001-07-04* TODO: Delete all thread items. The thread code was overhauled.Andrew Cagney2-57/+4
2001-07-042001-07-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+4
* memattr.c (create_mem_region): Move n to next memory region, to avoid infinite loop.
2001-07-042001-07-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-2/+45
* memattr.h: Add copyright statement. * memattr.c: Ditto.
2001-07-04* dwarf2read.c (struct partial_die_info): New member: has_pc_info.Jim Blandy2-13/+16
(read_partial_die): Delete fourth argument; we return this info in the struct partial_die_info object itself now. (dwarf2_build_psymtabs_hard, scan_partial_symbols): Use the has_pc_info field of the partial die struct, rather than passing a variable by reference to read_partial_die.
2001-07-04Doc fix.Jim Blandy1-4/+1
2001-07-04* dwarf2read.c (dwarf2_build_psymtabs_hard): Remove extraneousJim Blandy2-2/+9
code in loop condition. This seemed to be trying to round info_ptr up to the next four-byte boundary, but that's not what it actually did. If we discover the problem the old code was really trying to address, we can fix it properly.
2001-07-042001-07-04 Eric Christopher <echristo@redhat.com>Eric Christopher3-1/+20
* doc/c-mips.texi (MIPS Opts): Document 12000 as valid cpu. * config/tc-mips.c (mips_cpu_info_table): Add rm5200, rm5231, rm5261, and rm5721 as valid cpu strings. (md_show_usage): Add rm5200, rm5231, rm5261, rm5721.
2001-07-04[gas]Richard Sandiford4-2/+47
* config/tc-mips.c (md_apply_fix): Prevent addend from becoming zero if it's expected to be non-zero. [gas/testsuite] * gas/mips/elf-rel3.s: Add zero word to end of file.
2001-07-042001-07-04 H.J. Lu <hjl@gnu.org>H.J. Lu2-4/+9
* bfd/elf32-mips.c (_bfd_mips_elf_final_write_processing): Handle bfd_mach_mips4400, bfd_mach_mips4600 and bfd_mach_mips5000.
2001-07-04*** empty log message ***gdbadmin1-1/+1
2001-07-032001-07-03 H.J. Lu <hjl@gnu.org>H.J. Lu2-10/+6
* scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on 2001-07-03. It creates dynamic entries even for static binaries.
2001-07-032001-07-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+8
* thread_db (find_new_threads_callback, thread_db_thread_alive, attach_thread): Update comments.