OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years ago* generalization
Frank Ch. Eigler [Tue, 2 Jan 2001 16:34:07 +0000 (16:34 +0000)]
* generalization

2001-01-02  Richard Sandiford  <rsandifo@redhat.com>

* cgen-dis.c (hash_insn_array): Use bfd_put_bits().
(hash_insn_list): Likewise
* cgen-ibld.in (insert_1): Use bfd_put_bits() and bfd_get_bits().
(extract_1): Use bfd_get_bits().
(extract_normal): Apply sign extension to both extraction
methods.
* cgen-opc.c (cgen_get_insn_value): Use bfd_get_bits()
(cgen_put_insn_value): Use bfd_put_bits()

23 years ago2001-01-01 Fernando Nasser <fnasser@totem.toronto.redhat.com> insight-precleanup-2001-01-01
Fernando Nasser [Tue, 2 Jan 2001 00:53:42 +0000 (00:53 +0000)]
2001-01-01  Fernando Nasser  <fnasser@totem.toronto.redhat.com>

* library/ChangeLog-2000: New file. Entries dated 2000 moved here
        from library/ChangeLog.
        * library/ChangeLog: Removed.
        * generic/ChangeLog-2000: New file. Entries dated 2000 moved here
        from library/ChangeLog.
        * generic/ChangeLog: Removed.

23 years ago2001-01-01 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 1 Jan 2001 21:37:35 +0000 (21:37 +0000)]
2001-01-01  Kazu Hirata  <kazu@hxi.com>

* reloc.c: Fix formatting.
* riscix.c: Likewise.
* rs6000-core.c: Likewise.
* xcoff-target.h: Likewise.

23 years ago * configure.in: Add support for x86_64 and x86_64-*-linux-gnu*
Jan Hubicka [Sat, 30 Dec 2000 18:05:10 +0000 (18:05 +0000)]
* configure.in: Add support for x86_64 and x86_64-*-linux-gnu*
* NEWS: Add x86_64.

* i386.h (i386_optab): Add "rex*" instructions;
add swapgs; disable jmp/call far direct instructions for
64bit mode; add syscall and sysret; disable registers for 0xc6
template.  Add 'q' suffixes to extendable instructions, disable
obsoletted instructions, add new sign/zero extension ones.
(i386_regtab): Add extended registers.
(*Suf): Add No_qSuf.
(q_Suf, wlq_Suf, bwlq_Suf): New.

23 years ago* fnmatch.c: Make the note about the origins of this file more
DJ Delorie [Fri, 29 Dec 2000 20:16:02 +0000 (20:16 +0000)]
* 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.

23 years ago * elfcode.h (elf_object_p): Also restore the bfd mach field on
Hans-Peter Nilsson [Fri, 29 Dec 2000 05:44:51 +0000 (05:44 +0000)]
* elfcode.h (elf_object_p): Also restore the bfd mach field on
error, by calling bfd_default_set_arch_mach with incoming
values.

23 years ago* error msg tweak
Frank Ch. Eigler [Thu, 28 Dec 2000 19:53:54 +0000 (19:53 +0000)]
* 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.

23 years agoFix debugging programs statically linked against the thread library.
Mark Kettenis [Wed, 27 Dec 2000 21:37:57 +0000 (21:37 +0000)]
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.

23 years ago* Make-common.in (sim-io.o): Depend on targ-vals.h.
Alexandre Oliva [Wed, 27 Dec 2000 17:47:20 +0000 (17:47 +0000)]
* Make-common.in (sim-io.o): Depend on targ-vals.h.

23 years agoAdded Orjan Friberg to Write After Approval list.
Orjan Friberg [Wed, 27 Dec 2000 11:14:12 +0000 (11:14 +0000)]
Added Orjan Friberg to Write After Approval list.

23 years ago* bsearch.c: New file.
DJ Delorie [Tue, 26 Dec 2000 22:19:44 +0000 (22:19 +0000)]
* bsearch.c: New file.
* configure.in (funcs): Add bsearch.
(AC_CHECK_FUNCS): Likewise.
* configure, config.in: Regenerate.

23 years ago2000-12-26 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 26 Dec 2000 19:50:50 +0000 (19:50 +0000)]
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.

23 years agoSynchronise with master FSF GCC sources
Nick Clifton [Tue, 26 Dec 2000 18:17:51 +0000 (18:17 +0000)]
Synchronise with master FSF GCC sources

