deliverable/binutils-gdb.git
23 years agoAdd openRISC support in opcodes
Nick Clifton [Fri, 27 Apr 2001 13:34:20 +0000 (13:34 +0000)] 
Add openRISC support in opcodes

23 years ago(Changes from Daniel Berlin, with revisions by Jim Blandy.)
Jim Blandy [Fri, 27 Apr 2001 00:19:09 +0000 (00:19 +0000)] 
(Changes from Daniel Berlin, with revisions by Jim Blandy.)

Abstract out operations specific to particular C++ ABI's, and
invoke them through a function table.  This removes the C++ ABI
dependencies scattered throughout the code, and allows us to
cleanly add support for new C++ ABI's.
* cp-abi.h, cp-abi.h, gnu-v2-abi.c, hpacc-abi.c: New files.
* c-typeprint.c, c-valprint.c, dbxread.c, eval.c, gdbtypes.c,
jv-typeprint.c, linespec.c, symtab.c, typeprint.c, valops.c:
#include "cp-abi.h".  These files all use functions now declared
there.
* symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P):
Deleted.  These services are now provided by functions declared in
cp-abi.h.
* value.h (value_rtti_type, value_virtual_fn_field): Same.
* values.c (value_virtual_fn_field): Same, for this definition.
* valops.c (value_rtti_type): Same.
* c-typeprint.c (c_type_print_base): Use the functions from
"cp-abi.h", instead of the old macros, or hard-coded ABI-specific
tests.
* dbxread.c (record_minimal_symbol): Same.
* gdbtypes.c (get_destructor_fn_field, virtual_base_index,
virtual_base_index_skip_primaries): Same.
* jv-typeprint.c (java_type_print_base): Same.
* linespec.c (find_methods, decode_line_1): Same.
* symtab.c (gdb_mangle_name): Same.
* Makefile.in (SFILES): Add the new .c files mentioned above.
(cp_abi_h): New variable.
(COMMON_OBS): Add gnu-v2-abi.o, hpacc-abi.o, and cp-abi.o.
(cp-abi.o, gnu-v2-abi.o, hpacc-abi.o): New targets.
(c-typeprint.o, c-valprint.o, dbxread.o, eval.o, gdbtypes.o,
jv-typeprint.o, symtab.o, linespec.o, typeprint.o, valops.o): Add
dependency on $(cp_abi_h).

23 years ago2001-04-26 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 26 Apr 2001 23:14:20 +0000 (23:14 +0000)] 
2001-04-26  Michael Snyder  <msnyder@redhat.com>

* thread-db.c (_initialize_thread_db): Add set/show command
"debug-linux-threads" for debugging output.
* lin-lwp.c (various): Use global "debug_linux_threads to
turn on extra debugging output.

23 years ago2001-04-26 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 26 Apr 2001 22:35:08 +0000 (22:35 +0000)] 
2001-04-26  Michael Snyder  <msnyder@redhat.com>

* lin-lwp.c: Minor cleanups in comments.

23 years ago2001-04-26 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 26 Apr 2001 22:10:42 +0000 (22:10 +0000)] 
2001-04-26  Michael Snyder  <msnyder@redhat.com>

* target.c (normal_pid_to_str): Get rid of an ancient hack.
* remote.c (remote_pid_to_str): New function for remote target.

23 years ago* Makefile.in (idecode.o, op_utils.o, semantics.o, simops.o):
Alexandre Oliva [Thu, 26 Apr 2001 19:23:16 +0000 (19:23 +0000)] 
* Makefile.in (idecode.o, op_utils.o, semantics.o, simops.o):
Depend on targ-vals.h.

23 years ago2001-04-26 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 26 Apr 2001 19:09:20 +0000 (19:09 +0000)] 
2001-04-26  H.J. Lu  <hjl@gnu.org>

* elf32-i386.c (elf_i386_check_relocs): Verify if r_symndx is
valid.

23 years agoAdd ability to pad code alignment frags with no-ops.
Nick Clifton [Thu, 26 Apr 2001 15:19:21 +0000 (15:19 +0000)] 
Add ability to pad code alignment frags with no-ops.

23 years ago* configure.in (noconfigdirs): Don't reset it from scratch in the
Alexandre Oliva [Thu, 26 Apr 2001 05:42:15 +0000 (05:42 +0000)] 
* configure.in (noconfigdirs): Don't reset it from scratch in the
target case; only append to it.

