platform/upstream/binutils.git
23 years ago2001-07-02 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 6 Jul 2001 22:51:21 +0000 (22:51 +0000)]
2001-07-02  Michael Snyder  <msnyder@redhat.com>

        * gdb.base/completion.exp: Don't assume that break.c is the only
source file that may contain functions named "marker".

23 years ago* lin-lwp.c (count_events_callback): Fix formatting. Turn check
Mark Kettenis [Fri, 6 Jul 2001 22:31:47 +0000 (22:31 +0000)]
* lin-lwp.c (count_events_callback): Fix formatting.  Turn check
commented with "paranoia" into gdb_assert.
(select_event_lwp_callback): Likewise.
(cancel_breakpoints_callback): Bail out early if LP is the event
LWP.  Add comment about backup up breakpoints.  Fix formatting and
debug message.
(select_event_lwp): Make solely repsonsible for switching event
LWP.  Fix formatting and remove bogus "ERROR" debug message.
Don't backup breakpoints from here.
(lin_lwp_wait): Don't touch LP->status, let select_event_lwp
handle that.  Only call select_event_lwp if we're not waiting for
a specific LWP, i.e. when PID == -1.  Backup breakpoints from here.

23 years ago2001-07-07 Ben Elliston <bje@redhat.com>
Ben Elliston [Fri, 6 Jul 2001 22:14:07 +0000 (22:14 +0000)]
2001-07-07  Ben Elliston  <bje@redhat.com>

* m88k.h: Clean up and reformat. Remove unused code.

23 years ago2001-07-06 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 6 Jul 2001 21:31:04 +0000 (21:31 +0000)]
2001-07-06  Michael Snyder  <msnyder@redhat.com>

* procfs.c (procfs_resume): Silence noisy warning.

23 years ago2001-07-06 John Healy <jhealy@redhat.com>
John Healy [Fri, 6 Jul 2001 19:09:23 +0000 (19:09 +0000)]
2001-07-06  John Healy  <jhealy@redhat.com>

        * cgen.c (gas_cgen_save_fixups): Modified to allow more than one
        set of fixups to be stored.
        (gas_cgen_restore_fixups): Modified to allow the fixup chain to be
        restored to be chosen from any that are saved.
        (gas_cgen_swap_fixups): Modified to allow the current set of
        fixups to be swapped with any other set that has been saved.
        (gas_cgen_initialize_saved_fixups_array): New routine.
        * cgen.h: Modifed prototypes for gas_cgen_save_fixups,
        gas_cgen_restore_fixups, and gas_cgen_swap_fixups.  Added definitions
        or MAX_SAVED_FIXUP_CHAINS.
        * config/tc-m32r.c (assemble_two_insns): Changed calls to fixup
        store, swap and restore fuctions to reflect the new interface.

23 years ago2001-06-12 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 6 Jul 2001 19:06:24 +0000 (19:06 +0000)]
2001-06-12  Michael Snyder  <msnyder@redhat.com>

* lin-lwp.c: Prevent thread starvation by using a monte carlo
method to choose which of several event threads to handle next.

(stop_wait_callback): Defer pushback of breakpoint events until
later; add SIGTRAP events to the queue of unhandled events.
Keep calling waitpid until SIGSTOP retrieved.  If more than one
non-SIGSTOP event is retrieved, push them back onto the process
queue using kill.
(count_events_callback, select_singlestep_lwp_callback,
select_event_lwp_callback, cancel_breakpoints_callback,
select_event_lwp): New functions.  Implement monte carlo method
for selecting which of several SIGTRAP threads to handle next.
Push back the breakpoint event for all threads other than the
selected one.
(lin_lwp_wait): Call select_event_lwp to decide which of several
sigtrapped lwps to handle next.
(resume_callback): Disable code that attempts to handle
step_resume breakpoints.  Let core gdb handle this.

23 years ago* gdbtypes.h (builtin_type_void_func_ptr): New builtin type.
Jim Blandy [Fri, 6 Jul 2001 14:44:19 +0000 (14:44 +0000)]
* gdbtypes.h (builtin_type_void_func_ptr): New builtin type.
* gdbtypes.c (builtin_type_void_func_ptr): Define the variable.
(build_gdbtypes): Initialize it.
(_initialize_gdbtypes): Swap it.

23 years agoCatch and ignore empty, ineffectual alignment frags when deciding if a
Nick Clifton [Fri, 6 Jul 2001 08:21:35 +0000 (08:21 +0000)]
Catch and ignore empty, ineffectual alignment frags when deciding if a
branch can be short.

