binutils-gdb.git
24 years agodiscard all unexpected sections.
Nick Clifton [Tue, 14 Mar 2000 01:40:30 +0000 (01:40 +0000)]
discard all unexpected sections.

24 years agofix to match latest readelf output
Nick Clifton [Tue, 14 Mar 2000 01:27:03 +0000 (01:27 +0000)]
fix to match latest readelf output

24 years ago * coff-h8300.c (h8300_reloc16_extra_cases): Fix the sanity
Jeff Law [Mon, 13 Mar 2000 23:57:25 +0000 (23:57 +0000)]
    * coff-h8300.c (h8300_reloc16_extra_cases): Fix the sanity
        check for R_MOVL2.

24 years ago2000-03-13 Jeff Johnston <jjohnstn@cygnus.com>
Jeff Johnston [Mon, 13 Mar 2000 23:51:48 +0000 (23:51 +0000)]
2000-03-13  Jeff Johnston <jjohnstn@cygnus.com>

        * cgen-ops.h: Added TRUNCSISI.

24 years ago2000-03-13 James Ingham <jingham@leda.cygnus.com>
Jim Ingham [Mon, 13 Mar 2000 21:51:46 +0000 (21:51 +0000)]
2000-03-13  James Ingham  <jingham@leda.cygnus.com>

Add support for a variable object that tries to evaluate itself in
the currently selected frame, rather than in a fixed frame.

* wrapper.c,h (gdb_parse_exp_1): Added a wrapper for
  gdb_parse_exp_1.
* varobj.h: Added USE_CURRENT_FRAME to varobj_type & changed def'n
of varobj_create.
* varobj.c (varobj_list): Return type indicates whether the
variable's type has changed (for current frame variables).
(varobj_update): Handle the case where the variable's type has
changed.
(delete_variable_1): Allow for deletion of variables that have not
been installed yet.
(new_root_variable): Initialize use_selected_frame variable.
(value_of_root): This is where most of the work to handle "current
frame" variables was added.  Most of the complexity involves
handling the case where the type of the variable has changed.
(varobj_create): Add a "type" argument, to tell if the
variable is one of these "current frame" variables.  Also protect
call to parse_exp_1 from long jumping.

* mi-var-block.exp: The error report from varobj_create changed
since I am now trapping parse_exp_1 errors.  Change the tests to
match the new error message.
* mi-var-child.exp: Ditto.
* mi-var-cmd.exp: Ditto.

* lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
the library directories.

* gdbtk-varobj.c (variable_create): Pass the correct
"how_specified" flag to the varobj_create routine.

24 years ago * expr.c (operand) [case 'f']: When testing if '0f' can start a
Hans-Peter Nilsson [Mon, 13 Mar 2000 21:20:15 +0000 (21:20 +0000)]
* expr.c (operand) [case 'f']: When testing if '0f' can start a
floating-point-number, make sure 'f' is in FLT_CHARS.

24 years ago * read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition.
Hans-Peter Nilsson [Mon, 13 Mar 2000 20:46:07 +0000 (20:46 +0000)]
* read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition.
(s_lcomm_internal): Use it.
* doc/internals.texi (CPU backend): Document it.
* config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3
bytes.

24 years ago * go32-nat.c (struct env387): Remove declaration.
Eli Zaretskii [Mon, 13 Mar 2000 15:59:02 +0000 (15:59 +0000)]
* go32-nat.c (struct env387): Remove declaration.
(print_387_status, i386_go32_float_info): Remove redundant
functions.
(regno_mapping, sig_map, excepn_map): Add braces around inner
initializers.
(many functions): Use ATTRIBUTE_UNUSED to shut up the compiler;
fix code which mixed signed with unsigned.
(go32_resume): Use TARGET_SIGNAL_LAST instead of -1.
(go32_wait): Initialize INT3_addr.
(go32_fetch_registers): Extend all FP registers that are shorter
than 4 bytes to 32 bits.  Support 32 standard FP registers defined
on config/i386/tm-i386.h.
(store_register): Support 32 FP registers.
(go32_create_inferior): Don't crash if handed a NULL pointer
instead of exec file name.
(ignore): Remove unused function.
(go32_insert_hw_breakpoint): Remove unused variables.
(init_go32_ops): Set value of processing_gcc_compilation to 2.

24 years agoFrom Daniel Berlin:
Andrew Cagney [Mon, 13 Mar 2000 10:01:23 +0000 (10:01 +0000)]
From Daniel Berlin:
Fix C++ overloading, add support for seeing through references.

24 years agoRevert: ``Fix C++ overload support, see through references''.
Andrew Cagney [Mon, 13 Mar 2000 07:30:00 +0000 (07:30 +0000)]
Revert: ``Fix C++ overload support, see through references''.
Change also contained numerous white-space changes.