23 years ago* configure.in (noconfigdirs) [hppa*-*-*, mips*-*-irix6*,
Alexandre Oliva [Thu, 26 Apr 2001 05:32:29 +0000 (05:32 +0000)] 
* configure.in (noconfigdirs) [hppa*-*-*, mips*-*-irix6*,
sparc-*-solaris2.8]: Disable ${libgcj}.

23 years ago* configure.in (libgcj_saved): Copy from $libgcj.
Alexandre Oliva [Wed, 25 Apr 2001 21:41:21 +0000 (21:41 +0000)] 
* configure.in (libgcj_saved): Copy from $libgcj.
(libgcj): Zero out if --enable-libgcj; add to noconfigdirs is
--disable-libgcj.

23 years ago* thanks, nickc
Frank Ch. Eigler [Wed, 25 Apr 2001 21:14:28 +0000 (21:14 +0000)] 
* thanks, nickc

2001-04-25  Frank Ch. Eigler  <fche@redhat.com>

* sim-load.c (sim_load_file): Put it back [...]

23 years ago* externalize a function
Frank Ch. Eigler [Wed, 25 Apr 2001 21:08:02 +0000 (21:08 +0000)] 
* externalize a function

2001-04-25  Frank Ch. Eigler  <fche@redhat.com>

* bfd-in.h (bfd_cache_close): Declare newly exported function.
* bfd-in2.h: Regenerated.

23 years agoFix autoconf breakage + commit target.c, omitted in previous delta
Nick Clifton [Wed, 25 Apr 2001 19:09:30 +0000 (19:09 +0000)] 
Fix autoconf breakage + commit target.c, omitted in previous delta

23 years agoCheck to see if the filename symbol has been initialised before extracting
Nick Clifton [Wed, 25 Apr 2001 09:11:31 +0000 (09:11 +0000)] 
Check to see if the filename symbol has been initialised before extracting
its symbol index.

23 years ago2001-04-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 25 Apr 2001 00:18:35 +0000 (00:18 +0000)] 
2001-04-24  H.J. Lu  <hjl@gnu.org>

* configure: Regenerated with the right version of autoconf.

23 years ago* c-typeprint.c (c_type_print_cv_qualifier): Don't print `const'
Jim Blandy [Tue, 24 Apr 2001 23:12:50 +0000 (23:12 +0000)] 
* c-typeprint.c (c_type_print_cv_qualifier): Don't print `const'
qualifier on C++ references; all references are innately const.

23 years ago* sparc.h: Fix typo.
DJ Delorie [Tue, 24 Apr 2001 18:32:27 +0000 (18:32 +0000)] 
* sparc.h: Fix typo.

23 years ago * merge.c (struct sec_merge_hash_entry): Add alignment field.
Jakub Jelinek [Tue, 24 Apr 2001 17:55:57 +0000 (17:55 +0000)] 
* merge.c (struct sec_merge_hash_entry): Add alignment field.
(struct sec_merge_hash): Remove alignment_power.
(sec_merge_hash_newfunc): Clear alignment.
(sec_merge_hash_lookup): Pass alignment as argument.
Use hashp->root.next, not hashp->next to walk the hash chain.
If a string already in the hashtable does not have required
alignment, create a new hashtable entry.
(sec_merge_init): Remove alignment_power argument.
(sec_merge_add): Add alignment argument.
(sec_merge_emit): Alignment is now a per-entity thing, not per
section.
(_bfd_merge_section): Sanity check even non-SEC_STRINGS sections
for proper alignment.
Pass alignment information to sec_merge_add.

23 years ago* gdb.c++/templates.exp: If we see the prompt for the overload
Jim Blandy [Tue, 24 Apr 2001 17:47:42 +0000 (17:47 +0000)] 
* gdb.c++/templates.exp: If we see the prompt for the overload
list, but we haven't recognized any of the longer patterns,
arrange for this test to fail, not hang.

23 years ago* gdb.c++/classes.exp (ptype class A): Tolerate whitespace
Jim Blandy [Tue, 24 Apr 2001 17:39:14 +0000 (17:39 +0000)] 
* gdb.c++/classes.exp (ptype class A): Tolerate whitespace
variations.

23 years agoz8k fixes
Nick Clifton [Tue, 24 Apr 2001 15:22:25 +0000 (15:22 +0000)] 
z8k fixes

23 years agoAdd OpenRISC support
Nick Clifton [Tue, 24 Apr 2001 15:08:16 +0000 (15:08 +0000)] 
Add OpenRISC support

23 years ago2001-04-22 Michael Chastain <chastain@redhat.com>
Michael Chastain [Mon, 23 Apr 2001 17:02:05 +0000 (17:02 +0000)] 
2001-04-22  Michael Chastain  <chastain@redhat.com>

* gdb.c++/local.exp: Use the 'runto' library function.
* gdb.c++/namespace.exp: Likewise.
* gdb.c++/overload.exp: Likewise.

23 years ago2001-04-23 Bo Thorsen <bo@suse.de>
Andreas Jaeger [Mon, 23 Apr 2001 08:00:14 +0000 (08:00 +0000)] 
2001-04-23  Bo Thorsen  <bo@suse.de>

* x86-64.h: Add vtable support.

2001-04-23  Bo Thorsen  <bo@suse.de>

* elf64-x86-64.c: Add c++ vtable hack.
Small whitespace and comment changes.

23 years agoRevert call to bfd_cache_close().
Andrew Cagney [Sat, 21 Apr 2001 22:50:55 +0000 (22:50 +0000)] 
Revert call to bfd_cache_close().

23 years ago2000-04-20 Jason Eckhardt <jle@redhat.com>
Jason Eckhardt [Fri, 20 Apr 2001 23:38:37 +0000 (23:38 +0000)] 
2000-04-20  Jason Eckhardt  <jle@redhat.com>

* config/tc-d10v.h (tc_frob_label): Update the symbol's frag
since frag_now can change after d10v_cleanup is called.