23 years agoAnd remove the seconf accidental patch commission.
Nick Clifton [Fri, 6 Jul 2001 08:05:27 +0000 (08:05 +0000)]
And remove the seconf accidental patch commission.

23 years agoRemove patch accidentally checked in with readelf.c patch
Nick Clifton [Fri, 6 Jul 2001 08:01:17 +0000 (08:01 +0000)]
Remove patch accidentally checked in with readelf.c patch

23 years ago32-bit unwind data for ia64-hpux, from Steve Ellcey
Jim Wilson [Fri, 6 Jul 2001 07:32:42 +0000 (07:32 +0000)]
32-bit unwind data for ia64-hpux, from Steve Ellcey
* config/tc-ia64.c (special_section): Add SPECIAL_SECTION_INIT_ARRAY
and SPECIAL_SECTION_FINI_ARRAY.
(special_section_name): Add .init_array and .fini_array.
(md_pseudo_table): Add init_array and fini_array.
(md): Add pointer_size and pointer_size_shift fields.
(setup_unwind_header): New static function.
(output_unw_records): Modify to use setup_unwind_header.
(generate_unwind_image, dot_endp): Modify to use md.pointer_size and
md.pointer_size_shift.
(md_begin): Initialize md.pointer_size and md.pointer_size_shift.

23 years agoBranch prediction code cleanup
Daniel Jacobowitz [Fri, 6 Jul 2001 05:35:17 +0000 (05:35 +0000)]
Branch prediction code cleanup

23 years agoMention mi0 and mi1 as --interpreter options.
Andrew Cagney [Fri, 6 Jul 2001 04:07:29 +0000 (04:07 +0000)]
Mention mi0 and mi1 as --interpreter options.

23 years agoReplace:
Andrew Cagney [Fri, 6 Jul 2001 03:53:11 +0000 (03:53 +0000)]
Replace:
  if (interpreter_p && strncmp (interpreter_p, "mi", 2) == 0)
with:
  if (ui_out_is_mi_like_p (uiout))

23 years agoOops, missed committing entry for 2001-07-05 change.
Alan Modra [Fri, 6 Jul 2001 02:02:42 +0000 (02:02 +0000)]
Oops, missed committing entry for 2001-07-05 change.

23 years ago*** empty log message ***
gdbadmin [Fri, 6 Jul 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * mips-tdep.c (mips_software_single_step): New function.
Daniel Jacobowitz [Thu, 5 Jul 2001 23:30:43 +0000 (23:30 +0000)]
    * mips-tdep.c (mips_software_single_step): New function.
        * config/mips/tm-mips.h: Add prototype for
        mips_software_single_step.

23 years ago * ppc-linux-nat.c (supply_gregset): Use elf_greg_t instead
Daniel Jacobowitz [Thu, 5 Jul 2001 23:22:04 +0000 (23:22 +0000)]
    * ppc-linux-nat.c (supply_gregset): Use elf_greg_t instead
        of greg_t.
        (fill_gregset): Likewise.

23 years agoFix ia64-linux fortran common linking problem.
Jim Wilson [Thu, 5 Jul 2001 22:40:16 +0000 (22:40 +0000)]
Fix ia64-linux fortran common linking problem.
* linker.c (_bfd_generic_link_add_one_symbol, case BIG): Use
the section of the bigger symbol.

23 years agos/basename/lbasename/
Andrew Cagney [Thu, 5 Jul 2001 21:32:39 +0000 (21:32 +0000)]
s/basename/lbasename/

23 years ago* d10v-tdep.c (d10v_frame_chain, d10v_frame_init_saved_regs,
Jim Blandy [Thu, 5 Jul 2001 21:27:08 +0000 (21:27 +0000)]
* d10v-tdep.c (d10v_frame_chain, d10v_frame_init_saved_regs,
show_regs, d10v_read_pc, d10v_write_pc, d10v_read_sp,
d10v_write_sp, d10v_write_fp, d10v_read_fp,
d10v_push_return_address): Call the functions d10v_make_daddr,
d10v_make_iaddr, d10v_convert_iaddr_to_raw, and
d10v_convert_daddr_to_raw, not the global macros D10V_MAKE_DADDR,
D10V_MAKE_IADDR, D10V_CONVERT_IADDR_TO_RAW, and
D10V_CONVERT_DADDR_TO_RAW.

23 years agoFix ia64-linux binutils readelf -s testsuite failure.
Jim Wilson [Thu, 5 Jul 2001 18:27:55 +0000 (18:27 +0000)]
Fix ia64-linux binutils readelf -s testsuite failure.
* syms.c (bfd_is_local_label): Return false if BSF_SECTION_SYM.

23 years agomerge from gcc
DJ Delorie [Thu, 5 Jul 2001 17:29:17 +0000 (17:29 +0000)]
merge from gcc

23 years ago* dwarf2read (dwarf2_build_psymtabs_hard): Doc fix.
Jim Blandy [Thu, 5 Jul 2001 16:45:48 +0000 (16:45 +0000)]
* dwarf2read (dwarf2_build_psymtabs_hard): Doc fix.

23 years ago* config/i386/xm-go32.h (HOST_I386): Removed.
Mark Kettenis [Thu, 5 Jul 2001 14:40:51 +0000 (14:40 +0000)]
* config/i386/xm-go32.h (HOST_I386): Removed.
* config/i386/xm-linux.h (HOST_I386): Removed.

23 years ago2001-07-05 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 5 Jul 2001 13:51:26 +0000 (13:51 +0000)]
2001-07-05  Ben Elliston  <bje@redhat.com>

* Make-common.in (srccgen): Remove.
(CGEN_CPU_DIR): Define.
(CGEN_READ_SCM): Redefine without $(srccgen).
(CGEN_ARCH_SCM): Ditto.
(CGEN_CPU_SCM): Ditto.
(CGEN_DECODE_SCM): Ditto.
(CGEN_DESC_SCM): Ditto.

* $arch/Makefile.in: Use $(CGEN_CPU_DIR) where applicable.

23 years ago2001-07-05 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 5 Jul 2001 13:12:23 +0000 (13:12 +0000)]
2001-07-05  Ben Elliston  <bje@redhat.com>