23 years ago* archive.c (coff_write_armap): Don't write more than symbol_count
Alexandre Oliva [Mon, 25 Dec 2000 21:41:20 +0000 (21:41 +0000)]
* archive.c (coff_write_armap): Don't write more than symbol_count
`archive_member_file_ptr's.

23 years ago2000-12-25 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 25 Dec 2000 14:42:42 +0000 (14:42 +0000)]
2000-12-25  Kazu Hirata  <kazu@hxi.com>

* vms-tir.c: Fix formatting.

23 years agoGDB version and refcard copyright fixed.
Eli Zaretskii [Mon, 25 Dec 2000 09:10:46 +0000 (09:10 +0000)]
GDB version and refcard copyright fixed.

23 years ago2000-12-23 Ben Elliston <bje@redhat.com>
Ben Elliston [Sat, 23 Dec 2000 21:52:14 +0000 (21:52 +0000)]
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".

23 years ago2000-12-23 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Sat, 23 Dec 2000 16:48:10 +0000 (16:48 +0000)]
2000-12-23  Kazu Hirata  <kazu@hxi.com>

* vms.c: Fix formatting.
* vms.h: Likewise.

23 years ago2000-12-15 Ben Elliston <bje@redhat.com>
Ben Elliston [Sat, 23 Dec 2000 11:51:04 +0000 (11:51 +0000)]
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 ().

23 years ago* solib.c (solib_open): If path is relative, look for it
Mark Kettenis [Sat, 23 Dec 2000 00:27:20 +0000 (00:27 +0000)]
* solib.c (solib_open): If path is relative, look for it
literally.  This matches the behaviour of the GNU dynamic linker
more closely.

23 years ago2000-12-13 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Fri, 22 Dec 2000 15:33:06 +0000 (15:33 +0000)]
2000-12-13  Fernando Nasser  <fnasser@redhat.com>

        * variables.tcl (constructor): Use the  file_changed_hook to remove
        all variables if the exec file changes.  This prevents the Watch
        Window to dump core because the "types" are not valid anymore.

23 years ago2000-12-22 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Fri, 22 Dec 2000 15:03:10 +0000 (15:03 +0000)]
2000-12-22  Fernando Nasser  <fnasser@redhat.com>

        * README: Suggest building in an empty directory.

23 years ago2000-12-21 Michael Snyder <msnyder@mvstp600e.cygnus.com>
Michael Snyder [Fri, 22 Dec 2000 01:49:46 +0000 (01:49 +0000)]
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.

23 years ago* i386-tdep.c: Add missing ')' in comment.
Mark Kettenis [Thu, 21 Dec 2000 20:52:59 +0000 (20:52 +0000)]
* 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.

23 years ago* i386-linux-nat.c (store_fpxregs): Add code to detect support for
Mark Kettenis [Thu, 21 Dec 2000 20:18:45 +0000 (20:18 +0000)]
* i386-linux-nat.c (store_fpxregs): Add code to detect support for
the PTRACE_GETFPXREGS request, and return zero if it's not.

23 years agoFix for compiling under Solaris 2.8
Nick Clifton [Thu, 21 Dec 2000 18:43:33 +0000 (18:43 +0000)]
Fix for compiling under Solaris 2.8

23 years agoFixes to allow sources to compile under Solaris 2.8
Nick Clifton [Thu, 21 Dec 2000 18:40:21 +0000 (18:40 +0000)]
Fixes to allow sources to compile under Solaris 2.8

23 years agoAdd bfd_get_bits() and bfd_put_bits().
Nick Clifton [Thu, 21 Dec 2000 18:20:04 +0000 (18:20 +0000)]
Add bfd_get_bits() and bfd_put_bits().

23 years ago2000-12-21 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Thu, 21 Dec 2000 16:28:28 +0000 (16:28 +0000)]
2000-12-21  Fernando Nasser  <fnasser@redhat.com>

        * TODO: Add pre-uiout code removal to 5.2 cleanups.

23 years ago2000-12-20 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Thu, 21 Dec 2000 16:16:17 +0000 (16:16 +0000)]
2000-12-20  Fernando Nasser  <fnasser@redhat.com>

        * configure.in: Rename CONFIG_LOBS to CONFIG_LIB_OBS.
        * Makefile.in: Ditto.
        * configure: Regenerate.

23 years ago2000-12-20 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Thu, 21 Dec 2000 16:08:52 +0000 (16:08 +0000)]
2000-12-20  Fernando Nasser  <fnasser@redhat.com>

        * command.h: Register date when it was deprecated.
        * call-cmds.h: Ditto.

23 years agoFix typo on last entry.
Fernando Nasser [Wed, 20 Dec 2000 21:26:14 +0000 (21:26 +0000)]
Fix typo on last entry.

23 years ago2000-12-20 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Wed, 20 Dec 2000 21:24:28 +0000 (21:24 +0000)]
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.

23 years ago2000-12-20 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 20 Dec 2000 19:53:11 +0000 (19:53 +0000)]
2000-12-20  Kazu Hirata  <kazu@hxi.com>

* targets.c: Fix formatting.
* tekhex.c: Likewise.
* trad-core.c: Likewise.

23 years ago2000-12-20 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Wed, 20 Dec 2000 17:32:17 +0000 (17:32 +0000)]
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.

23 years ago2000-12-18 Michael Snyder <msnyder@mvstp600e.cygnus.com>
Michael Snyder [Wed, 20 Dec 2000 16:29:27 +0000 (16:29 +0000)]
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.

23 years ago * tc-i386.h (i386_target_format): Define even for ELFs.
Jan Hubicka [Wed, 20 Dec 2000 13:24:13 +0000 (13:24 +0000)]
* tc-i386.h (i386_target_format): Define even for ELFs.
(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.

23 years ago2000-12-19 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 20 Dec 2000 00:21:57 +0000 (00:21 +0000)]
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.

23 years ago2000-12-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Tue, 19 Dec 2000 23:20:45 +0000 (23:20 +0000)]
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.

23 years ago* COPYING: Update to current
DJ Delorie [Tue, 19 Dec 2000 22:01:20 +0000 (22:01 +0000)]
* COPYING: Update to current
ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
to 19yy as example year in copyright notice).

23 years ago2000-12-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Tue, 19 Dec 2000 15:41:07 +0000 (15:41 +0000)]
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.

23 years agoFix test for StoreDouble Instruction.
Nick Clifton [Tue, 19 Dec 2000 00:58:04 +0000 (00:58 +0000)]
Fix test for StoreDouble Instruction.

23 years ago * dis-asm.h (struct disassemble_info): New member "section".
Hans-Peter Nilsson [Mon, 18 Dec 2000 23:19:55 +0000 (23:19 +0000)]
* dis-asm.h (struct disassemble_info): New member "section".
(INIT_DISASSEMBLE_INFO_NO_ARCH): Initialize private_data member.
Initialize section member.

23 years agoDefinbe extra allowable COFF section flags for ARM_PE target/
Nick Clifton [Mon, 18 Dec 2000 20:50:41 +0000 (20:50 +0000)]
Definbe extra allowable COFF section flags for ARM_PE target/

23 years agoAdd default case to file_format switch.
Nick Clifton [Mon, 18 Dec 2000 19:03:30 +0000 (19:03 +0000)]
Add default case to file_format switch.

23 years ago2000-12-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 18 Dec 2000 04:36:35 +0000 (04:36 +0000)]
2000-12-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * sh-tdep.c (sh_gdbarch_init): Initialize do_registers_info.

        * config/sh/tm-sh.h (DO_REGISTERS_INFO): Remove macro. Use
        multiarch version instead.

23 years agoFix date of last commit.
Elena Zannoni [Mon, 18 Dec 2000 04:18:18 +0000 (04:18 +0000)]
Fix date of last commit.

23 years ago2000-12-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 18 Dec 2000 04:15:18 +0000 (04:15 +0000)]
2000-12-15  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * config/sh/tm-sh.h: Don't remove SR_REGNUM from enum.

23 years agofix formatting
DJ Delorie [Sun, 17 Dec 2000 03:09:45 +0000 (03:09 +0000)]
fix formatting

23 years ago* safe-ctype.h: Make code work on all targets and not just on
DJ Delorie [Sun, 17 Dec 2000 03:09:01 +0000 (03:09 +0000)]
* safe-ctype.h: Make code work on all targets and not just on
targets where a char is 8 bits.

23 years ago* safe-ctype.c: #include "ansidecl.h".
DJ Delorie [Sun, 17 Dec 2000 03:07:49 +0000 (03:07 +0000)]
* safe-ctype.c: #include "ansidecl.h".
* strtod.c: Likewise.
* strtoul.c: Include safe-ctype.h, not ctype.h.

23 years ago* i386gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
Andrew Cagney [Sun, 17 Dec 2000 00:35:58 +0000 (00:35 +0000)]
* i386gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
(gnu_store_registers): Replace assert with gdb_assert.

23 years agoRegenerate files
Nick Clifton [Sat, 16 Dec 2000 22:01:44 +0000 (22:01 +0000)]
Regenerate files

23 years ago2000-12-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Fri, 15 Dec 2000 21:44:35 +0000 (21:44 +0000)]
2000-12-15  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* sh-tdep.c (sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
  sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): SR_REGNUM is
  now part of gdbarch_tdep structure.
(sh_gdbarch_init): Initialize SR_REGNUM.

* config/sh/tm-sh.h (struct gdbarch_tdep): Add field SR_REGNUM.

23 years agowhoops, remove conflict indicators!
Elena Zannoni [Fri, 15 Dec 2000 20:56:42 +0000 (20:56 +0000)]
whoops, remove conflict indicators!

23 years ago2000-12-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Fri, 15 Dec 2000 20:54:24 +0000 (20:54 +0000)]
2000-12-15  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* sh-tdep.c (sh_do_pseudo_register): Indent properly. Call
  do_dr_register_info() only for DR registers.
(sh_sh4_register_name): Add comments with numbers.
(_initialize_sh_tdep): Move assignment to disassemble printing
  function from here...
(sh_gdbarch_init):...to here. Move some more general settings to
  before the architecture is recognized.

23 years agoMove to the start of the program headers before attempting to read them.
Nick Clifton [Fri, 15 Dec 2000 18:53:04 +0000 (18:53 +0000)]
Move to the start of the program headers before attempting to read them.

23 years agoMulti-arch REGISTER_BYTES_OK.
Andrew Cagney [Fri, 15 Dec 2000 12:33:08 +0000 (12:33 +0000)]
Multi-arch REGISTER_BYTES_OK.

23 years agovasprintf() -> xvasprintf()
Andrew Cagney [Fri, 15 Dec 2000 12:04:03 +0000 (12:04 +0000)]
vasprintf() -> xvasprintf()

23 years agoRemoved (tui and mi) directory prefixes from ChangeLog comments that I
Kevin Buettner [Fri, 15 Dec 2000 03:00:38 +0000 (03:00 +0000)]
Removed (tui and mi) directory prefixes from ChangeLog comments that I
added in last commit.

23 years agoPut mi and tui comments for free -> xfree change in proper ChangeLogs.
Kevin Buettner [Fri, 15 Dec 2000 02:56:42 +0000 (02:56 +0000)]
Put mi and tui comments for free -> xfree change in proper ChangeLogs.

23 years agoApplied solib-svr4.c changes for NetBSD from Matthew Green.
Kevin Buettner [Fri, 15 Dec 2000 02:04:59 +0000 (02:04 +0000)]
Applied solib-svr4.c changes for NetBSD from Matthew Green.

23 years agofree -> xfree changes
Kevin Buettner [Fri, 15 Dec 2000 01:57:51 +0000 (01:57 +0000)]
free -> xfree changes

23 years agoReplace free() with xfree().
Kevin Buettner [Fri, 15 Dec 2000 01:01:51 +0000 (01:01 +0000)]
Replace free() with xfree().

23 years ago2000-12-14 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 14 Dec 2000 21:38:31 +0000 (21:38 +0000)]
2000-12-14  Kazu Hirata  <kazu@hxi.com>

* peigen.c: Fix formatting.
* som.c: Likewise.
* som.h: Likewise.

23 years ago* configure.tgt (hppa*-*-bsd*, hppa*-*-osf*, m68*-*-sunos4*,
J.T. Conklin [Thu, 14 Dec 2000 20:15:45 +0000 (20:15 +0000)]
* configure.tgt (hppa*-*-bsd*, hppa*-*-osf*, m68*-*-sunos4*,
rs6000-*-lynxos*, sparc-*-sunos4*): Add gdbserver to configdirs.

23 years agoAdd myself as a "FreeBSD native & host" maintainer.
David O'Brien [Thu, 14 Dec 2000 16:50:20 +0000 (16:50 +0000)]
Add myself as a "FreeBSD native & host" maintainer.

Approved by:  Andrew Cagney <ac131313@cygnus.com>
              Message-ID: <3A383037.96AB4C62@cygnus.com>

23 years ago2000-12-14 Fernando Nasser <fnasser@totem.toronto.redhat.com>
Fernando Nasser [Thu, 14 Dec 2000 15:09:05 +0000 (15:09 +0000)]
2000-12-14  Fernando Nasser  <fnasser@totem.toronto.redhat.com>

* library/ChangeLog-1999: New file. Entries dated 1999 moved here
from library/ChangeLog.
* library/ChangeLog-1998: New file.  Similar change for 1998.
* library/ChangeLog-1997: New file.  Similar change for 1997.
* library/ChangeLog: Removed entries previous to 2000.
* generic/ChangeLog-1999: New file. Entries dated 1999 moved here
from library/ChangeLog.
* generic/ChangeLog-1998: New file.  Similar change for 1998.
* generic/ChangeLog-1997: New file.  Similar change for 1997.
* generic/ChangeLog: Removed entries previous to 2000.

23 years ago2000-12-13 Michael Chastain <chastain@redhat.com>
Michael Chastain [Thu, 14 Dec 2000 06:17:05 +0000 (06:17 +0000)]
2000-12-13  Michael Chastain  <chastain@redhat.com>

* MAINTAINERS: Add Michael Chastain to Write After Approval list.

23 years agoAdded Michael Chastain with Write After Approval access.
Michael Chastain [Thu, 14 Dec 2000 06:14:57 +0000 (06:14 +0000)]
Added Michael Chastain with Write After Approval access.

23 years ago2000-12-13 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Wed, 13 Dec 2000 22:59:03 +0000 (22:59 +0000)]
2000-12-13  Fernando Nasser  <fnasser@redhat.com>

* session.tcl (session_save): Save target name.
(session_load): Restore target name.

23 years ago2000-12-13 Ben Elliston <bje@redhat.com>
Ben Elliston [Wed, 13 Dec 2000 22:55:54 +0000 (22:55 +0000)]
2000-12-13  Ben Elliston  <bje@redhat.com>

* cgen.sh: Set prefix/PREFIX (append ISA if applicable). Factor
sed expressions into $sedscript, substituting @prefix@/@PREFIX@.
(defs): New action.

23 years ago2000-12-13 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 13 Dec 2000 21:43:57 +0000 (21:43 +0000)]
2000-12-13  Kazu Hirata  <kazu@hxi.com>

* peigen.c: Fix formatting.

23 years ago* error message improvements for cgen assemblers
Frank Ch. Eigler [Wed, 13 Dec 2000 18:55:02 +0000 (18:55 +0000)]
* error message improvements for cgen assemblers

2000-12-12  Frank Ch. Eigler  <fche@redhat.com>

        * cgen-asm.in (@arch@_cgen_assemble_insn): Prefer printing insert-time
        error messages over later parse-time ones.

23 years agoEliminate ia64 compiler warnings. Fix ia64 gas testsuite again.
Jim Wilson [Tue, 12 Dec 2000 22:56:36 +0000 (22:56 +0000)]
Eliminate ia64 compiler warnings.  Fix ia64 gas testsuite again.
*  elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *.
* config/tc-ia64.h (ia64_init): Add prototype.
* gas/ia64/dv-imply.d, gas/ia64/dv-mutex.d, gas/ia64/dv-safe.d,
gas/ia64/dv-srlz.d, gas/ia64/opc-m.d: Update.
* ia64-dis.c (print_insn_ia64): Cast away const on ia64_free_opcode
argument.
* ia64_gen.c (insert_deplist): Cast sizeof result to int.
(print_dependency_table): Print NULL if semantics field not set.
(insert_opcode_dependencies): Mark cmp parameter as unused.
(print_main_table): Use fprintf_vma to print long long fields.
(main): Mark argv paramter as unused.  Convert to old style definition.
* ia64-opc.c (ia64_find_dependency): Cast sizeof result to int.
* ia64-asmtab.c: Regnerate.

23 years agoIgnore sections with zero size.
Nick Clifton [Tue, 12 Dec 2000 22:54:39 +0000 (22:54 +0000)]
Ignore sections with zero size.

23 years ago2000-12-12 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 12 Dec 2000 21:25:54 +0000 (21:25 +0000)]
2000-12-12  Kazu Hirata  <kazu@hxi.com>

* m68klinux.c: Fix formatting.
* m68knetbsd.c: Likewise.
* mipsbsd.c: Likewise.
* netbsd-core.c: Likewise.
* netbsd.h: Likewise.
* newsos3.c: Likewise.
* nlm32-alpha.c: Likewise.
* nlm32-i386.c: Likewise.
* nlm32-ppc.c: Likewise.
* nlm32-sparc.c: Likewise.
* nlmcode.h: Likewise.
* nlmswap.h: Likewise.
* nlm-target.h: Likewise.
* ns32knetbsd.c: Likewise.

23 years agoIn sim/common:
Geoffrey Keating [Tue, 12 Dec 2000 20:54:13 +0000 (20:54 +0000)]
In sim/common:
* sim-endian.h: Don't have parameters on macro definitions which
are simply renaming functions, to permit use of XCONCAT2 in both
the macro name and the arguments in a use of such a definition.
In sim/ppc:
* sim-endian.h: Don't have parameters on macro definitions which
are simply renaming functions, to permit use of XCONCAT2 in both
the macro name and the arguments in a use of such a definition.

23 years agoAdd link option to allow undefiedn symbols in shared libraries
Nick Clifton [Tue, 12 Dec 2000 20:53:02 +0000 (20:53 +0000)]
Add link option to allow undefiedn symbols in shared libraries

23 years ago* configure.in: Disable language-specific target libraries for newlib-1_9_0
Alexandre Oliva [Tue, 12 Dec 2000 20:33:05 +0000 (20:33 +0000)]
* configure.in: Disable language-specific target libraries for
languages that aren't enabled.

23 years agoFix Formatting.
Nick Clifton [Tue, 12 Dec 2000 19:25:07 +0000 (19:25 +0000)]
Fix Formatting.

23 years agoFix formatting.
Nick Clifton [Tue, 12 Dec 2000 19:23:16 +0000 (19:23 +0000)]
Fix formatting.

23 years agoUpdate copyright dates
Nick Clifton [Tue, 12 Dec 2000 19:19:57 +0000 (19:19 +0000)]
Update copyright dates

23 years ago2000-12-11 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Mon, 11 Dec 2000 22:36:26 +0000 (22:36 +0000)]
2000-12-11  Fernando Nasser  <fnasser@redhat.com>

        * Makefile.in (CONFIG_LOBS): New macro.  Configured to the files
        that must be added to the gdblib itself.
        (DEPFILES): Use CONFIG_LOBS, not CONFIG_OBS.
        (INIT_FILES): Include CONFIG_OBS.
        (gdb$(EXEEXT)): Depend on CONFIG_OBS and link with it.
        (kdb): Ditto.
        * configure.in (CONFIG_LOBS): New variable. Object files that must
        be added to gdblib for the specific configuration.
        * configure: Regenerate.

23 years ago2000-12-11 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Mon, 11 Dec 2000 21:34:27 +0000 (21:34 +0000)]
2000-12-11  Michael Snyder  <msnyder@cleaver.cygnus.com>

* sh-tdep.c (sh_extract_struct_value_address): Protoize.

2000-12-11  Michael Snyder  <msnyder@mvstp600e.cygnus.com>

* blockframe.c (get_prev_frame): Add missing paren omitted in
last check-in.

23 years ago2000-12-11 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Mon, 11 Dec 2000 21:11:16 +0000 (21:11 +0000)]
2000-12-11  Fernando Nasser  <fnasser@redhat.com>

        * Makefile.in (SUBDIR_GDBTK_OBS, SUBDIR_GDBTK_SRCS,
        SUBDIR_GDBTK_DEPS, SUBDIR_GDBTK_INITS, SUBDIR_GDBTK_LDFLAGS,
        SUBDIR_GDBTK_CFLAGS): New macros.  For gdbtk subdir.
        * configure.in: Fix typo.  It is CONFIG_OBS not CONFIG_OJS.
        Use the SUBDIR_GDBTK_* macros instead of hard coded file names.
        * configure: Regenerate.

23 years ago2000-12-11 Michael Snyder <msnyder@mvstp600e.cygnus.com>
Michael Snyder [Mon, 11 Dec 2000 21:10:15 +0000 (21:10 +0000)]
2000-12-11  Michael Snyder  <msnyder@mvstp600e.cygnus.com>

        * blockframe.c (get_prev_frame): Zero all fields of prev by
        default using memset (instead of one at a time).

23 years ago2000-12-11 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Mon, 11 Dec 2000 21:04:04 +0000 (21:04 +0000)]
2000-12-11  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * sh-tdep.c (sh_extract_struct_value_address): For consistancy,
        change decl from "CORE_ADDR static" to "static CORE_ADDR".

23 years ago2000-12-11 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Mon, 11 Dec 2000 20:21:57 +0000 (20:21 +0000)]
2000-12-11  Fernando Nasser  <fnasser@redhat.com>

        * configure.in: Fix typos.  It is CONFIG_SRCS not CONFIG_SRS.
        * configure: Regenerate.

23 years ago2000-12-11 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Mon, 11 Dec 2000 18:59:47 +0000 (18:59 +0000)]
2000-12-11  Fernando Nasser  <fnasser@redhat.com>

        * configure.in: Fix a couple of typos in the handling of the
        enable_gdbcli option.  Make it check enableval for the result
        of AC_ARG_ENABLE.
        * configure: Regenerate.

23 years ago * managedwin.itb (ManagedWin::startup): Only open source window
Tom Tromey [Mon, 11 Dec 2000 18:40:12 +0000 (18:40 +0000)]
* managedwin.itb (ManagedWin::startup): Only open source window
if it doesn't already exist.

23 years ago * hppa.h (DT_HP_*): Define relative to OLD_DT_LOOS for hpux
Jeff Law [Mon, 11 Dec 2000 17:55:58 +0000 (17:55 +0000)]
    * hppa.h (DT_HP_*): Define relative to OLD_DT_LOOS for hpux
        compatibility.

23 years ago * tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel
Jan Hubicka [Mon, 11 Dec 2000 14:01:46 +0000 (14:01 +0000)]
* tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel
mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX
references.
(intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse
otherwise.
* tc-i386.h (DWORD_MNEM_SUFFIX): Kill.
(No_dSuf): Kill.

* i386.h (*_Suf): Remove No_dSuf.
(d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP)
Remove.
(i386_optab): Remove 'd' in the suffixes.

23 years ago2000-12-11 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 11 Dec 2000 07:14:34 +0000 (07:14 +0000)]
2000-12-11  Ben Elliston  <bje@redhat.com>

* cgen-ops.h (SUBWORDDFDI): New function.

23 years agoReplace #warning with #error
Alan Modra [Mon, 11 Dec 2000 03:43:05 +0000 (03:43 +0000)]
Replace #warning with #error

23 years agoAdd 0x91 as an FPE SWI.
Nick Clifton [Mon, 11 Dec 2000 03:08:17 +0000 (03:08 +0000)]
Add 0x91 as an FPE SWI.

23 years agoPrevent re-read of instruction from wrong address.
Nick Clifton [Sat, 9 Dec 2000 23:20:59 +0000 (23:20 +0000)]
Prevent re-read of instruction from wrong address.

23 years ago2000-12-09 Michael Chastain <chastain@redhat.com>
Michael Chastain [Sat, 9 Dec 2000 22:35:05 +0000 (22:35 +0000)]
2000-12-09  Michael Chastain  <chastain@redhat.com>

* gdb.base/break.exp (test_clear_command): Use a marker function
rather than 'main' for the test function.  Also move this
test to an execution point where the marker function names are
guaranteed to be bound to functions.  (Executing tests after a
'finish' from main runs into name conflicts with local names
in __libc_start_main).

23 years agoRegenerate fr30-dis.c
Nick Clifton [Sat, 9 Dec 2000 22:22:33 +0000 (22:22 +0000)]
Regenerate fr30-dis.c

23 years agoPass dwarf2_find_line_info as last parameter to invocation of
Nick Clifton [Sat, 9 Dec 2000 20:12:57 +0000 (20:12 +0000)]
Pass dwarf2_find_line_info as last parameter to invocation of
_bfd_dwarf2_find_nearest_line.