23 years ago* event-top.h: Fix formatting.
Mark Kettenis [Fri, 20 Apr 2001 14:25:59 +0000 (14:25 +0000)] 
* event-top.h: Fix formatting.

23 years ago* ltconfig, ltmain.sh, ltcf-cxx.sh: Upgraded to libtool 1.4a
Alexandre Oliva [Fri, 20 Apr 2001 09:28:05 +0000 (09:28 +0000)] 
* ltconfig, ltmain.sh, ltcf-cxx.sh: Upgraded to libtool 1.4a
1.641.2.228.

23 years agoObsolete MPW as host.
Andrew Cagney [Thu, 19 Apr 2001 23:56:14 +0000 (23:56 +0000)] 
Obsolete MPW as host.

23 years ago* bug fix
Frank Ch. Eigler [Thu, 19 Apr 2001 20:59:30 +0000 (20:59 +0000)] 
* bug fix

2001-04-19  Frank Ch. Eigler  <fche@redhat.com>

* sim-utils.c (sim_analyze_program): Call bfd_cache_close after
we're finished with its immediate use.
* sim-load.c (sim_load_file): Ditto.

23 years ago* i386-tdep.c (i386_frameless_function_invocation): New function.
Mark Kettenis [Thu, 19 Apr 2001 11:39:48 +0000 (11:39 +0000)] 
* i386-tdep.c (i386_frameless_function_invocation): New function.
* config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION): Redefine
in terms of i386_frameless_function_invocation.  Adjust comment.
(i386_frameless_function_invocation): New prototype.

23 years ago2001-04-19 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Thu, 19 Apr 2001 09:39:28 +0000 (09:39 +0000)] 
2001-04-19  Andreas Jaeger  <aj@suse.de>

* elf64-x86-64.c (elf64_x86_64_plt0_entry): Fix instructions.
(elf64_x86_64_plt_entry): Likewise.
(elf64_x86_64_finish_dynamic_sections): Fix PLT0 generation.
(elf64_x86_64_finish_dynamic_symbol): Fix PLT generation.

23 years ago2001-04-18 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Thu, 19 Apr 2001 05:28:12 +0000 (05:28 +0000)] 
2001-04-18  Martin M. Hunt  <hunt@redhat.com>

* top.c (gdb_init): Don't call cli_out_new() to
create global uiout if init_ui_hook is set.  uiout will
have to be initialized there.

23 years ago#include "regcache.h".
Andrew Cagney [Thu, 19 Apr 2001 00:37:24 +0000 (00:37 +0000)] 
#include "regcache.h".

23 years ago* XScale coprocessor support.
Matthew Green [Wed, 18 Apr 2001 16:39:37 +0000 (16:39 +0000)] 
* XScale coprocessor support.

2001-04-18  matthew green  <mrg@redhat.com>

* armcopro.c (write_cp15_reg): Set CHANGEMODE if endianness changes.
(read_cp15_reg): Make non-static.
(XScale_cp15_LDC): Update for write_cp15_reg() change.
(XScale_cp15_MCR): Likewise.
(XScale_cp15_write_reg): Likewise.
(XScale_check_memacc): New function. Check for breakpoints being
activated by memory accesses.  Does not support the Branch Target
Buffer.
(XScale_set_fsr_far): New function. Set FSR and FAR for XScale.
(XScale_debug_moe): New function. Set the debug Method Of Entry,
if configured.
(write_cp14_reg): Reset count counter if requested.
* armdefs.h (struct ARMul_State): New members `LastTime' and
`CP14R0_CCD' used for the timer/counters.
(ARMul_CP13_R0_FIQ, ARMul_CP13_R0_IRQ, ARMul_CP13_R8_PMUS,
ARMul_CP14_R0_ENABLE, ARMul_CP14_R0_CLKRST, ARMul_CP14_R0_CCD,
ARMul_CP14_R0_INTEN0, ARMul_CP14_R0_INTEN1, ARMul_CP14_R0_INTEN2,
ARMul_CP14_R0_FLAG0, ARMul_CP14_R0_FLAG1, ARMul_CP14_R0_FLAG2,
ARMul_CP14_R10_MOE_IB, ARMul_CP14_R10_MOE_DB, ARMul_CP14_R10_MOE_BT,
ARMul_CP15_R1_ENDIAN, ARMul_CP15_R1_ALIGN, ARMul_CP15_R5_X,
ARMul_CP15_R5_ST_ALIGN, ARMul_CP15_R5_IMPRE, ARMul_CP15_R5_MMU_EXCPT,
ARMul_CP15_DBCON_M, ARMul_CP15_DBCON_E1, ARMul_CP15_DBCON_E0): New
defines for XScale registers.
(XScale_check_memacc, XScale_set_fsr_far, XScale_debug_moe): Prototype.
(ARMul_Emulate32, ARMul_Emulate26): Clean up function definition.
(ARMul_Emulate32): Handle the clock counter and hardware instruction
breakpoints.  Call XScale_set_fsr_far() for software breakpoints and
software interrupts.
(LoadMult): Call XScale_set_fsr_far() for data aborts.
(LoadSMult): Likewise.
(StoreMult): Likewise.
(StoreSMult): Likewise.
* armemu.h (write_cp15_reg): Update prototype.
* arminit.c (ARMul_NewState): Initialise CP14R0_CCD and LastTime.
(ARMul_Abort): If XScale, check for FIQ and IRQ being enabled in CP13
register 0.
* armvirt.c (GetWord): Call XScale_check_memacc().
(PutWord): Likewise.