24 years ago2000-03-11 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Sun, 12 Mar 2000 21:16:09 +0000 (21:16 +0000)]
2000-03-11  Mark Kettenis  <kettenis@gnu.org>

* gnu-nat.c: Fix the formatting where indent misinterpreted `&' as
a binary operator.
(gnu_attach): Change error message for missing
argument to be identical to the corresponding message in
`inftarg.c'.  This makes the testsuite happy.

24 years agoReturn bfd_error_wrong_format on a format mismatch.
Alan Modra [Sat, 11 Mar 2000 23:09:42 +0000 (23:09 +0000)]
Return bfd_error_wrong_format on a format mismatch.

24 years ago* elf32-mips.c (_bfd_mips_elf_relocate_section): Do proper
Geoffrey Keating [Sat, 11 Mar 2000 02:23:10 +0000 (02:23 +0000)]
* elf32-mips.c (_bfd_mips_elf_relocate_section): Do proper
sign-extension and big-endian compensation for
R_MIPS_64 even in ld -r.

24 years agoIn bfd/:
Geoffrey Keating [Sat, 11 Mar 2000 02:16:25 +0000 (02:16 +0000)]
In bfd/:
* elf32-mips.c (mips_elf_next_relocation): Rename from
mips_elf_next_lo16_relocation, and generalize to look
for any relocation type.
(elf_mips_howto_table): Make R_MIPS_PC16 pcrel_offset.
(elf_mips_gnu_rel_hi16): Howto for R_MIPS_GNU_REL_HI16.
(elf_mips_gnu_rel_lo16): Howto for R_MIPS_GNU_REL_LO16.
(elf_mips_gnu_rel16_s2): Howto for R_MIPS_GNU_REL16_S2.
(elf_mips_gnu_pcrel64): Howto for R_MIPS_PC64.
(elf_mips_gnu_pcrel32): Howto for R_MIPS_PC32.
(bfd_elf32_bfd_reloc_type_lookup): Add new relocs.
(mips_rtype_to_howto): Likewise.
(mips_elf_calculate_relocation): Handle new relocs.
(_bfd_mips_elf_relocate_section): REL_HI16/REL_LO16 relocs
are paired.  The addend for R_MIPS_GNU_REL16_S2
is shifted right two bits.
In gas/:
* config/tc-mips.c (mips_ip): Don't put stuff in .rodata
when embedded-pic.

* config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic
  implementation doesn't have special handling for switch
  statements.
(macro_build): Allow for code in sections other than .text.
(macro): Likewise.
(mips_ip): Likewise.
(md_apply_fix): Do pc-relative relocation madness for MIPS ELF.
   Don't perform relocs if we will be outputting them.
(tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative
  relocations.  Allow BFD_RELOC_16_PCREL_S2 relocs when
  embedded-pic.
In gas/testsuite/:
* gas/mips/empic.d: New file.
* gas/mips/empic.s: New file.
* gas/mips/mips16-e.d: New file.
* gas/mips/mips16-e.s: New file.
* gas/mips/mips16-f.d: New file.
* gas/mips/mips16-f.s: New file.
* gas/mips/mips.exp: Add empic, mips16-e.  Add mips16-f as an
expected failure.
In include/elf:
* mips.h: Add R_MIPS_GNU_REL_HI16, R_MIPS_GNU_REL_LO16,
  R_MIPS_GNU_REL16_S2, R_MIPS_PC64 and R_MIPS_PC32 relocation
  numbers.

24 years agoFix typos in comments, and restore comment formatting destroyed by emacs at
Alan Modra [Sat, 11 Mar 2000 01:16:52 +0000 (01:16 +0000)]
Fix typos in comments, and restore comment formatting destroyed by emacs at
some stage.

24 years ago2000-03-11 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Sat, 11 Mar 2000 00:34:50 +0000 (00:34 +0000)]
2000-03-11  Mark Kettenis  <kettenis@gnu.org>

* i386gnu-nat.c (gnu_store_registers): Make sure the T bit in the
%eflags isn't modified.  This fixes a bug where every call to a
function in the program beyond the first call would fail.

24 years ago2000-03-10 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 10 Mar 2000 21:21:16 +0000 (21:21 +0000)]
2000-03-10  H.J. Lu  <hjl@gnu.org>

* Makefile.in (all-gcc): Backed out the last change.

24 years ago2000-03-10 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 10 Mar 2000 20:50:45 +0000 (20:50 +0000)]
2000-03-10  H.J. Lu  <hjl@gnu.org>

* Makefile.in (all-gcc): Run ld/ld-new if necessary.