* Makefile.am (CPUDIR): Define.
(stamp-m32r): Update dependencies.
(stamp-fr30): Ditto.
(stamp-openrisc): Ditto.
* Makefile.in: Regenerate.

23 years ago2001-07-05 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 5 Jul 2001 11:28:57 +0000 (11:28 +0000)]
2001-07-05  Ben Elliston  <bje@redhat.com>

* README (Supported platforms): m88k no longer suffers bitrot.

23 years ago2001-07-05 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 5 Jul 2001 11:00:28 +0000 (11:00 +0000)]
2001-07-05  Ben Elliston  <bje@redhat.com>

* lib/utils-lib.exp (target_assemble): Remove duplicate copy.
(default_target_assemble): Likewise.

23 years agoFor sections containing uninitialised data, only set their size to s_paddr
Nick Clifton [Thu, 5 Jul 2001 10:52:25 +0000 (10:52 +0000)]
For sections containing uninitialised data, only set their size to s_paddr
if this does not reset their size to zero.  MS's latest compilers will set
s_paddr to zero.

23 years agoDisplay the contents of a .debug.macinfo section
Nick Clifton [Thu, 5 Jul 2001 07:49:05 +0000 (07:49 +0000)]
Display the contents of a .debug.macinfo section

23 years ago2001-07-05 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 5 Jul 2001 07:28:06 +0000 (07:28 +0000)]
2001-07-05  Ben Elliston  <bje@redhat.com>

* config/tc-m88k.c (md_pseudo_table): Remove redundant "global".

23 years ago2001-07-05 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 5 Jul 2001 07:27:16 +0000 (07:27 +0000)]
2001-07-05  H.J. Lu  <hjl@gnu.org>

* objcopy.c (filter_symbols): Don't turn undefined symbols
into local.

23 years ago * struc-symbol.h (struct local_symbol): Rename lsy_offset to
Alan Modra [Thu, 5 Jul 2001 05:49:13 +0000 (05:49 +0000)]
* struc-symbol.h (struct local_symbol): Rename lsy_offset to
lsy_value.  Correct typos in comments.
* symbols.c (local_symbol_make): Update for name change.
(local_symbol_convert): Likewise.
(colon): Likewise.
(S_GET_VALUE): Likewise.
(S_SET_VALUE): Likewise.
(print_symbol_value_1): Likewise.
(resolve_symbol_value): Likewise.  Don't divide local sym values
by OCTETS_PER_BYTE twice.

23 years agoFix ia64-linux gas ehopt testsuite failure.
Jim Wilson [Thu, 5 Jul 2001 03:34:42 +0000 (03:34 +0000)]
Fix ia64-linux gas ehopt testsuite failure.
* config/tc-ia64.c (md_pseudo_table): Add 2byte, 4byte, and 8byte.

23 years agoFix 2 ia64-linux gas testsuite failures.
Jim Wilson [Thu, 5 Jul 2001 02:30:21 +0000 (02:30 +0000)]
Fix 2 ia64-linux gas testsuite failures.
* config/tc-ia64.c (is_conditional_branch): Rewrite to exclude mod
sched branches.

