aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-12-29* fnmatch.c: Make the note about the origins of this file moreDJ Delorie6-10/+20
accurate, at least until we can sync with glibc. * getopt.c: Ditto. * getopt1.c: Ditto. * md5.c: Ditto. * obstack.c: Ditto.
2000-12-29 * doc/internals.texi (tc_conditional_pseudoop,Hans-Peter Nilsson2-2/+7
TC_LINKRELAX_FIXUP): Fix typos.
2000-12-29 * elfcode.h (elf_object_p): Also restore the bfd mach field onHans-Peter Nilsson2-0/+18
error, by calling bfd_default_set_arch_mach with incoming values.
2000-12-28Requre that long options starting with 'o' only accept a double dash prefix.Nick Clifton4-20/+76
2000-12-28* error msg tweakFrank Ch. Eigler2-1/+15
2000-12-28 Frank Ch. Eigler <fche@redhat.com> * cgen-asm.in (parse_insn_normal): Print better error message for instructions with missing operands.
2000-12-28 * write.c (subsegs_finish): Fix thinko last change -- don'tRichard Henderson2-7/+9
"optimize" the alignment == 0 case.
2000-12-28 * as.h (rs_align_test): New.Richard Henderson23-259/+421
* frags.c (NOP_OPCODE): Move default from read.c. (MAX_MEM_FOR_RS_ALIGN_CODE): New default. (frag_align_code): New. * frags.h (frag_align_code): Declare. * read.c (NOP_OPCODE): Remove. (do_align): Use frag_align_code. * write.c (NOP_OPCODE): Remove. (get_recorded_alignment): New. (cvt_frag_to_fill): Handle rs_align_test. (relax_segment): Likewise. (subsegs_finish): Align last subseg in section to the section alignment. Use frag_align_code. * write.h (get_recorded_alignment): Declare. * config/obj-coff.c (size_section): Handle rs_align_test. (fill_section, fixup_mdeps): Likewise. (write_object_file): Use frag_align_code. * config/tc-alpha.c (alpha_align): Use frag_align_code. (alpha_handle_align): New. * config/tc-alpha.h (HANDLE_ALIGN): New. (MAX_MEM_FOR_RS_ALIGN_CODE): New. * config/tc-i386.h (md_do_align): Use frag_align_code. (MAX_MEM_FOR_RS_ALIGN_CODE): New. * config/tc-ia64.c (ia64_md_do_align): Don't do code alignment. (ia64_handle_align): New. * config/tc-ia64.h (HANDLE_ALIGN): New. (MAX_MEM_FOR_RS_ALIGN_CODE): New. * config/tc-m32r.c (m32r_do_align): Remove. (m32r_handle_align): New. (fill_insn): Use frag_align_code. * config/tc-m32r.h (md_do_align): Remove. (HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): New. * config/tc-m88k.c, config/tc-m88k.h: Similarly. * config/tc-mips.c, config/tc-mips.h: Similarly. * config/tc-sh.c (sh_cons_align): Use rs_align_test. (sh_handle_align): Likewise. Handle rs_align_code. (sh_do_align): Remove. * config/tc-sh.h (md_do_align): Remove. (MAX_MEM_FOR_RS_ALIGN_CODE): New. * config/tc-sparc.c (sparc_cons_align): Use rs_align_test. (sparc_handle_align): Likewise. Handle rs_align_code. * config/tc-sparc.h (md_do_align): Remove. (MAX_MEM_FOR_RS_ALIGN_CODE): New.
2000-12-27Fix debugging programs statically linked against the thread library.Mark Kettenis2-46/+108
* thread-db.c: Various comment fixes and additions. Include "bfd.h", "symfile.h" and "objfiles.h". (keep_thread_db): New variable. (find_new_threads_callback): Remove prototype. (thread_db_find_new_threads): New prototype. (thread_db_push_target, thread_db_unpush_target): Remove functions. (deactivate_target): New function. (thread_db_new_objfile): If OBJFILE == NULL, force deactivation of target vector. Activate target vector directly instead of calling thread_db_push_target. Set keep_thread_db if thread library is detected in the main symbol file. Only enable thread event reporting if there actually is a child process. Likewise for detecting new threads, done by calling thread_db_find_new_threads instead of iterating over the threads ourselves. (thread_db_detach): Call deactivate_target instead of thread_db_unpush_target. (thread_db_wait): Bail out early if we're not debugging the multi-threaded child process yet. (thread_db_post_startup_inferior): New function. (thread_db_mourn_inferior): Call deactivate_target instead of thread_db_unpush_target. (init_thread_db_ops): Add thread_db_post_startup_inferior to thread_db_ops.
2000-12-27* Make-common.in (sim-io.o): Depend on targ-vals.h.Alexandre Oliva2-1/+5
2000-12-27Added Orjan Friberg to Write After Approval list.Orjan Friberg1-0/+1
2000-12-26* bsearch.c: New file.DJ Delorie5-105/+189
* configure.in (funcs): Add bsearch. (AC_CHECK_FUNCS): Likewise. * configure, config.in: Regenerate.
2000-12-26Add --no-default-excludes option for PE targetsNick Clifton4-109/+120
2000-12-262000-12-26 Kazu Hirata <kazu@hxi.com>Kazu Hirata6-87/+36
* vaxnetbsd.c: Fix formatting. * versados.c: Likewise. * vms-gsd.c: Likewise. * vms-hdr.c: Likewise. * vms-misc.c: Likewise.
2000-12-26Synchronise with master FSF GCC sourcesNick Clifton1-146/+140
2000-12-25* archive.c (coff_write_armap): Don't write more than symbol_countAlexandre Oliva2-1/+6
`archive_member_file_ptr's.
2000-12-252000-12-25 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-76/+53
* vms-tir.c: Fix formatting.
2000-12-25GDB version and refcard copyright fixed.Eli Zaretskii2-3/+8
2000-12-232000-12-23 Ben Elliston <bje@redhat.com>Ben Elliston2-0/+20
* cgen-trace.c (trace_result): Handle 'f' type operands; output them to the trace stream using sim_fpu_printn_fpu. Include "sim-fpu.h".
2000-12-232000-12-23 Kazu Hirata <kazu@hxi.com>Kazu Hirata3-56/+16
* vms.c: Fix formatting. * vms.h: Likewise.
2000-12-232000-12-15 Ben Elliston <bje@redhat.com>Ben Elliston3-31/+36
* sim-fpu.h (sim_fpu_printn_fpu): Declare. * sim-fpu.c (print_bits): Add digits parameter. Print only as many trailing digits as specified (-1 to print all digits). (sim_fpu_print_fpu): New wrapper around sim_fpu_printn_fpu. (sim_fpu_printn_fpu): Rename from sim_fpu_print_fpu; update calls to print_bits ().
2000-12-23* solib.c (solib_open): If path is relative, look for itMark Kettenis2-7/+14
literally. This matches the behaviour of the GNU dynamic linker more closely.
2000-12-22* config/tc-d10v.c (md_assemble): set prev_seg and prev_subsegDJ Delorie2-0/+7
when we assemble the first half of a pair.
2000-12-222000-12-22 H.J. Lu <hjl@gnu.org>H.J. Lu3-2/+7
* gas/i386/intel.s: Replace "nop" with ".p2align 4,0". * gas/i386/intel.d: Updated.
2000-12-222000-12-22 H.J. Lu <hjl@gnu.org>H.J. Lu2-10/+17
* config/tc-i386.c (reloc): Update the macro for non-bfd assembler. (BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler.
2000-12-222000-12-22 H.J. Lu <hjl@gnu.org>H.J. Lu2-9/+4
* dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER.
2000-12-222000-12-22 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-1/+18
* README: Suggest building in an empty directory.
2000-12-222000-12-21 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2-2/+14
* gdb.base/finish.exp: Accept '1' instead of \001 from char_func. Add a RE to accept a non-ascii char if one is ever presented.
2000-12-21* i386-tdep.c: Add missing ')' in comment.Mark Kettenis3-12/+74
(i386_extract_return_value): Return directly after issuing the warning and filling *VALBUF with zeroes if we cannot get at the floating-point registers. (i386_store_return_value): New function. * config/i386/tm-i386.h (STORE_RETURN_VALUE): Simply call i386_store_return_value. Add prototype for i386_store_return_value.
2000-12-21* i386-linux-nat.c (store_fpxregs): Add code to detect support forMark Kettenis2-1/+14
the PTRACE_GETFPXREGS request, and return zero if it's not.
2000-12-21Fix for compiling under Solaris 2.8Nick Clifton2-0/+8
2000-12-21Fixes to allow sources to compile under Solaris 2.8Nick Clifton8-24/+43
2000-12-21Add bfd_get_bits() and bfd_put_bits().Nick Clifton5-18/+83
2000-12-212000-12-21 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-0/+9
* TODO: Add pre-uiout code removal to 5.2 cleanups.
2000-12-212000-12-20 Fernando Nasser <fnasser@redhat.com>Fernando Nasser4-12/+18
* configure.in: Rename CONFIG_LOBS to CONFIG_LIB_OBS. * Makefile.in: Ditto. * configure: Regenerate.
2000-12-212000-12-20 Fernando Nasser <fnasser@redhat.com>Fernando Nasser3-2/+7
* command.h: Register date when it was deprecated. * call-cmds.h: Ditto.
2000-12-20Fix typo on last entry.Fernando Nasser1-2/+1
2000-12-202000-12-20 Fernando Nasser <fnasser@redhat.com>Fernando Nasser7-335/+407
* Makefile.in (UIOUT_CFLAGS): New macro. CFLAGS needed for uiout code to be compiled. Defines UI_OUT. (SUBDIR_MI_CFLAGS): Defines MI_OUT, not UI_OUT. (INTERNAL_WARN_CFLAGS): Also include UIOUT_CFLAGS. * configure.in (UIOUT_CFLAGS): New configuration variable. (--with-uiout): New configuration option. Causes uiout code to be compiled, instead of the old *printf one. * configure: Regenerate. * top.c (print_gdb_version): Test for and print MI_OUT, not UI_OUT. * testsuite/lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
2000-12-202000-12-20 Kazu Hirata <kazu@hxi.com>Kazu Hirata4-52/+53
* targets.c: Fix formatting. * tekhex.c: Likewise. * trad-core.c: Likewise.
2000-12-202000-12-20 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-15/+37
* complaints.c (complain): Call warning_hook if defined, instead of writting to gdb_stderr. (clear_complaints): Do not write anything to gdb_stderr if warning_hook is defined.
2000-12-202000-12-18 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2-24/+29
* gdb.base/setvar.exp: Use double '\\' to quote curly braces in regexp. One '\' does not suffice on Linux.
2000-12-20Revert accidental checkin.Jan Hubicka1-0/+1
2000-12-20 * tc-i386.h (i386_target_format): Define even for ELFs.Jan Hubicka6-370/+1047
(QWORD_MNEM_SUFFIX): New macro. (CpuK6,CpuAthlon,CpuSledgehammer, Cpu64, CpuNo64, CpuUnknownFlags): New macros (CpuMMX,CpuSSE,Cpu3dnow, CpuUnknown): Renumber. (IgnoreSize, DefaultSize, No_?Suf, FWait, IsString, regKludge, IsPrefix, ImmExt): Renumber. (Size64, No_qSuf, NoRex64, Rex64): New macros. (Reg64, Imm32S, Imm64, Disp32S, Disp64): New macros. (Imm8, Imm8S, Imm16, Imm32, Imm1, BaseIndex, Disp8, Disp16, Disp32, InOutPortReg,ShiftCount, Control, Debug, Test, FloatReg, FloatAcc, SReg2, SReg3, Acc, JumpAbsolute, RegMMX, RegXMM, EsSeg, InvMem): Renumber. (Reg, WordReg): Add Reg64. (Imm): Add Imm32S and Imm64. (EncImm): New. (Disp): Add Disp64 and Disp32S. (AnyMem): Add Disp32S. (RegRex, RegRex64): New macros. (rex_byte): New type. * tc-i386.c (set_16bit_code_flag): Kill. (fits_in_unsigned_long, fits_in_signed_long): New functions. (reloc): New parameter "signed"; support x86_64. (set_code_flag): New. (DEFAULT_ARCH): New macro; default to "i386". (default_arch): New static variable. (struct _i386_insn): New fields Operand_PCrel; rex. (flag_16bit_code): Kill; All tests replaced to "flag_code == CODE_64BIT"; (flag_code): New enum and static variable. (use_rela_relocations): New static variable. (flag_code_names): New static variable. (cpu_arch_flags): Default to CpuUnknownFlags|CpuNo64. (cpu_arch): Add "sledgehammer"; Add CPUAthlon to Athlon and CpuK6 to K6 and Athlon. (i386_align_code): Return plain "nop" for x86_64. (mode_from_disp_size): Support Disp32S. (smallest_imm_type): Support Imm32S and Imm64. (offset_in_range): Support size of 8. (set_cpu_arch): Do not clobber to Cpu64/CpuNo64. (md_pseudo_table): Add "code64"; use set_code_flat. (md_begin): Emit sane error message on hash failure. (tc_i386_fix_adjustable): Support x86_64 relocations. (md_assemble): Support QWORD_MNEM_SUFFIX, REX registers, instructions supported on particular arch just partially, output of 64bit immediates, handling of Imm32S and Disp32S type. (i386_immedaite): Support x86_64 relocations; support 64bit constants. (i386_displacement): Likewise. (i386_index_check): Cleanup; support 64bit addresses. (md_apply_fix3): Support x86_64 relocation and rela. (md_longopts): Add "32" and "64". (md_parse_option): Add OPTION_32 and OPTION_64. (i386_target_format): Call even for ELFs; choose between elf64-x86-64 and elf32-i386. (i386_validate_fix): Refuse GOTOFF in 64bit mode. (tc_gen_reloc): Support rela relocations and x86_64. (intel_e09_1): Support QWORD. * i386.h (i386_optab): Replace "Imm" with "EncImm". (i386_regtab): Add flags field.
2000-12-202000-12-19 Kazu Hirata <kazu@hxi.com>Kazu Hirata12-110/+100
* sco5-core.c: Fix formatting. * section.c: Likewise. * sparclinux.c: Likewise. * sparclynx.c: Likewise. * sparcnetbsd.c: Likewise. * srec.c: Likewise. * stabs.c: Likewise. * stab-syms.c: Likewise. * sunos.c: Likewise. * syms.c: Likewise. * sysdep.h: Likewise.
2000-12-192000-12-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-1/+6
* sh-tdep.c (sh_print_register): Don't leave regnum 0 out of the non-pseudo-regs group.
2000-12-19Add missing support for arm-epoc-pe.Nick Clifton8-514/+587
2000-12-19* COPYING: Update to currentDJ Delorie2-3/+9
ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references to 19yy as example year in copyright notice).
2000-12-192000-12-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-1/+6
* sh-tdep.c (sh_gdbarch_init): Move setting of breakpoint_from_pc to before switch statement.
2000-12-19Fix test for StoreDouble Instruction.Nick Clifton2-12/+17
2000-12-18 * dis-asm.h (struct disassemble_info): New member "section".Hans-Peter Nilsson2-0/+13
(INIT_DISASSEMBLE_INFO_NO_ARCH): Initialize private_data member. Initialize section member.
2000-12-18Definbe extra allowable COFF section flags for ARM_PE target/Nick Clifton5-72/+83