24 years agoFix C++ overload support, see through references
Daniel Berlin [Fri, 10 Mar 2000 08:02:58 +0000 (08:02 +0000)]
Fix C++ overload support, see through references

24 years agoDevolve area maintaineship responsibilities.
Andrew Cagney [Fri, 10 Mar 2000 00:52:40 +0000 (00:52 +0000)]
Devolve area maintaineship responsibilities.

24 years ago2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Thu, 9 Mar 2000 22:58:49 +0000 (22:58 +0000)]
2000-03-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * minsyms.c (prim_record_minimal_symbol_and_info): Add comment.

24 years ago * config/tc-m32r.c (m32r_fix_adjustable): Look up the
Catherine Moore [Thu, 9 Mar 2000 22:07:28 +0000 (22:07 +0000)]
    * config/tc-m32r.c (m32r_fix_adjustable):  Look up the
        relocation type based on the entry in the fixup structure.

24 years ago2000-02-25 Scott Bambrough <scottb@netwinder.org>
Scott Bambrough [Thu, 9 Mar 2000 21:55:40 +0000 (21:55 +0000)]
2000-02-25  Scott Bambrough <scottb@netwinder.org>

* gdb.base/long_long.exp: Correct test suite failure when printing
a long long value as a double on ARM platforms.

ARM doubles use a hybrid endian format.  It is not strictly little or big
endian.  It is little endian with the words swapped.

24 years ago2000-03-09 Andreas Jaeger <aj@suse.de>
H.J. Lu [Thu, 9 Mar 2000 16:41:21 +0000 (16:41 +0000)]
2000-03-09  Andreas Jaeger  <aj@suse.de>

* Makefile.am (check-DEJAGNU): Also unset LANG.
* Makefile.in: Rebuild.

24 years agoAnthony Green is Java maintainer.
Andrew Cagney [Thu, 9 Mar 2000 03:32:09 +0000 (03:32 +0000)]
Anthony Green is Java maintainer.

24 years ago2000-03-08 H.J. Lu (hjl@gnu.org)
H.J. Lu [Thu, 9 Mar 2000 03:14:44 +0000 (03:14 +0000)]
2000-03-08  H.J. Lu  (hjl@gnu.org)

* Makefile.am (install-exec-tooldir): Depend on
install-exec-bindir for parallel make.
* Makefile.in: Regenerated.

24 years ago2000-03-08 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 9 Mar 2000 03:13:21 +0000 (03:13 +0000)]
2000-03-08  H.J. Lu  <hjl@gnu.org>

* Makefile.am (install-exec-local): Depend on
install-binPROGRAMS for parallel make.
* Makefile.in: Regenerated.

24 years ago2000-03-08 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Wed, 8 Mar 2000 22:34:19 +0000 (22:34 +0000)]
2000-03-08  Mark Kettenis  <kettenis@gnu.org>

* i386-tdep.c (i386_linux_saved_pc_after_call): New function.
* config/i386/tm-linux.h (SAVED_PC_AFTER_CALL): Define to call
i386_linux_saved_pc_after_call.

24 years ago* extension
Frank Ch. Eigler [Wed, 8 Mar 2000 21:09:41 +0000 (21:09 +0000)]
* extension

2000-03-08  Dave Brolley  <brolley@redhat.com>

* cgen-par.h (cgen_write_queue_kind): Add CGEN_FN_SF_WRITE.
(CGEN_WRITE_QUEUE_ELEMENT): Add fn_sf_write.
(sim_queue_fn_si_write): Last argument is has type USI.
(sim_queue_fn_sf_write): New function.
* cgen-par.c (sim_queue_fn_si_write): Declare 'value' as USI.
(sim_queue_fn_sf_write): New function.
(cgen_write_queue_element_execute): Handle CGEN_FN_SF_WRITE.

24 years ago * reloc.c (reloc_howto_struct): Fix partial_inplace comment.
Doug Evans [Tue, 7 Mar 2000 21:04:31 +0000 (21:04 +0000)]
* reloc.c (reloc_howto_struct): Fix partial_inplace comment.
* bfd-in2.h: Rebuild.

24 years ago* build fix
Frank Ch. Eigler [Tue, 7 Mar 2000 15:32:49 +0000 (15:32 +0000)]
* build fix

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

From John Dallaway  <jld@redhat.co.uk>:
* Makefile.in (install-sis): Add $(EXEEXT) for Windows host.

24 years agoFrom Tom Tromey <tromey@cygnus.com> and Keith Seitz <?>:
Jim Blandy [Tue, 7 Mar 2000 04:33:52 +0000 (04:33 +0000)]
From Tom Tromey <tromey@cygnus.com> and Keith Seitz <?>:

