DJ Delorie
f65288376e
* fnmatch.c: Make the note about the origins of this file more
accurate, at least until we can sync with glibc.
* getopt.c: Ditto.
* getopt1.c: Ditto.
* md5.c: Ditto.
* obstack.c: Ditto.
26 years ago
Hans-Peter Nilsson
8108ad8e84
* doc/internals.texi (tc_conditional_pseudoop,
TC_LINKRELAX_FIXUP): Fix typos.
26 years ago
Hans-Peter Nilsson
a77a9fefcf
* elfcode.h (elf_object_p): Also restore the bfd mach field on
error, by calling bfd_default_set_arch_mach with incoming
values.
26 years ago
Nick Clifton
e4897a3288
Requre that long options starting with 'o' only accept a double dash prefix.
26 years ago
Frank Ch. Eigler
149fe25ee9
* error msg tweak
2000-12-28 Frank Ch. Eigler <fche@redhat.com>
* cgen-asm.in (parse_insn_normal): Print better error message for
instructions with missing operands.
26 years ago
Richard Henderson
799051fc87
* write.c (subsegs_finish): Fix thinko last change -- don't
"optimize" the alignment == 0 case.
26 years ago
Richard Henderson
0a9ef43907
* as.h (rs_align_test): New.
* 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.
26 years ago
Mark Kettenis
bda9cb723c
Fix debugging programs statically linked against the thread library.
* 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.
26 years ago
Alexandre Oliva
b6f6b44d62
* Make-common.in (sim-io.o): Depend on targ-vals.h.
26 years ago
Orjan Friberg
09295b5730
Added Orjan Friberg to Write After Approval list.
26 years ago
DJ Delorie
c6da642e79
* bsearch.c: New file.
* configure.in (funcs): Add bsearch.
(AC_CHECK_FUNCS): Likewise.
* configure, config.in: Regenerate.
26 years ago
Nick Clifton
1122a5fc50
Add --no-default-excludes option for PE targets
26 years ago
Kazu Hirata
558e161f24
2000-12-26 Kazu Hirata <kazu@hxi.com>
* vaxnetbsd.c: Fix formatting.
* versados.c: Likewise.
* vms-gsd.c: Likewise.
* vms-hdr.c: Likewise.
* vms-misc.c: Likewise.
26 years ago
Nick Clifton
ae7d06ad04
Synchronise with master FSF GCC sources
26 years ago
Alexandre Oliva
3c5798123f
* archive.c (coff_write_armap): Don't write more than symbol_count
`archive_member_file_ptr's.
26 years ago
Kazu Hirata
672579e99b
2000-12-25 Kazu Hirata <kazu@hxi.com>
* vms-tir.c: Fix formatting.
26 years ago
Eli Zaretskii
b157b00f4a
GDB version and refcard copyright fixed.
26 years ago
Ben Elliston
ad8707b58d
2000-12-23 Ben Elliston <bje@redhat.com>
* cgen-trace.c (trace_result): Handle 'f' type operands; output
them to the trace stream using sim_fpu_printn_fpu. Include
"sim-fpu.h".
26 years ago
Kazu Hirata
55f2d5ed30
2000-12-23 Kazu Hirata <kazu@hxi.com>
* vms.c: Fix formatting.
* vms.h: Likewise.
26 years ago
Ben Elliston
b94c096644
2000-12-15 Ben Elliston <bje@redhat.com>
* 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 ().
26 years ago
Mark Kettenis
b21f0843bf
* solib.c (solib_open): If path is relative, look for it
literally. This matches the behaviour of the GNU dynamic linker
more closely.
26 years ago
DJ Delorie
3cd4dda73e
* config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg
when we assemble the first half of a pair.
26 years ago
H.J. Lu
0a940afa28
2000-12-22 H.J. Lu <hjl@gnu.org>
* gas/i386/intel.s: Replace "nop" with ".p2align 4,0".
* gas/i386/intel.d: Updated.
26 years ago
H.J. Lu
ec56dfb4b0
2000-12-22 H.J. Lu <hjl@gnu.org>
* config/tc-i386.c (reloc): Update the macro for non-bfd
assembler.
(BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler.
26 years ago
H.J. Lu
ad1172d4c6
2000-12-22 H.J. Lu <hjl@gnu.org>
* dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER.
26 years ago
Fernando Nasser
bec71058e4
2000-12-22 Fernando Nasser <fnasser@redhat.com>
* README: Suggest building in an empty directory.
26 years ago
Michael Snyder
315f8b0e91
2000-12-21 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* 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.
26 years ago
Mark Kettenis
ef9dff19c4
* i386-tdep.c: Add missing ')' in comment.
(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.
26 years ago
Mark Kettenis
2866d30574
* i386-linux-nat.c (store_fpxregs): Add code to detect support for
the PTRACE_GETFPXREGS request, and return zero if it's not.
26 years ago
Nick Clifton
a6cff3e317
Fix for compiling under Solaris 2.8
26 years ago
Nick Clifton
23ccc829e2
Fixes to allow sources to compile under Solaris 2.8
26 years ago
Nick Clifton
8c603c85a1
Add bfd_get_bits() and bfd_put_bits().
26 years ago
Fernando Nasser
dafc8383e8
2000-12-21 Fernando Nasser <fnasser@redhat.com>
* TODO: Add pre-uiout code removal to 5.2 cleanups.
26 years ago
Fernando Nasser
66b965bb75
2000-12-20 Fernando Nasser <fnasser@redhat.com>
* configure.in: Rename CONFIG_LOBS to CONFIG_LIB_OBS.
* Makefile.in: Ditto.
* configure: Regenerate.
26 years ago
Fernando Nasser
a35736189e
2000-12-20 Fernando Nasser <fnasser@redhat.com>
* command.h: Register date when it was deprecated.
* call-cmds.h: Ditto.
26 years ago
Fernando Nasser
297dd0fd54
Fix typo on last entry.
26 years ago
Fernando Nasser
b4df4f6849
2000-12-20 Fernando Nasser <fnasser@redhat.com>
* 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.
26 years ago
Kazu Hirata
5bff4f5642
2000-12-20 Kazu Hirata <kazu@hxi.com>
* targets.c: Fix formatting.
* tekhex.c: Likewise.
* trad-core.c: Likewise.
26 years ago
Fernando Nasser
22d1504010
2000-12-20 Fernando Nasser <fnasser@redhat.com>
* 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.
26 years ago
Michael Snyder
49c890fc5e
2000-12-18 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* gdb.base/setvar.exp: Use double '\\' to quote curly braces
in regexp. One '\' does not suffice on Linux.
26 years ago
Jan Hubicka
a1059aedb2
Revert accidental checkin.
26 years ago
Jan Hubicka
3e73aa7c95
* tc-i386.h (i386_target_format): Define even for ELFs.
26 years ago
Kazu Hirata
7b82c249fa
2000-12-19 Kazu Hirata <kazu@hxi.com>
* 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.
26 years ago
Elena Zannoni
e30839fee3
2000-12-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* sh-tdep.c (sh_print_register): Don't leave regnum 0 out of the
non-pseudo-regs group.
26 years ago
Nick Clifton
a8c548cb0c
Add missing support for arm-epoc-pe.
26 years ago
DJ Delorie
a969366f78
* COPYING: Update to current
ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
to 19yy as example year in copyright notice).
26 years ago
Elena Zannoni
eaf90c5d1f
2000-12-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* sh-tdep.c (sh_gdbarch_init): Move setting of breakpoint_from_pc
to before switch statement.
26 years ago
Nick Clifton
ac1c9d3aad
Fix test for StoreDouble Instruction.
26 years ago
Hans-Peter Nilsson
ca6d9fb3f0
* dis-asm.h (struct disassemble_info): New member "section".
(INIT_DISASSEMBLE_INFO_NO_ARCH): Initialize private_data member.
Initialize section member.
26 years ago
Nick Clifton
f78c52818f
Definbe extra allowable COFF section flags for ARM_PE target/
26 years ago