23 years ago2001-04-17 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 18 Apr 2001 00:37:49 +0000 (00:37 +0000)] 
2001-04-17  Michael Snyder  <msnyder@redhat.com>

        * i386-nat.c: Fix typo in comment.

23 years ago* dlltool.c (do_default_excludes): Initialise to true.
DJ Delorie [Tue, 17 Apr 2001 23:28:38 +0000 (23:28 +0000)] 
* dlltool.c (do_default_excludes): Initialise to true.

23 years agoFix thinko.
Michael Snyder [Tue, 17 Apr 2001 23:22:52 +0000 (23:22 +0000)] 
Fix thinko.

23 years ago2001-04-17 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 17 Apr 2001 23:21:48 +0000 (23:21 +0000)] 
2001-04-17  Michael Snyder  <msnyder@redhat.com>

* solib.c (no_shared_libraries): New function.  Discard all symbols
from shared libraries.
(_initialize_solib): Add command "nosharedlibrary" as complement
to the command "sharedlibrary".  Unloads symbols for all solibs.

23 years ago* i386-tdep.c (i386_saved_pc_after_call): New function.
Mark Kettenis [Tue, 17 Apr 2001 23:20:55 +0000 (23:20 +0000)] 
* i386-tdep.c (i386_saved_pc_after_call): New function.
* config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Redefine in terms
of i386_saved_pc_after_call.
(i386_saved_pc_after_call): New prototype.

23 years agoObsolete NEWS and ISI systems (along with a few redundant m68k targets).
Andrew Cagney [Tue, 17 Apr 2001 21:20:49 +0000 (21:20 +0000)] 
Obsolete NEWS and ISI systems (along with a few redundant m68k targets).

23 years ago2001-04-17 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 17 Apr 2001 20:31:00 +0000 (20:31 +0000)] 
2001-04-17  Michael Snyder  <msnyder@redhat.com>

* remote.c (remote_open_1): On opening the remote target, activate
the solib_create_inferior_hook, so that it can detect when the
target loads shared libraries.
(remote_async_open_1): Ditto.

23 years ago2001-04-17 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 17 Apr 2001 20:16:31 +0000 (20:16 +0000)] 
2001-04-17  Michael Snyder  <msnyder@redhat.com>

        * breakpoint.c (print_one_breakpoint): Handle 64-bit addresses.
* tracepoint.c (tracepoints_info): Handle 64-bit addresses.
        * testsuite/gdb.trace/deltrace.exp: Allow for 64-bit addresses.
* testsuite/gdb.trace/infotrace.exp: Ditto.
        * testsuite/gdb.trace/passcount.exp: Ditto.
* testsuite/gdb.trace/while-stepping.exp: Ditto.

23 years ago2001-04-17 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 17 Apr 2001 19:14:54 +0000 (19:14 +0000)] 
2001-04-17  Michael Snyder  <msnyder@redhat.com>

* thread-db.c (check_thread_signals): When looping over all
signals, ignore signal zero.
(disable_thread_signals): Ditto.

23 years ago2001-04-17 Eirik Fuller <eirik@netapp.com>
Michael Snyder [Tue, 17 Apr 2001 19:01:35 +0000 (19:01 +0000)] 
2001-04-17  Eirik Fuller <eirik@netapp.com>

* thread.c (do_captured_thread_select): Allow the argument to the
thread command to be an expression rather than a literal integer.

23 years ago * elf32-cris.c: Tweak comments related to dynamic linking.
Hans-Peter Nilsson [Tue, 17 Apr 2001 12:32:30 +0000 (12:32 +0000)] 
* elf32-cris.c: Tweak comments related to dynamic linking.
(cris_elf_relocate_section): When not creating shared object, fill
in the .got table for any symbol not in the dynamic symbol table.
(elf_cris_finish_dynamic_symbol): When not creating shared object,
only emit a .got.rela reloc if the symbol is in the dynamic symbol
table.
(cris_elf_check_relocs): Use variable r_type in all places rather
than the original expression.  Add default case in switch for
reloc types.
(elf_cris_size_dynamic_sections): Iterate over
elf_cris_discard_excess_program_dynamics when not creating shared
library.
  (elf_cris_discard_excess_dso_dynamics): Renamed from
elf_cris_discard_copies.  Correct typo, s/Rel/Rela/.
(elf_cris_discard_excess_program_dynamics): New.

23 years ago* i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
Mark Kettenis [Tue, 17 Apr 2001 09:38:52 +0000 (09:38 +0000)] 
* i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
read_memory_unsigned_integer instead of read_memory_integer.

23 years ago * solib-aix5.c (map_index_vs_section_name_okay): New function.
Kevin Buettner [Tue, 17 Apr 2001 02:29:23 +0000 (02:29 +0000)] 
* solib-aix5.c (map_index_vs_section_name_okay): New function.
(aix5_relocate_main_executable): Don't use file offsets for
determining corresponding sections and map file entries.  Call
map_index_vs_section_name_okay() to do this instead.