* minsyms.c: #include <ctype.h>, for msymbol_hash_iw.
(compact_minimal_symbols): Added `objfile' argument.
Put symbols in the objfile's hash table.
(install_minimal_symbols): Put symbols in the objfile's demangled
hash table.
(lookup_minimal_symbol): Use hash table to find symbol in
objfile.
(msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): New
functions.
(prim_record_minimal_symbol_and_info): Initialize the
hash link fields of the new minimal symbol.
* symtab.h (struct minimal_symbol): New fields `hash_next',
`demangled_hash_next'.
(msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): Declare.
* objfiles.h (MINIMAL_SYMBOL_HASH_SIZE): New define.
(struct objfile): New fields `msymbol_hash',
`msymbol_demangled_hash'.

24 years agoDocument new -m32r command line switch
Nick Clifton [Tue, 7 Mar 2000 00:06:52 +0000 (00:06 +0000)]
Document new -m32r command line switch

24 years agotreat -m32r as a seperate, specific command line switch.
Nick Clifton [Mon, 6 Mar 2000 23:37:57 +0000 (23:37 +0000)]
treat -m32r as a seperate, specific command line switch.

24 years ago2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 6 Mar 2000 22:57:52 +0000 (22:57 +0000)]
2000-03-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* mi-cmds.h: Export mi_cmd_data_write_register_values.

* mi-cmds.c (mi_cmds): Implement data-write-register-values with
  mi_cmd_data_write_register_values.

* mi-main.c (mi_cmd_data_write_register_values): New
  function. Write a value into a register.

24 years agoFurther LINK6 bug fix.
Nick Clifton [Mon, 6 Mar 2000 22:38:43 +0000 (22:38 +0000)]
Further LINK6 bug fix.

24 years ago2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 6 Mar 2000 22:14:44 +0000 (22:14 +0000)]
2000-03-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* gdbmi.texinfo: Update data-disassemble documentation.

24 years ago2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 6 Mar 2000 21:33:38 +0000 (21:33 +0000)]
2000-03-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* mi-disassemble.exp: Don't assume numbers for the offset
  values. They can be different depending on the architecture.

* mi-watch.exp (test_watchpoint_triggering): In same cases the
  type can be 'hw wathcpoint' not just 'watchpoint'. Adjust for that.

* basics.c (callee4): Make the function return something,
  otherwise the return value is undefined.

24 years ago * sh-opc.h (sh_table): ldre and ldrs have a *signed* displacement.
Joern Rennecke [Mon, 6 Mar 2000 21:13:15 +0000 (21:13 +0000)]
* sh-opc.h (sh_table): ldre and ldrs have a *signed* displacement.

24 years ago2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 6 Mar 2000 20:00:53 +0000 (20:00 +0000)]
2000-03-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* mi-basics.exp: Comment out test for a still unimplemented operation.

24 years agofix LINK6 code.
Nick Clifton [Mon, 6 Mar 2000 19:49:58 +0000 (19:49 +0000)]
fix LINK6 code.

24 years ago2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 6 Mar 2000 19:46:40 +0000 (19:46 +0000)]
2000-03-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* mi-disassemble.exp: Rewrite most of the tests to conform to new
  disassemble interface.

24 years agoRemove extraneous CYGNUYS LOCAL markers.
Nick Clifton [Mon, 6 Mar 2000 18:09:38 +0000 (18:09 +0000)]
Remove extraneous CYGNUYS LOCAL markers.

24 years ago * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
Ian Lance Taylor [Mon, 6 Mar 2000 18:08:38 +0000 (18:08 +0000)]
* ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
archive.

24 years ago*** empty log message ***
Jim Blandy [Mon, 6 Mar 2000 18:06:04 +0000 (18:06 +0000)]
*** empty log message ***

24 years agoDoc fix.
Jim Blandy [Mon, 6 Mar 2000 18:04:56 +0000 (18:04 +0000)]
Doc fix.

24 years ago2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 6 Mar 2000 17:07:03 +0000 (17:07 +0000)]
2000-03-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        From  Eli Zaretskii  <eliz@is.elta.co.il>:

* event-loop.c (poll_timers): Don't compare delta.tv_sec with
zero, since time_t might be unsigned.

24 years ago2000-03-06 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Mon, 6 Mar 2000 16:08:12 +0000 (16:08 +0000)]
2000-03-06  Mark Kettenis  <kettenis@gnu.org>

* i386-linux-nat.c (supply_fpregset): Mask off the reserved bits
in *FPREGSETP.
(convert_to_fpregset): Don't touch the reserved bits in *FPREGSETP.

24 years ago * elf.c (swap_out_syms): Check for null type_ptr.
Catherine Moore [Mon, 6 Mar 2000 15:44:25 +0000 (15:44 +0000)]
    * elf.c (swap_out_syms):  Check for null type_ptr.

24 years agoDouble Oops! I forgot the regenerated configure too.
Mark Kettenis [Sun, 5 Mar 2000 23:00:32 +0000 (23:00 +0000)]
Double Oops!  I forgot the regenerated configure too.

24 years agoOops, forgot to save ChangeLog before commit.
Mark Kettenis [Sun, 5 Mar 2000 22:57:57 +0000 (22:57 +0000)]
Oops, forgot to save ChangeLog before commit.

24 years ago2000-03-05 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Sun, 5 Mar 2000 22:57:06 +0000 (22:57 +0000)]
2000-03-05  Mark Kettenis  <kettenis@gnu.org>

Allow GDB to run on Linux 2.0 again.
* config.in: Add HAVE_PTRACE_GETREGS.
* configure.in: Check if <sys/ptrace.h> defines PTRACE_GETREGS.
* configure: Regenerated.
* config/i386/nm-linux.h (CANNOT_FETCH_REGISTER,
CANNOT_STORE_REGISTER): New defines.
* i386-linux-nat.c (have_ptrace_getregs): New variable.
(PTRACE_XFER_TYPE, CANNOT_FETCH_REGISTER, fetch_register,
old_fetch_inferior_registers, CANNOT_STORE_REGISTER,
store_register, old_store_inferior_registers): Copied over from
`inptrace.c' as a temporary measure.
(fetch_regs, store_regs, fetch_fpregs, store_fpregs):
Conditionalize on HAVE_PTRACE_GETREGS.  Define stubs if
HAVE_PTRACE_GETREGS isn't defined.
(fetch_regs): Reset `have_ptrace_getregs' if ptrace call fails
with EIO.
(fetch_inferior_registers, store_inferior_registers): Fall back on
the method use in `infptrace.c' (by calling
old_fetch_inferior_registers and old_store_inferior_registers) if
`have_ptrace_getregs' isn't set.

24 years ago2000-01-29 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Sun, 5 Mar 2000 16:39:11 +0000 (16:39 +0000)]
2000-01-29  Mark Kettenis  <kettenis@gnu.org>

* i386-linux-nat.c: Use elf_gregset_t and elf_fpregset_t instead
of gregset_t and fpregset_t.  Those are the only names that are
guaranteed to specify the right types for all supported Linux
systems out there.
Various doc fixes and gratitious local variable renames, all in an
attempt to stress similarities between the code and unify the
terminology used.  Use ISO-C all over.
(regmap): Remove trailing comma.
(FPREG_ADDR): Renamed from FPREGSET_T_FPREG_ADDR.
(convert_to_gregset): Make static.  Remove GDB_REGS argument.  It
is unnecessary and wasn't used anyway.  All callers changed.
(convert_to_fpregset, convert_to_xfpregset): Likewise.
(fetch_regs, store_regs): Remove unused variable `regno'.
(fill_fpregs): If REGNO is not -1, only update the specified
register.
(fetch_core_registers): Renamed from
i386_linux_fetch_core_registers.  There is no need for a unique
name since the function is static anyway.
(linux_elf_core_fns): Renamed from i386_linux_nat_core_functions
since it is more descriptive.