23 years ago2001-07-05 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 5 Jul 2001 00:36:50 +0000 (00:36 +0000)]
2001-07-05  Ben Elliston  <bje@redhat.com>

* read.c (s_fill): Correct spelling error in comments.

23 years ago2001-07-05 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 5 Jul 2001 00:25:28 +0000 (00:25 +0000)]
2001-07-05  Ben Elliston  <bje@redhat.com>

* doc/c-m88k.texi: New file.
* doc/Makefile.am (CPU_DOCS): Add c-m88k.texi.
* doc/Makefile.in: Regenerate.
* doc/all.texi: Set M880X0.
* doc/as.texinfo: Hook in m88k-dependent documentation.

23 years ago*** empty log message ***
gdbadmin [Thu, 5 Jul 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* i387-tdep.c (print_i387_value): Add extra space after final full
Mark Kettenis [Wed, 4 Jul 2001 21:14:05 +0000 (21:14 +0000)]
* i387-tdep.c (print_i387_value): Add extra space after final full
stop in comment.

23 years ago* gdbint.texinfo (Target Architecture Definition): GDBARCH is a C
Andrew Cagney [Wed, 4 Jul 2001 20:52:14 +0000 (20:52 +0000)]
* gdbint.texinfo (Target Architecture Definition): GDBARCH is a C
structure and not macros.
(Host Definition): Document that much of this chapter is obsolete.
(Target Architecture Definition): Update list of files that make
up a target architecture.
(Coding): Update.

23 years ago* config/arm/tm-arm.h: Include "floatformat.h".
Andrew Cagney [Wed, 4 Jul 2001 19:57:53 +0000 (19:57 +0000)]
* config/arm/tm-arm.h: Include "floatformat.h".

23 years ago* i387-tdep.c: Include "gdb_assert.h".
Andrew Cagney [Wed, 4 Jul 2001 19:19:58 +0000 (19:19 +0000)]
* i387-tdep.c: Include "gdb_assert.h".
(print_i387_value): Use extract_floating to extract the FP value
from a zero padded local buffer.

23 years ago* TODO: Delete all thread items. The thread code was overhauled.
Andrew Cagney [Wed, 4 Jul 2001 18:51:51 +0000 (18:51 +0000)]
* TODO: Delete all thread items.  The thread code was overhauled.

23 years ago2001-07-04 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 4 Jul 2001 18:06:02 +0000 (18:06 +0000)]
2001-07-04  Elena Zannoni  <ezannoni@redhat.com>

* memattr.c (create_mem_region): Move n to next memory region,
to avoid infinite loop.

23 years ago2001-07-04 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 4 Jul 2001 17:59:02 +0000 (17:59 +0000)]
2001-07-04  Elena Zannoni  <ezannoni@redhat.com>

* memattr.h: Add copyright statement.
* memattr.c: Ditto.

23 years ago* dwarf2read.c (struct partial_die_info): New member: has_pc_info.
Jim Blandy [Wed, 4 Jul 2001 16:08:20 +0000 (16:08 +0000)]
* dwarf2read.c (struct partial_die_info): New member: has_pc_info.
(read_partial_die): Delete fourth argument; we return this info in
the struct partial_die_info object itself now.
(dwarf2_build_psymtabs_hard, scan_partial_symbols): Use the
has_pc_info field of the partial die struct, rather than passing a
variable by reference to read_partial_die.

23 years agoDoc fix.
Jim Blandy [Wed, 4 Jul 2001 16:00:35 +0000 (16:00 +0000)]
Doc fix.

23 years ago* dwarf2read.c (dwarf2_build_psymtabs_hard): Remove extraneous
Jim Blandy [Wed, 4 Jul 2001 16:00:08 +0000 (16:00 +0000)]
* dwarf2read.c (dwarf2_build_psymtabs_hard): Remove extraneous
code in loop condition.  This seemed to be trying to round
info_ptr up to the next four-byte boundary, but that's not what it
actually did.  If we discover the problem the old code was really
trying to address, we can fix it properly.

23 years ago2001-07-04 Eric Christopher <echristo@redhat.com>
Eric Christopher [Wed, 4 Jul 2001 12:32:07 +0000 (12:32 +0000)]
2001-07-04  Eric Christopher  <echristo@redhat.com>

* doc/c-mips.texi (MIPS Opts): Document 12000 as valid cpu.

* config/tc-mips.c (mips_cpu_info_table): Add rm5200, rm5231, rm5261,
and rm5721 as valid cpu strings.
(md_show_usage): Add rm5200, rm5231, rm5261, rm5721.