23 years ago2001-04-16 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Tue, 17 Apr 2001 01:36:23 +0000 (01:36 +0000)] 
2001-04-16  David O'Brien  <obrien@FreeBSD.org>
* configure.in: Add the em type for FreeBSD targets.
* configure: Regenerate.

Approved by:  Alan Modra <amodra@one.net.au>
              <20010414192409.C16364@squeak.one.net.au>
  Philip Blundell <philb@gnu.org>
  <E14o06W-0002IT-00@kings-cross.london.uk.eu.org>

23 years agoAdd code to retry certain open()s.
Kevin Buettner [Tue, 17 Apr 2001 01:24:49 +0000 (01:24 +0000)] 
Add code to retry certain open()s.

23 years agoFix date on previous commit.
Kevin Buettner [Mon, 16 Apr 2001 21:40:48 +0000 (21:40 +0000)] 
Fix date on previous commit.

23 years agoMake hw watchpoints work with both the 2.4.2 kernel and the 2.4.3 kernel.
Kevin Buettner [Mon, 16 Apr 2001 21:26:46 +0000 (21:26 +0000)] 
Make hw watchpoints work with both the 2.4.2 kernel and the 2.4.3 kernel.

23 years agosync with egcs
DJ Delorie [Mon, 16 Apr 2001 18:42:41 +0000 (18:42 +0000)] 
sync with egcs

23 years ago2001-04-16 Daniel Berlin <dan@cgsoftware.com>
Daniel Berlin [Mon, 16 Apr 2001 14:36:16 +0000 (14:36 +0000)] 
2001-04-16  Daniel Berlin  <dan@cgsoftware.com>

* demangle.c (_initialize_demangler): Use xcalloc on the
demangling_style_names, and make it a null terminated array of
names, to avoid a crash.

23 years agoForgot the makefile portion
Daniel Berlin [Mon, 16 Apr 2001 14:11:24 +0000 (14:11 +0000)] 
Forgot the makefile portion

23 years ago2001-04-15 Daniel Berlin <dan@cgsoftware.com>
Daniel Berlin [Mon, 16 Apr 2001 14:10:14 +0000 (14:10 +0000)] 
2001-04-15  Daniel Berlin  <dan@cgsoftware.com>

* ternary.c: New file - Ternary search tree implementation.

2001-04-15  Daniel Berlin  <dan@cgsoftware.com>

* ternary.h: New file - Ternary search tree header.

23 years ago* i386-tdep.c (i386_frame_chain): New function.
Mark Kettenis [Mon, 16 Apr 2001 13:03:15 +0000 (13:03 +0000)] 
* i386-tdep.c (i386_frame_chain): New function.
* config/i386/tm-i386.h (FRAME_CHAIN): Redefine in terms of
i386_frame_chain.
(i386_frame_chain): New prototype.

23 years ago* Makefile.in (simops.o): Add simops.h to dependency list.
J.T. Conklin [Sun, 15 Apr 2001 19:57:10 +0000 (19:57 +0000)] 
* Makefile.in (simops.o): Add simops.h to dependency list.

23 years ago* coffcode.h (coff_write_object_contents): Use
DJ Delorie [Sun, 15 Apr 2001 04:23:46 +0000 (04:23 +0000)] 
* coffcode.h (coff_write_object_contents): Use
bfd_coff_swap_filehdr_out instead of coff_swap_filehdr_out.

23 years ago2001-04-14 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 15 Apr 2001 01:02:54 +0000 (01:02 +0000)] 
2001-04-14  H.J. Lu  <hjl@gnu.org>

* bfd-in2.h: Regenerate.

23 years ago* target.h (target_ops): Removed to_core_file_to_sym_file vector
J.T. Conklin [Sat, 14 Apr 2001 19:23:02 +0000 (19:23 +0000)] 
* target.h (target_ops): Removed to_core_file_to_sym_file vector
function.
* corelow.c (core_ops): Updated for above change.
* gnu-nat.c (core_ops): Likewise.
* inftarg.c (child_ops): Likewise.
* monitor.c (monitor_ops): Likewise.
* ppc-bdm.c (bdm_ppc_ops): Likewise.
* remote-adapt.c (adapt_ops): Likewise.
* remote-bug.c (bug_ops): Likewise.
* remote-e7000.c (e7000_ops): Likewise.
* remote-eb.c (eb_ops): Likewise.
* remote-es.c (es1800_ops, es1800_child_ops): Likewise.
* remote-mm.c (mm_ops): Likewise.
* remote-nindy.c (nindy_ops): Likewise.
* remote-nrom.c (nrom_ops): Likewise.
* remote-os9k.c (rombug_ops): Likewise.
* remote-rdp.c (remote_rdp_ops): Likewise.
* remote-sim.c (gdbsim_ops): Likewise.
* remote-st.c (st2000_ops): Likewise.
* v850ice.c (v850ice_ops): Likewise.
* target.c (cleanup_target): Likewise
(update_current_target): Likewise.
(setup_target_debug): Likewise
(debug_to_core_file_to_sym_file): Removed.

* corefile.c (core_file_command) [HPUXHPPA]: Removed code that
sets symbol file from information obtained from the core file.
* corelow.c (core_file_to_sym_file): Removed.