24 years agoExpand readline/ maintainers.
Andrew Cagney [Sun, 5 Mar 2000 08:46:56 +0000 (08:46 +0000)]
Expand readline/ maintainers.

24 years ago2000-03-04 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Sat, 4 Mar 2000 23:37:33 +0000 (23:37 +0000)]
2000-03-04  Mark Kettenis  <kettenis@gnu.org>

Fix support for Linux/i386 signal trampolines.  The old approach
didn't work for Linux 2.2 and beyond, and didn't work with recent
versions of the GNU C library.
* i386-tdep.c (LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): New defines.
(linux_rt_sigtramp_code): New variable.
(LINUX_RT_SIGTRAMP_LEN): New define.
(i386_linux_rt_sigtramp_start): New function.  Detect start of
signal trampolines for RT signals.
(i386_linux_sigtramp): Removed.
(i386_linux_in_sigtramp): New function.
(i386_linux_sigcontext_addr): New function.  Recognize the names
of the signal tranmpolines used by recent versions of the GNU C
library, and add support for RT signals.
        (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET):  New
defines.  Moved here from config/i386/tm-linux.h.
(i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp):
Reimplement in terms of i386_linux_sigcontext_addr.
* config/i386/tm-linux.h (LINUX_SIGCONTEXT_SIZE): Removed.
        (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET):
        Moved to i386-tdep.c.