23 years ago[gas]
Richard Sandiford [Wed, 4 Jul 2001 09:49:29 +0000 (09:49 +0000)]
[gas]
* config/tc-mips.c (md_apply_fix): Prevent addend from becoming zero
if it's expected to be non-zero.
[gas/testsuite]
* gas/mips/elf-rel3.s: Add zero word to end of file.

23 years ago2001-07-04 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 4 Jul 2001 07:15:20 +0000 (07:15 +0000)]
2001-07-04  H.J. Lu  <hjl@gnu.org>

* bfd/elf32-mips.c (_bfd_mips_elf_final_write_processing):
Handle bfd_mach_mips4400, bfd_mach_mips4600 and
bfd_mach_mips5000.

23 years ago*** empty log message ***
gdbadmin [Wed, 4 Jul 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-07-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 3 Jul 2001 23:22:20 +0000 (23:22 +0000)]
2001-07-03  H.J. Lu  <hjl@gnu.org>

* scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
2001-07-03. It creates dynamic entries even for static binaries.

23 years ago2001-07-03 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 3 Jul 2001 21:04:49 +0000 (21:04 +0000)]
2001-07-03  Michael Snyder  <msnyder@redhat.com>

* thread_db (find_new_threads_callback, thread_db_thread_alive,
        attach_thread): Update comments.

23 years ago2001-06-29 Ken Whaley <ken@believe.com>
Michael Snyder [Tue, 3 Jul 2001 21:01:59 +0000 (21:01 +0000)]
2001-06-29  Ken Whaley  <ken@believe.com>

* thread-db.c (attach_thread): Check for TD_THR_ZOMBIE in addition
to TD_THR_UNKNOWN when looking for defunct zombie threads.
(thread_db_thread_alive): Ditto.
(find_new_threads_callback): Ditto.

23 years ago2001-07-03 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 3 Jul 2001 19:52:46 +0000 (19:52 +0000)]
2001-07-03  Michael Snyder  <msnyder@redhat.com>

* gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
the output of the ptype command.

23 years ago2001-07-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 3 Jul 2001 18:49:04 +0000 (18:49 +0000)]
2001-07-03  H.J. Lu  <hjl@gnu.org>

* gas/mips/lb-xgot-ilocks.d: Add -march=r3900.

23 years agoFix encoding of clf instruction
Nick Clifton [Tue, 3 Jul 2001 18:37:39 +0000 (18:37 +0000)]
Fix encoding of clf instruction

23 years ago2001-07-03 Jakub Jelinek <jakub@redhat.com>
H.J. Lu [Tue, 3 Jul 2001 17:40:14 +0000 (17:40 +0000)]
2001-07-03  Jakub Jelinek  <jakub@redhat.com>

* scripttempl/elf.sc (DYNAMIC_PAD): New variable.
(DYNAMIC): Use it to reserve few dynamic entries for
post-linking tools.

23 years ago2001-07-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 3 Jul 2001 16:35:34 +0000 (16:35 +0000)]
2001-07-03  H.J. Lu <hjl@gnu.org>

* doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
$@.pod.
(ar.1): Likewise.
(dlltool.1): Likewise.
(nlmconv.1): Likewise.
(nm.1): Likewise.
(objcopy.1): Likewise.
(objdump.1): Likewise.
(ranlib.1): Likewise.
(readelf.1): Likewise.
(size.1): Likewise.
(strings.1): Likewise.
(strip.1): Likewise.
(windres.1): Likewise.
(cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
($(DEMANGLER_NAME).1): Also substitute cxxfilt with
$(DEMANGLER_NAME).
(as.1): Removed.
* doc/Makefile.in: Regenerated.

23 years agoSupport DJGPP COFF targets in bfd_get_sign_extend_vma()
Nick Clifton [Tue, 3 Jul 2001 16:27:45 +0000 (16:27 +0000)]
Support DJGPP COFF targets in bfd_get_sign_extend_vma()

23 years agoSkip section symbols from sections being discarded
Nick Clifton [Tue, 3 Jul 2001 15:49:46 +0000 (15:49 +0000)]
Skip section symbols from sections being discarded

23 years agoFix seg fault by replacing symbol_get_frag() with fscan->fx_frag.
Nick Clifton [Tue, 3 Jul 2001 15:22:19 +0000 (15:22 +0000)]
Fix seg fault by replacing symbol_get_frag() with fscan->fx_frag.

23 years agoChange MIPS maintainer to Erci Christopher
Nick Clifton [Tue, 3 Jul 2001 15:08:42 +0000 (15:08 +0000)]
Change MIPS maintainer to Erci Christopher

23 years agoFix mips16 testsuite failure by allowing finalize_syms to be set before
Nick Clifton [Tue, 3 Jul 2001 15:04:19 +0000 (15:04 +0000)]
Fix mips16 testsuite failure by allowing finalize_syms to be set before
size_segs is called.

23 years ago*** empty log message ***
gdbadmin [Tue, 3 Jul 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-07-02 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 2 Jul 2001 21:54:14 +0000 (21:54 +0000)]
2001-07-02  Michael Snyder  <msnyder@redhat.com>

* gdb.base/corefile.exp: Quote the curly braces in regexp.

23 years agoMAINTAINERS: Add myself to the write-after-approval list
Daniel Jacobowitz [Mon, 2 Jul 2001 19:40:47 +0000 (19:40 +0000)]
MAINTAINERS: Add myself to the write-after-approval list

23 years ago2001-07-02 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Mon, 2 Jul 2001 19:37:59 +0000 (19:37 +0000)]
2001-07-02  Daniel Jacobowitz  <drow@mvista.com>
        * solib-svr4.c: Include "elf/mips.h".
        (elf_locate_base): Make DT_MIPS_RLD_MAP block unconditional.