23 years ago * section.c (STD_SECTION): Add entsize.
Jakub Jelinek [Sat, 14 Apr 2001 14:23:31 +0000 (14:23 +0000)] 
* section.c (STD_SECTION): Add entsize.

23 years ago* struc-symbol.h (struct local_symbol): New TC_LOCAL_SYMFIELD_TYPE.
Alexandre Oliva [Sat, 14 Apr 2001 06:57:28 +0000 (06:57 +0000)] 
* struc-symbol.h (struct local_symbol): New TC_LOCAL_SYMFIELD_TYPE.
* symbols.c (local_symbol_convert): Call TC_LOCAL_SYMFIELD_CONVERT.

23 years ago* config/tc-mn10300.c (md_assemble): Simplify offset adjustment of
Alexandre Oliva [Sat, 14 Apr 2001 06:53:57 +0000 (06:53 +0000)] 
* config/tc-mn10300.c (md_assemble): Simplify offset adjustment of
pc-relative relocations not placed at the end of the instruction.

23 years ago2001-04-13 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 14 Apr 2001 04:13:00 +0000 (04:13 +0000)] 
2001-04-13  H.J. Lu  <hjl@gnu.org>

* section.c (SEC_MERGE): Define new flag for merging.
(SEC_STRINGS): Likewise.
(entsize): New field.

23 years agoFix latent bug exposed by a gcc-3 bug fix.
Jim Wilson [Sat, 14 Apr 2001 03:51:40 +0000 (03:51 +0000)] 
Fix latent bug exposed by a gcc-3 bug fix.
* tc-ia64.c (is_conditional_branch): Return true for br, brl, and br.
excluding br.i.

23 years ago* coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section
DJ Delorie [Fri, 13 Apr 2001 22:42:48 +0000 (22:42 +0000)] 
* coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section
flag on pe-i386 targets.

23 years ago2001-04-13 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Fri, 13 Apr 2001 13:51:54 +0000 (13:51 +0000)] 
2001-04-13  Fernando Nasser  <fnasser@redhat.com>

From  Adam Mirowski  <Adam.Mirowski@Sun.COM>
Fixed Insight on Solaris. It was not possible to debug a process
because of EINTR "errors".
* procfs.c: (procfs_wait): if proc_wait_for_stop() fails
with EINTR, retry the call.

23 years ago* ld.texinfo: Document --fatal-warnings.
J.T. Conklin [Fri, 13 Apr 2001 02:22:23 +0000 (02:22 +0000)] 
* ld.texinfo: Document --fatal-warnings.
* ld.1: Regenerate.

* ldmisc.c (vfinfo): Set flag to inhibit making executable if
warnings have been turned into errors.
* lexsup.c (OPTION_WARN_FATAL): Define.
(ld_options): Entry for --fatal-warnings.
(parse_args): Handle OPTION_WARN_FATAL.
* ld.h (ld_config_type): Add fatal_warnings field.

23 years agobfd/
Jakub Jelinek [Fri, 13 Apr 2001 00:34:36 +0000 (00:34 +0000)] 
bfd/
* libbfd-in.h (_bfd_merge_section): New.
(_bfd_write_merged_section): New.
(_bfd_merged_section_offset): New.
* libbfd.h: Rebuilt.
* linker.c (_bfd_generic_link_output_symbols): Handle
discard_sec_merge.
* aoutx.h (aout_link_write_symbols): Likewise.
* pdp11.c (aout_link_write_symbols): Likewise.
* elflink.h (elf_link_add_object_symbols): Call _bfd_merge_section.
(elf_bfd_final_link): Adjust global symbols pointing into SEC_MERGE
sections.
(elf_link_sec_merge_syms): New.
(elf_link_input_bfd): Call _bfd_merged_section_offset
and _bfd_write_merged_section.
Handle discard_sec_merge.
* elf-bfd.h (struct elf_link_hash_table): Add merge_info
field.
(struct bfd_elf_section_data): Likewise.
* elf.c (_bfd_elf_make_section_from_shdr): Set SEC_MERGE and
SEC_STRINGS section flags and entsize from their ELF counterparts.
(_bfd_elf_link_hash_table_init): Initialize merge_info.
(elf_fake_sections): Set SHF_MERGE, SHF_STRINGS and sh_entsize
from their BFD counterparts.
* merge.c: New file.
* Makefile.am: Add strtab.lo.
* Makefile.in: Rebuilt.
include/
* bfdlink.h (bfd_link_discard): Add discard_sec_merge.
gas/
* config/obj-elf.c (obj_elf_change_section): Add entsize argument,
handle SHF_MERGE and SHF_STRINGS.
(obj_elf_parse_section_letters): Set SHF_MERGE and SHF_STRINGS.
(obj_elf_section): Allow additional argument specifying entity size.
* write.c (adjust_reloc_syms): Keep relocations against local symbols
in SEC_MERGE sections.
ld/
* ldmain.c (main): Default to discard_sec_merge.
* lexsup.c (OPTION_DISCARD_NONE): Define.
(ld_options): Add --discard-none.
(parse_args): Handle OPTION_DISCARD_NONE.
* ldlang.c (wild_doit): SEC_MERGE should be set in the output
section only if SEC_MERGE and SEC_STRINGS flags and entsize of
all its input sections match.