(IN_SIGTRAMP): Redefine to call i386_linux_in_sigtramp.

24 years ago* moved misplaced ChangeLog entry
Frank Ch. Eigler [Sat, 4 Mar 2000 12:46:44 +0000 (12:46 +0000)]
* moved misplaced ChangeLog entry

24 years agoRe-do checkin by Alexandre Oliva <oliva@lsd.ic.unicamp.br>. Pointed
Andrew Cagney [Sat, 4 Mar 2000 08:40:22 +0000 (08:40 +0000)]
Re-do checkin by Alexandre Oliva <oliva@lsd.ic.unicamp.br>.  Pointed
out maintainer rules.

24 years ago* Makefile.in (all-gdbtk): Fix $srcdir to ${srcdir}.
Alexandre Oliva [Sat, 4 Mar 2000 07:11:38 +0000 (07:11 +0000)]
* Makefile.in (all-gdbtk): Fix $srcdir to ${srcdir}.

24 years agoTransfer SIM maintainership to Frank.
Andrew Cagney [Sat, 4 Mar 2000 06:27:00 +0000 (06:27 +0000)]
Transfer SIM maintainership to Frank.

24 years agoAdd MichaelS and PeterS to all privs list.
Andrew Cagney [Sat, 4 Mar 2000 05:21:51 +0000 (05:21 +0000)]
Add MichaelS and PeterS to all privs list.

24 years agoDon't use LONG_LONG when it isn't available.
Andrew Cagney [Sat, 4 Mar 2000 05:11:19 +0000 (05:11 +0000)]
Don't use LONG_LONG when it isn't available.

24 years agoComment out longest_raw_hex_string.
Andrew Cagney [Sat, 4 Mar 2000 04:56:46 +0000 (04:56 +0000)]
Comment out longest_raw_hex_string.

24 years agoWhen GDB doesn't recognize the -i=mi option, assume there is no MI support.
Andrew Cagney [Sat, 4 Mar 2000 03:01:38 +0000 (03:01 +0000)]
When GDB doesn't recognize the -i=mi option, assume there is no MI support.

24 years agoMake mmalloc functions consistent. Some need ISO-C others need PTR :-(.
Andrew Cagney [Sat, 4 Mar 2000 02:23:06 +0000 (02:23 +0000)]
Make mmalloc functions consistent. Some need ISO-C others need PTR :-(.

24 years agoOops, lost update to defs.h:null_cleanup().
Andrew Cagney [Sat, 4 Mar 2000 01:15:32 +0000 (01:15 +0000)]
Oops, lost update to defs.h:null_cleanup().

24 years agoConvert extract/store functions to ISO-C.
Andrew Cagney [Sat, 4 Mar 2000 01:05:48 +0000 (01:05 +0000)]
Convert extract/store functions to ISO-C.

24 years agoConvert make_cleanup functions to ISO-C.
Andrew Cagney [Sat, 4 Mar 2000 00:40:40 +0000 (00:40 +0000)]
Convert make_cleanup functions to ISO-C.

24 years ago* Makefile.in (taz): Set PACKAGE to TOOL when not defined.
Andrew Cagney [Fri, 3 Mar 2000 23:52:30 +0000 (23:52 +0000)]
* Makefile.in (taz): Set PACKAGE to TOOL when not defined.
(do-tar-bz2): Replace TOOL with PACKAGE.
(gdb.tar.bz2): Remove GDBTK from GDB package.
(gdb+dejagnu.tar.bz2, insight.tar.bz2, insight+dejagnu.tar.bz2,
dejagnu.tar.bz2): New packages.

24 years ago* build fix
Frank Ch. Eigler [Fri, 3 Mar 2000 23:25:10 +0000 (23:25 +0000)]
* build fix

2000-03-03  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>

* Makefile.in (IGEN_INSN): Added am33.igen.

24 years ago2000-03-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Fri, 3 Mar 2000 15:37:09 +0000 (15:37 +0000)]
2000-03-03  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* defs.h (struct continuation_arg): Change type of field 'data'
  from PTR to void *.

* event-loop.h: Eliminate uses of PTR, use 'void *' instead.

* event-top.c: Ditto.

24 years ago* build patch
Frank Ch. Eigler [Fri, 3 Mar 2000 15:00:58 +0000 (15:00 +0000)]
* build patch

2000-03-03  Jonathan Larmour  <jlarmour@redhat.co.uk>

* func.c (buffer_read_memory): Change type of size to unsigned to
match prototype

24 years agoMove GDBtk's ``ln -s ... gdbtcl'' code out of configure.
Andrew Cagney [Fri, 3 Mar 2000 05:44:39 +0000 (05:44 +0000)]
Move GDBtk's ``ln -s ... gdbtcl'' code out of configure.
Add CONFIG_CLEAN, CONFIG_ALL to configured targets.
Add all-gdbtk, clean-gdbtk.

24 years agoOnly configure GDBtk when it is present.
Andrew Cagney [Fri, 3 Mar 2000 02:50:24 +0000 (02:50 +0000)]
Only configure GDBtk when it is present.

24 years ago2000-03-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Fri, 3 Mar 2000 02:18:26 +0000 (02:18 +0000)]
2000-03-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * config/alpha/alpha-linux.mh: Remove core-regset.o fron the
        NATDEPFILES list.