23 years ago* dwarf2read.c (read_comp_unit, sibling_die, dump_die,
Jim Blandy [Mon, 2 Jul 2001 17:43:07 +0000 (17:43 +0000)]
* dwarf2read.c (read_comp_unit, sibling_die, dump_die,
dump_die_list, store_in_ref_table, follow_die_ref): Make these
static; they're private functions.

23 years ago * config/tc-ppc.c: Formatting fixes.
Alan Modra [Mon, 2 Jul 2001 10:54:49 +0000 (10:54 +0000)]
* config/tc-ppc.c: Formatting fixes.

23 years ago*** empty log message ***
gdbadmin [Mon, 2 Jul 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * coffread.c (coff_symfile_read): Parse DWARF2 info if present.
Eli Zaretskii [Sun, 1 Jul 2001 10:04:58 +0000 (10:04 +0000)]
    * coffread.c (coff_symfile_read): Parse DWARF2 info if present.

23 years agoSupport DWARF 2.1 tags, encodings, languages.
Nick Clifton [Sun, 1 Jul 2001 08:53:15 +0000 (08:53 +0000)]
Support DWARF 2.1 tags, encodings, languages.

23 years ago2001-07-01 Ben Elliston <bje@redhat.com>
Ben Elliston [Sun, 1 Jul 2001 06:36:43 +0000 (06:36 +0000)]
2001-07-01  Ben Elliston  <bje@redhat.com>

* config/tc-m88k.c: Back out warning fixes from 2001-06-24, as
they cause some subtle breakage.  Will fix them again later.

23 years ago* fix tabs in this change:
Ben Elliston [Sun, 1 Jul 2001 06:32:07 +0000 (06:32 +0000)]
* fix tabs in this change:
  2001-06-28  Eric Christopher <echristo@redhat.com>
              H.J. Lu  <hjl@gnu.org>

23 years ago2001-07-01 Ben Elliston <bje@redhat.com>
Ben Elliston [Sun, 1 Jul 2001 06:16:55 +0000 (06:16 +0000)]
2001-07-01  Ben Elliston  <bje@redhat.com>

* gas/m88k/allinsn.s: New file.
* gas/m88k/allinsn.d: Likewise.
* gas/m88k/m88k.exp: Test with allinsn.s also.

23 years ago * cgen-ibld.in (insert_normal): Support CGEN_IFLD_SIGN_OPT.
Geoffrey Keating [Sun, 1 Jul 2001 02:48:46 +0000 (02:48 +0000)]
* cgen-ibld.in (insert_normal): Support CGEN_IFLD_SIGN_OPT.

23 years ago*** empty log message ***
gdbadmin [Sun, 1 Jul 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoTreat a .ln directive outside of a function as a .appline directive.
Nick Clifton [Sat, 30 Jun 2001 10:09:40 +0000 (10:09 +0000)]
Treat a .ln directive outside of a function as a .appline directive.

23 years agoRemerge with gcc
Nick Clifton [Sat, 30 Jun 2001 08:58:10 +0000 (08:58 +0000)]
Remerge with gcc

23 years ago * elfcore.h (elf_core_file_p): Call bfd_section_from_phdr directly
Alan Modra [Sat, 30 Jun 2001 04:05:13 +0000 (04:05 +0000)]
* elfcore.h (elf_core_file_p): Call bfd_section_from_phdr directly
instead of _bfd_elfcore_section_from_phdr.
* elf-bfd.h (_bfd_elfcore_section_from_phdr): Remove.
* elf.c (_bfd_elfcore_section_from_phdr): Remove.
(_bfd_elfcore_make_pseudosection): Expedite tail-call.
(elfcore_grok_prstatus): Likewise.
(elfcore_grok_lwpstatus): Likewise.
(bfd_get_elf_phdr_upper_bound): Likewise.
(elfcore_make_note_pseudosection): Formatting.
(_bfd_elfcore_strndup): Formatting.
* elf32-mips.c (mips_elf_sym_is_global): Formatting.
(_bfd_elf32_mips_grok_prstatus): Expedite tail-call.

23 years ago * elf-bfd.h: Add prototypes for _bfd_elfcore_make_pseudosection
Alan Modra [Sat, 30 Jun 2001 03:15:46 +0000 (03:15 +0000)]
* elf-bfd.h: Add prototypes for _bfd_elfcore_make_pseudosection
and _bfd_elfcore_strndup.
(struct elf_backend_data): Add elf_backend_grok_prstatus
and elf_backend_grok_psinfo.
* elf.c (_bfd_elfcore_make_pseudosection): New function.
(elfcore_grok_prstatus): Use it.
(elfcore_make_note_pseudosection): Likewise.
(elfcore_strndup):  Rename to...
(_bfd_elfcore_strndup): Here, and make global.
(elfcore_grok_psinfo): Use _bfd_elfcore_strndup.
(elfcore_grok_note): Call elf_backend_grok_prstatus
and elf_backend_grok_psinfo if available.
* elf32-mips.c (_bfd_elf32_mips_grok_prstatus): New function.
(_bfd_elf32_mips_grok_psinfo): New function.
(elf_backend_grok_prstatus): Define.
(elf_backend_grok_psinfo): Define.
* elfxx-target.h (elf_backend_grok_prstatus): Default to NULL.
(elf_backend_grok_psinfo): Likewise.
(elfNN_bed): Include elf_backend_grok_prstatus and
elf_backend_grok_psinfo.

23 years ago2001-06-29 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 30 Jun 2001 00:34:10 +0000 (00:34 +0000)]
2001-06-29  H.J. Lu  <hjl@gnu.org>

* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Check if
hplink->sgot is NULL before filling GOT. Checck if hplink->splt
is NULL before filling PLT.

23 years ago*** empty log message ***
gdbadmin [Sat, 30 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-06-28 Eric Christopher <echristo@redhat.com>
Eric Christopher [Fri, 29 Jun 2001 21:27:43 +0000 (21:27 +0000)]
2001-06-28  Eric Christopher <echristo@redhat.com>
    H.J. Lu  <hjl@gnu.org>

        * config/tc-mips.c (mips_arch): New. Use mips_arch instead
        of mips_cpu for the ISA selection.
        (md_longopts): Add OPTION_MARCH and OPTION_MTUNE.
        (md_parse_option): Handle OPTION_MARCH and OPTION_MTUNE.
(mips_tune): New.  Use mips_tune for scheduling and optimization
issues.
(append_insn): Use mips_tune and mips_arch.
(macro_build): Ditto.
(mips_ip): Ditto.
(md_begin): Handle mips_arch, mips_tune and mips_cpu.  For
backwards compatability mips_cpu generates arch and tune.
(md_show_usage): Document new behavior.

* doc/c-mips.texi (MIPS Opts): Document -march and -mtune.
Deprecate -mcpu.

* NEWS: Update.

2001-06-28  Eric Christopher  <echristo@redhat.com>

* gas/mips/usd.d: Change for march/mtune.
* gas/mips/ulh-xgot.d: Ditto.
* gas/mips/uld.d: Ditto.
* gas/mips/trunc.d: Ditto.
* gas/mips/rol.d: Ditto.
* gas/mips/nodelay.d: Ditto.
* gas/mips/mul.d: Ditto.
* gas/mips/mul-ilocks.d: Ditto.
* gas/mips/trap20.d: Ditto.
* gas/mips/mips4.d: Ditto.
* gas/mips/mips16.d: Ditto.
* gas/mips/lif-xgot.d: Ditto.
* gas/mips/lif-svr4pic.d: Ditto.
* gas/mips/ld-xgot.d: Ditto.
* gas/mips/ld-svr4pic.d: Ditto.
* gas/mips/ld-ilocks-addr32.d: Ditto.
* gas/mips/lb-xgot.d: Ditto.
* gas/mips/jal-xgot.d: Ditto.
* gas/mips/jal-svr4pic.d: Ditto.
* gas/mips/delay.d: Ditto.
* gas/mips/lb-xgot-ilocks.d: Ditto.
* gas/mips/div.d: Ditto.
* gas/mips/break20.d: Ditto.
* gas/mips/delay.d: Ditto.
* gas/mips/elf_e_flags3.d: Ditto.
* gas/mips/elf_e_flags4.d: Ditto.
* gas/mips/lineno.d: Ditto.
* gas/mips/mips16.d: Ditto.
* gas/mips/mips4.d: Ditto.
* gas/mips/mips4010.d: Ditto.
* gas/mips/mips4650.d: Ditto.

23 years ago2001-06-28 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 29 Jun 2001 20:32:48 +0000 (20:32 +0000)]
2001-06-28  Elena Zannoni  <ezannoni@redhat.com>

        * TODO: Add import of readline 4.2 as a gdb 5.2 task.

23 years ago* gdbint.texinfo (Target Architecture Definition): Update
Andrew Cagney [Fri, 29 Jun 2001 16:21:45 +0000 (16:21 +0000)]
* gdbint.texinfo (Target Architecture Definition): Update
EXTRACT_STRUCT_VALUE_ADDRESS and EXTRACT_STRUCT_VALUE_ADDRESS_P.
The latter has been changed to a true predicate.

23 years agoSort file.
Andrew Cagney [Fri, 29 Jun 2001 16:17:34 +0000 (16:17 +0000)]
Sort file.

23 years ago* config/djgpp/fnchange.lst: Rename mi0-var-block.exp,
Andrew Cagney [Fri, 29 Jun 2001 15:53:36 +0000 (15:53 +0000)]
* config/djgpp/fnchange.lst: Rename mi0-var-block.exp,
mi0-var-cmd.exp, mi0-var-child.exp and mi0-var-display.exp.

23 years ago2001-06-29 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Fri, 29 Jun 2001 15:13:03 +0000 (15:13 +0000)]
2001-06-29  Andreas Jaeger  <aj@suse.de>

* MAINTAINERS: Add myself to the write-after-approval list.

23 years agoAdd DWARF 2.1 attributes
Nick Clifton [Fri, 29 Jun 2001 14:17:31 +0000 (14:17 +0000)]
Add DWARF 2.1 attributes

23 years ago* elflink.h (elf_link_output_extsym): Revert 1999-04-10.
Alan Modra [Fri, 29 Jun 2001 07:00:33 +0000 (07:00 +0000)]
* elflink.h (elf_link_output_extsym): Revert 1999-04-10.

23 years ago* remote-array.c (SWAP_TARGET_AND_HOST): Delete macro.
Andrew Cagney [Fri, 29 Jun 2001 04:41:20 +0000 (04:41 +0000)]
* remote-array.c (SWAP_TARGET_AND_HOST): Delete macro.
(get_hex_word): Don't use HOST_BYTE_ORDER.
(array_fetch_registers): Add variable ``reg''.  Use
store_unsigned_integer to byte-swap the register.  Delete unused
local ``regs''.

23 years agoPer Bothner as Java maintainer (joint).
Andrew Cagney [Fri, 29 Jun 2001 03:01:33 +0000 (03:01 +0000)]
Per Bothner as Java maintainer (joint).

23 years ago* rdi-share/unixcomm.c (SERIAL_PREFIX): Always provide a default.
Andrew Cagney [Fri, 29 Jun 2001 01:19:23 +0000 (01:19 +0000)]
* rdi-share/unixcomm.c (SERIAL_PREFIX): Always provide a default.
* rdi-share/hostchan.h (__unix): Hack, provide a default value.
* rdi-share/host.h (__unix): Hack, define when __NetBSD__.
* TODO: Update.
* MAINTAINERS: Update.  arm-elf builds.

23 years ago * cgen-asm.c (cgen_parse_keyword): Allow any first character.
Geoffrey Keating [Fri, 29 Jun 2001 00:09:16 +0000 (00:09 +0000)]
* cgen-asm.c (cgen_parse_keyword): Allow any first character.
* cgen-opc.c (cgen_keyword_add): Ignore special first
character when building nonalpha_chars field.

23 years ago*** empty log message ***
gdbadmin [Fri, 29 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* d10v-tdep.c (d10v_ts2_dmap_register): Doc fix.
Jim Blandy [Thu, 28 Jun 2001 23:12:18 +0000 (23:12 +0000)]
* d10v-tdep.c (d10v_ts2_dmap_register): Doc fix.