23 years agoRevise way in which mappings are allocated/searched.
Kevin Buettner [Thu, 12 Apr 2001 22:27:09 +0000 (22:27 +0000)] 
Revise way in which mappings are allocated/searched.

23 years ago * xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning with
Nicholas Duffek [Thu, 12 Apr 2001 19:53:09 +0000 (19:53 +0000)] 
* xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning with
"@".

23 years ago * config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.
Kevin Buettner [Thu, 12 Apr 2001 18:44:40 +0000 (18:44 +0000)] 
* config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.

23 years ago * dwarf2dbg.c (process_entries): Don't optimize redundant line notes.
Jason Merrill [Thu, 12 Apr 2001 16:00:32 +0000 (16:00 +0000)] 
    * dwarf2dbg.c (process_entries): Don't optimize redundant line notes.

23 years ago* mips.igen (CFC1, CTC1): Pass the correct register numbers to
Jim Blandy [Thu, 12 Apr 2001 14:53:20 +0000 (14:53 +0000)] 
* mips.igen (CFC1, CTC1): Pass the correct register numbers to
PENDING_FILL.  Use PENDING_SCHED directly to handle the pending
set of the FCSR.
* sim-main.h (COCIDX): Remove definition; this isn't supported by
PENDING_FILL, and you can get the intended effect gracefully by
calling PENDING_SCHED directly.

23 years ago* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
Alexandre Oliva [Thu, 12 Apr 2001 12:32:00 +0000 (12:32 +0000)] 
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.226.

23 years ago* expr.c (operand): Pass &c to md_parse_name().
Alexandre Oliva [Thu, 12 Apr 2001 07:03:10 +0000 (07:03 +0000)] 
* expr.c (operand): Pass &c to md_parse_name().
* config/tc-ia64.h, config/tc-ppc.h, config/tc-tic54x.h: Adjust.

23 years agoObsolete sun386i.
Andrew Cagney [Wed, 11 Apr 2001 22:39:07 +0000 (22:39 +0000)] 
Obsolete sun386i.

23 years ago * MAINTAINERS: Update my email address
Alan Modra [Wed, 11 Apr 2001 07:07:29 +0000 (07:07 +0000)] 
* MAINTAINERS: Update my email address
* nm.c (print_symbol_info_bsd): Use a simple printf string.

23 years ago* maint.c: Fix typo in comment.
J.T. Conklin [Wed, 11 Apr 2001 01:01:04 +0000 (01:01 +0000)] 
* maint.c: Fix typo in comment.

23 years ago * MAINTAINERS: Swap with Syd Polk as a gdbtk maintainer.
Keith Seitz [Tue, 10 Apr 2001 03:03:28 +0000 (03:03 +0000)] 
* MAINTAINERS: Swap with Syd Polk as a gdbtk maintainer.

23 years ago * elflink.h (elf_fix_symbol_flags): For non-default visibilities,
Hans-Peter Nilsson [Mon, 9 Apr 2001 03:24:32 +0000 (03:24 +0000)] 
* elflink.h (elf_fix_symbol_flags): For non-default visibilities,
only hide symbols marked STV_INTERNAL or STV_HIDDEN.

23 years agoAdd comments noting that vfork might be defined to be fork.
Kevin Buettner [Sun, 8 Apr 2001 18:26:03 +0000 (18:26 +0000)] 
Add comments noting that vfork might be defined to be fork.

23 years agoUse cleanup machinery to invoke ui_out_list_end().
Kevin Buettner [Sun, 8 Apr 2001 17:55:13 +0000 (17:55 +0000)] 
Use cleanup machinery to invoke ui_out_list_end().

23 years ago2001-04-05 Steven J. Hill <sjhill@cotw.com>
H.J. Lu [Sun, 8 Apr 2001 05:13:57 +0000 (05:13 +0000)] 
2001-04-05  Steven J. Hill  <sjhill@cotw.com>

* Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
(ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
(eelf32ltsmip.c): New target.
(eelf64btsmip.c): Likewise.
(eelf64ltsmip.c): Likewise.
* Makefile.in: Regenerated.

* configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
target.
(mips*-*-linux-gnu*): Likewise.

* emulparams/elf32ltsmip.sh: New. Traditional little endian
MIPS taget.
* emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
target.
* emulparams/elf64ltsmip.sh: New. Traditional 64bit little
endian target.

23 years ago2001-04-05 Steven J. Hill <sjhill@cotw.com>
H.J. Lu [Sun, 8 Apr 2001 05:11:49 +0000 (05:11 +0000)] 
2001-04-05  Steven J. Hill  <sjhill@cotw.com>

* config.bfd (mips*el*-*-linux-gnu*): Use traditional little
endian MIPS ELF target.
* config.bfd (mips*-*-linux-gnu*): Use traditional big endian
MIPS ELF target.

* configure.in (bfd_elf64_tradbigmips_vec): New. Traditional
64bit big endian MIPS ELF target.
(bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little
endian MIPS ELF target.
* configure: Regenerated.

* elf32-mips.c (IRIX_COMPAT): Handle traditional 64bit and
little endian targets.
(mips_elf_sym_is_global): Handle traditional targets.

* elf64-mips.c (bfd_elf64_tradbigmips_vec): New. Traditional
64bit big endian MIPS ELF target.
(bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little
endian MIPS ELF target.

* targets.c: (_bfd_target_vector): Add bfd_elf64_tradbigmips_vec
and bfd_elf64_tradlittlemips_vec.

23 years ago2001-04-07 Steven J. Hill <sjhill@cotw.com>
H.J. Lu [Sun, 8 Apr 2001 05:09:21 +0000 (05:09 +0000)] 
2001-04-07  Steven J. Hill  <sjhill@cotw.com>

* config/tc-mips.c: Support ELF64 for traditional MIPS targets.

* Makefile.am: (TARG_ENV_HFILES): Add tc-mips.h.
* Makefile.in: Regenerated.

* configure.in: Use traditional MIPS targets for Linux/MIPS.
* configure: Regenerated.

23 years ago* dcache.c (dcache_write_line): Fixed bugs where cache line was
J.T. Conklin [Fri, 6 Apr 2001 22:43:55 +0000 (22:43 +0000)] 
* dcache.c (dcache_write_line): Fixed bugs where cache line was
not written to target correctly.

23 years ago* gdbserver/low-hppabsd.c (read_inferior_memory): Add explicit
J.T. Conklin [Fri, 6 Apr 2001 22:25:09 +0000 (22:25 +0000)] 
* gdbserver/low-hppabsd.c (read_inferior_memory): Add explicit
  void return value;
* gdbserver/low-nbsd.c: Likewise.
* gdbserver/low-sparc.c: Likewise.
* gdbserver/low-sun3.c: Likewise.
---------------------------------------------------------------------

23 years agoAdd self to write-after-approval list.
Geoffrey Keating [Fri, 6 Apr 2001 21:05:27 +0000 (21:05 +0000)] 
Add self to write-after-approval list.

23 years ago * config/rs6000/nm-rs6000.h (PTRACE_ATTACH): Don't define.
Geoffrey Keating [Fri, 6 Apr 2001 21:05:10 +0000 (21:05 +0000)] 
* config/rs6000/nm-rs6000.h (PTRACE_ATTACH): Don't define.
(PTRACE_DETACH): Don't define.

23 years agoCorrect erroneous ChangeLog.
Christopher Faylor [Fri, 6 Apr 2001 19:24:16 +0000 (19:24 +0000)] 
Correct erroneous ChangeLog.

23 years ago2001-04-06 David Smith <dsmith@redhat.com>
David Smith [Fri, 6 Apr 2001 17:53:39 +0000 (17:53 +0000)] 
2001-04-06  David Smith  <dsmith@redhat.com>

* arch-utils.c (default_prepare_to_proceed)
(generic_prepare_to_proceed): Added new functions.
* arch-utils.h: New function declarations for
default_prepare_to_proceed() and generic_prepare_to_proceed().
* gdbarch.sh: Added PREPARE_TO_PROCEED.
* gdbarch.c: Regenerated.
* gdbarch.h: Regenerated.
* inferior.h: Added get_last_target_status() declaration.
* infrun.c (get_last_target_status): Added new function.
(handle_inferior_event): Saves last pid and waitstatus, which will
get returned by get_last_target_status().

* hppa-tdep.c (prepare_to_proceed):  Added comment stating that
prepare_to_proceed() is potentially redundant since
default_prepare_to_proceed() has been added.
* linux-thread.c (prepare_to_proceed): Ditto.
* lin-lwp.c (prepare_to_proceed): Ditto.
* m3-nat.c (prepare_to_proceed): Ditto.

23 years agoObsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platforms
Andrew Cagney [Fri, 6 Apr 2001 16:25:22 +0000 (16:25 +0000)] 
Obsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platforms
and powerpc-*-netware* target.

23 years ago2001-04-06 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Fri, 6 Apr 2001 13:14:55 +0000 (13:14 +0000)] 
2001-04-06  Fernando Nasser  <fnasser@redhat.com>

* buildsym.c (record_line): Turn off unused addr bits.

23 years agoman page generation from gprof.texi by Stephane Carrez
Alan Modra [Fri, 6 Apr 2001 12:13:40 +0000 (12:13 +0000)] 
man page generation from gprof.texi by Stephane Carrez

23 years ago2001-04-06 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Fri, 6 Apr 2001 12:09:30 +0000 (12:09 +0000)] 
2001-04-06  Fernando Nasser  <fnasser@redhat.com>

From David Deephanphongs <deephan@telocity.com>
* inferior.h:   Fix declarations of get_inferior_args and
set_inferior_args, which were missing the trailing 's'.

23 years ago * i386-dis.c: Add ffreep instruction.
Andreas Jaeger [Fri, 6 Apr 2001 09:27:33 +0000 (09:27 +0000)] 
* i386-dis.c: Add ffreep instruction.

23 years ago* config/tc-mn10300.c (xr_registers): Added `pc'.
Alexandre Oliva [Fri, 6 Apr 2001 07:50:48 +0000 (07:50 +0000)] 
* config/tc-mn10300.c (xr_registers): Added `pc'.

This page took 0.04046 seconds and 4 git commands to generate.