24 years agoApply patch for 100679
Nick Clifton [Thu, 2 Mar 2000 23:01:40 +0000 (23:01 +0000)]
Apply patch for 100679

24 years ago* comment tweaks
Frank Ch. Eigler [Thu, 2 Mar 2000 22:42:51 +0000 (22:42 +0000)]
* comment tweaks

24 years agofix sign extension problem with d30v
Michael Meissner [Thu, 2 Mar 2000 22:18:12 +0000 (22:18 +0000)]
fix sign extension problem with d30v

24 years ago* adding forgotten entry
Frank Ch. Eigler [Thu, 2 Mar 2000 21:53:51 +0000 (21:53 +0000)]
* adding forgotten entry

24 years ago2000-03-02 H.J. Lu (hjl@gnu.org)
H.J. Lu [Thu, 2 Mar 2000 20:15:33 +0000 (20:15 +0000)]
2000-03-02  H.J. Lu  (hjl@gnu.org)

* configure.in: Support --enable-targets=all on ia32.
* configure: Regenerated.

24 years agoInclude getopt.h
Nick Clifton [Thu, 2 Mar 2000 18:37:14 +0000 (18:37 +0000)]
Include getopt.h

24 years ago* autoconf correction
Frank Ch. Eigler [Thu, 2 Mar 2000 18:14:02 +0000 (18:14 +0000)]
* autoconf correction
* merge from internal repo -> sourceware

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

* configure: Regenerated.

Tue Feb  8 18:35:01 2000  Donald Lindsay  <dlindsay@hound.cygnus.com>

* interp.c, mips.igen: all 5 DEADC0DE situations now have sim_io_eprintf
calls, conditional on the simulator being in verbose mode.

24 years ago* whitespace correction
Frank Ch. Eigler [Thu, 2 Mar 2000 18:12:44 +0000 (18:12 +0000)]
* whitespace correction

24 years agoAttempt to fix AIX/i386 target.
Mark Kettenis [Thu, 2 Mar 2000 15:44:27 +0000 (15:44 +0000)]
Attempt to fix AIX/i386 target.

24 years agoFixes for extract_floating() and store_floating().
Kevin Buettner [Thu, 2 Mar 2000 06:50:50 +0000 (06:50 +0000)]
Fixes for extract_floating() and store_floating().

24 years ago * uw-thread.c: Apply GNU conventions to comment formatting.
Nicholas Duffek [Thu, 2 Mar 2000 06:05:03 +0000 (06:05 +0000)]
* uw-thread.c: Apply GNU conventions to comment formatting.
(deactivate_uw_thread): Call remove_thread_event_breakpoints().
(uw_thread_mourn_inferior): Move remove_thread_event_breakpoints()
call to deactivate_uw_thread().

24 years ago2000-03-01 Hans-Peter Nilsson <hp@axis.com>
Ian Lance Taylor [Thu, 2 Mar 2000 01:38:33 +0000 (01:38 +0000)]
2000-03-01  Hans-Peter Nilsson  <hp@axis.com>

* aout-target.h (MY(write_object_contents)): Remove unused
and unusable "#if CHOOSE_RELOC_SIZE".
* pc532-mach.c (MY(write_object_contents)): Ditto.
* netbsd.h (MY(write_object_contents)): Ditto.
* hp300hpux.c (MY(write_object_contents)): Ditto.
* freebsd.h (MY(write_object_contents)): Ditto.
* aout-tic30.c (tic30_aout_write_object_contents): Ditto.

24 years ago * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
Ian Lance Taylor [Thu, 2 Mar 2000 01:35:52 +0000 (01:35 +0000)]
* configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.

24 years agomention new -Bsymbolic behaviour
Ian Lance Taylor [Thu, 2 Mar 2000 01:26:27 +0000 (01:26 +0000)]
mention new -Bsymbolic behaviour

24 years agoDaniel Berlin is C++ maintainer.
Andrew Cagney [Wed, 1 Mar 2000 22:17:52 +0000 (22:17 +0000)]
Daniel Berlin is C++ maintainer.

24 years agoMark Kettenis is the x86 architcture maintainer and a joint
Andrew Cagney [Wed, 1 Mar 2000 22:04:28 +0000 (22:04 +0000)]
Mark Kettenis is the x86 architcture maintainer and a joint
GNU/Linux/x86 maintainer.  Nick Duffeck and Robert Lipe share
SCO/Unixware.  Nick Duffek and Peter Schauer share Solaris/x86.

24 years agoFix building with --enable-targets=all.
Nick Clifton [Wed, 1 Mar 2000 20:54:37 +0000 (20:54 +0000)]
Fix building with --enable-targets=all.

24 years agoFix building with --enable-targets=all
Nick Clifton [Wed, 1 Mar 2000 20:39:07 +0000 (20:39 +0000)]
Fix building with --enable-targets=all

24 years ago2000-03-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Wed, 1 Mar 2000 20:20:38 +0000 (20:20 +0000)]
2000-03-01  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* mi-cmd-disas.c (mi_cmd_disassemble): Use
  ui_out_field_core_addr() instead of print_address_numeric(), to
  maintain consistency throughout MI.

24 years ago2000-03-01 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 1 Mar 2000 19:40:54 +0000 (19:40 +0000)]
2000-03-01  H.J. Lu  <hjl@gnu.org>

* aoutx.h (aout_link_input_section_std): Pass "true" to
the undefined_symbol callback.
(aout_link_input_section_ext): Likewise.
* bout.c (get_value): Likewise.
* coff-a29k.c (coff_a29k_relocate_section): Likewise.
* coff-alpha.c (alpha_ecoff_get_relocated_section_conten):
Likewise.
(alpha_relocate_section): Likewise.
* coff-arm.c (coff_arm_relocate_section): Likewise.
* coff-i960.c (coff_i960_relocate_section): Likewise.
* coff-mcore.c (coff_mcore_relocate_section): Likewise.
* coff-mips.c (mips_relocate_section): Likewise.
* coff-ppc.c (coff_ppc_relocate_section): Likewise.
* coff-sh.c (sh_relocate_section): Likewise.
* coff-tic80.c (coff_tic80_relocate_section): Likewise.
* cofflink.c (_bfd_coff_generic_relocate_section): Likewise.
* elf-m10200.c (mn10200_elf_relocate_section): Likewise.
* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
* elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
* elf32-fr30.c (fr30_elf_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf32-v850.c (v850_elf_relocate_section): Likewise.
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Likewise.
* elflink.h (elf_link_output_extsym): Likewise.
* pe-mips.c (coff_pe_mips_relocate_section): Likewise.
* reloc.c (bfd_generic_get_relocated_section_conten): Likewise.
* reloc16.c (_bfd_ppc_xcoff_relocate_section): Likewise.

* elf-hppa.h (elf_hppa_relocate_section): Pass "false" to the
undefined_symbol callback when building shared library with
-Bsymbolic and undefined symbols are allowed. Otherwise, pass
"true".
* elf32-arm.h (elf32_arm_relocate_section): Likewise.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mips.c (mips_elf_calculate_relocation): Likewise.
(elf32_mips_get_relocated_section_content): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.

24 years ago2000-03-01 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 1 Mar 2000 19:38:01 +0000 (19:38 +0000)]
2000-03-01  H.J. Lu  <hjl@gnu.org>

* bfdlink.h (bfd_link_callbacks): Add a boolean arg to
the undefined_symbol callback.

24 years ago2000-03-01 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 1 Mar 2000 19:37:03 +0000 (19:37 +0000)]
2000-03-01  H.J. Lu  <hjl@gnu.org>

* ldmain.c (undefined_symbol): Take one more arg, fatal, to
indicate if the undefined symbol is a fatal error or not.
Don't delete the output file if "fatal" is false.

24 years agoRemove bigus .align check
Nick Clifton [Wed, 1 Mar 2000 18:03:49 +0000 (18:03 +0000)]
Remove bigus .align check

24 years agoFrom Fernando: call generic_mourn_inferior() when closing rdi and sim
Andrew Cagney [Wed, 1 Mar 2000 11:25:51 +0000 (11:25 +0000)]
From Fernando: call generic_mourn_inferior() when closing rdi and sim
targets.

24 years agoNote that there is no need to send configure.in patches.
Andrew Cagney [Wed, 1 Mar 2000 08:33:47 +0000 (08:33 +0000)]
Note that there is no need to send configure.in patches.

24 years ago2000-03-01 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Wed, 1 Mar 2000 00:45:18 +0000 (00:45 +0000)]
2000-03-01  Mark Kettenis  <kettenis@gnu.org>

* MAINTAINERS: Correct my own mail address.