Jakub Jelinek [Sat, 14 Apr 2001 14:23:31 +0000 (14:23 +0000)]
* section.c (STD_SECTION): Add entsize.
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.
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.
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.
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.
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.
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.
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.
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.
Kevin Buettner [Thu, 12 Apr 2001 22:27:09 +0000 (22:27 +0000)]
Revise way in which mappings are allocated/searched.
Nicholas Duffek [Thu, 12 Apr 2001 19:53:09 +0000 (19:53 +0000)]
* xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning with
"@".
Kevin Buettner [Thu, 12 Apr 2001 18:44:40 +0000 (18:44 +0000)]
* config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.
Jason Merrill [Thu, 12 Apr 2001 16:00:32 +0000 (16:00 +0000)]
* dwarf2dbg.c (process_entries): Don't optimize redundant line notes.
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.
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.
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.
Andrew Cagney [Wed, 11 Apr 2001 22:39:07 +0000 (22:39 +0000)]
Obsolete sun386i.
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.
J.T. Conklin [Wed, 11 Apr 2001 01:01:04 +0000 (01:01 +0000)]
* maint.c: Fix typo in comment.
Keith Seitz [Tue, 10 Apr 2001 03:03:28 +0000 (03:03 +0000)]
* MAINTAINERS: Swap with Syd Polk as a gdbtk maintainer.
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.
Kevin Buettner [Sun, 8 Apr 2001 18:26:03 +0000 (18:26 +0000)]
Add comments noting that vfork might be defined to be fork.
Kevin Buettner [Sun, 8 Apr 2001 17:55:13 +0000 (17:55 +0000)]
Use cleanup machinery to invoke ui_out_list_end().
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.
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.
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.
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.
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.
---------------------------------------------------------------------
Geoffrey Keating [Fri, 6 Apr 2001 21:05:27 +0000 (21:05 +0000)]
Add self to write-after-approval list.
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.
Christopher Faylor [Fri, 6 Apr 2001 19:24:16 +0000 (19:24 +0000)]
Correct erroneous ChangeLog.
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.
Andrew Cagney [Fri, 6 Apr 2001 16:25:22 +0000 (16:25 +0000)]
Obsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platforms
and powerpc-*-netware* target.
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.
Alan Modra [Fri, 6 Apr 2001 12:13:40 +0000 (12:13 +0000)]
man page generation from gprof.texi by Stephane Carrez
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'.
Andreas Jaeger [Fri, 6 Apr 2001 09:27:33 +0000 (09:27 +0000)]
* i386-dis.c: Add ffreep instruction.
Alexandre Oliva [Fri, 6 Apr 2001 07:50:48 +0000 (07:50 +0000)]
* config/tc-mn10300.c (xr_registers): Added `pc'.
H.J. Lu [Fri, 6 Apr 2001 00:37:30 +0000 (00:37 +0000)]
2001-04-05 David Mosberger <davidm@hpl.hp.com>
* elf32-i386.c (elf_i386_fake_sections): Treat ".reloc" as an
ordinary "progbits" section.
Hans-Peter Nilsson [Thu, 5 Apr 2001 20:37:54 +0000 (20:37 +0000)]
* emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
correct value of __Stext here.
(TEXT_START_SYMBOLS): Define; always define __Stext, to start of
.startup section.
* emulparams/crislinux.sh: Remove FIXME.
Hans-Peter Nilsson [Thu, 5 Apr 2001 19:35:17 +0000 (19:35 +0000)]
* cris.h (enum cris_insn_version_usage): Correct comment for
cris_ver_v3p.
Hans-Peter Nilsson [Thu, 5 Apr 2001 19:11:07 +0000 (19:11 +0000)]
Remove redundant ChangeLog entry separator
Hans-Peter Nilsson [Thu, 5 Apr 2001 19:07:00 +0000 (19:07 +0000)]
* gas/cris/fragtest.s, gas/cris/rd-pic-1.s,
gas/cris/binop-cmpmovx.d, gas/cris/binop-cmpmove.d,
gas/cris/binop.d, gas/cris/binop.s, gas/cris/brokw-2.d,
gas/cris/clear.d, gas/cris/fragtest.s, gas/cris/jump-type.d,
gas/cris/nosep.s, gas/cris/pushpop.d, gas/cris/quick.s,
gas/cris/range-err-2.s, gas/cris/sep-err-1.s,
gas/cris/sreg-to-x.d, gas/cris/test.d, gas/cris/x-to-byte-sreg.d,
gas/cris/x-to-word-sreg.d, gas/cris/x-to-dword-sreg.d: Remove
trailing empty lines.
* gas/cris/continue.s: Ditto, tweak comment.
Hans-Peter Nilsson [Thu, 5 Apr 2001 18:19:13 +0000 (18:19 +0000)]
* gas/cris/brokw-2.s: Correct broken-word expansion visualization
in comment.
Hans-Peter Nilsson [Thu, 5 Apr 2001 18:15:04 +0000 (18:15 +0000)]
* gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d,
gas/cris/rd-dw2-4.d, gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d,
gas/cris/rd-dw2-7.d, gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d,
gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d, gas/cris/rd-dw2-12.d,
gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d, gas/cris/rd-dw2-15.d:
New tests.
Hans-Peter Nilsson [Thu, 5 Apr 2001 17:46:25 +0000 (17:46 +0000)]
Fix address in ChangeLog entry
Hans-Peter Nilsson [Thu, 5 Apr 2001 17:44:15 +0000 (17:44 +0000)]
* readelf.c (display_debug_lines): Fix typo for "Prologue".
Jeff Holcomb [Thu, 5 Apr 2001 17:44:06 +0000 (17:44 +0000)]
2001-04-05 Jeff Holcomb <jeffh@redhat.com>
* monitor.c (monitor_supply_register): Only report an error if we
don't get a valid value.
Eli Zaretskii [Thu, 5 Apr 2001 16:52:30 +0000 (16:52 +0000)]
* README: Don't mention gdba.el.
Hans-Peter Nilsson [Thu, 5 Apr 2001 15:31:46 +0000 (15:31 +0000)]
* lib/gas-defs.exp (run_dump_test): Support using readelf.
* config/default.exp: Default READELF and READELFFLAGS.
Elena Zannoni [Thu, 5 Apr 2001 15:19:42 +0000 (15:19 +0000)]
2001-04-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From Jimmy Guo <guo@cup.hp.com>
* top.c (init_main): set prompt if annotation_level>1,
this is necessary when annotation_level is set to 2 via
--annotate=2 command line option.
Andrew Cagney [Thu, 5 Apr 2001 14:49:29 +0000 (14:49 +0000)]
Obsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.
Alan Modra [Thu, 5 Apr 2001 04:21:36 +0000 (04:21 +0000)]
Fix more breakages from the multiple relax pass patch.
Christopher Faylor [Thu, 5 Apr 2001 02:02:13 +0000 (02:02 +0000)]
* main.c: Remove windows.h use.
(gdbtk_test): Use PATH_MAX for home var calculation.
* remote-e7000.c (e7000_parse_device): Accomodate Cygwin as well as Win32 in
test.
* ser-tcp.c: Use modern __CYGWIN__ conditional.
* source.c (mod_path): Add __CYGWIN__ conditional to WIN32 test.
(openp): Ditto.
* symfile.c (symfile_bfd_open): Ditto.
* gdbtk/generic/gdbtk.c: Ditto.
Martin Hunt [Thu, 5 Apr 2001 00:04:45 +0000 (00:04 +0000)]
2001-04-04 Martin M. Hunt <hunt@redhat.com>
* main.c (captured_main): For GDBtk, don't use tui_fileopen().
Handle all stream setup in gdbtk_init
Mark Kettenis [Wed, 4 Apr 2001 15:09:46 +0000 (15:09 +0000)]
* i386-tdep.c (i386_extract_return_value): Don't return the return
value of a void function.
(i386_store_return_value): Likewise.
Hans-Peter Nilsson [Wed, 4 Apr 2001 04:23:20 +0000 (04:23 +0000)]
* config/tc-cris.c (cris_insn_first_word_frag): New.
(md_assemble): Call cris_insn_first_word_frag to get the first
frag in an insn, not frag_more. Don't call dwarf2_emit_insn at
end. Drop variable insn_size.
(gen_bdap): Call cris_insn_first_word_frag, not frag_more.
(cris_sym_leading_underscore): Wrap first as_bad parameter in _().
(cris_sym_no_leading_underscore, s_cris_file, s_cris_loc): Ditto.
Hans-Peter Nilsson [Wed, 4 Apr 2001 03:53:12 +0000 (03:53 +0000)]
* config/tc-cris.c (md_estimate_size_before_relax) <case
ENCODE_RELAX (STATE_CONDITIONAL_BRANCH, STATE_UNDF)>: Don't emit
32-bit branch, just set fragP->fr_subtype. Set fragP->fr_var.
<all cases>: Always set fragP->fr_var using md_cris_relax_table.
Add cases to cover all relax states.
Hans-Peter Nilsson [Wed, 4 Apr 2001 03:05:47 +0000 (03:05 +0000)]
* write.c (write_object_file): Reset broken word state before
calling relax_seg.
DJ Delorie [Wed, 4 Apr 2001 01:16:27 +0000 (01:16 +0000)]
merge from gcc
Alan Modra [Wed, 4 Apr 2001 00:31:37 +0000 (00:31 +0000)]
* elflink.h (elf_fix_symbol_flags): Call elf_backend_hide_symbol
when -Bsymbolic causes a symbol to no longer need a .plt entry.
Andrew Cagney [Tue, 3 Apr 2001 21:56:01 +0000 (21:56 +0000)]
Obsolete w65-*-* target.
Andrew Cagney [Tue, 3 Apr 2001 21:14:37 +0000 (21:14 +0000)]
Obsolete tic80.
H.J. Lu [Tue, 3 Apr 2001 14:45:43 +0000 (14:45 +0000)]
2001-04-03 David Mosberger <davidm@hpl.hp.com>
* efi-app-ia32.c (ALIGN_SECTIONS_IN_FILE): Deleted.
J.T. Conklin [Tue, 3 Apr 2001 01:51:26 +0000 (01:51 +0000)]
* remote-mips.c (S_IROTH): Moved definition from here.
* gdb_stat.h (S_IROTH): to here.
J.T. Conklin [Tue, 3 Apr 2001 01:42:17 +0000 (01:42 +0000)]
* remote.c (remote_protocol_e, remote_protocol_E): Define.
(set_remote_protocol_e_packet_cmd)
(set_remote_protocol_E_packet_cmd)
(show_remote_protocol_e_packet_command)
(show_remote_protocol_E_packet_command): New functions.
(init_all_packet_configs): Initialize remote_protocol_e and
remote_protocol_E.
(remote_resume, remote_async_resume): Support e/E command
packets.
(show_remote_cmd): Show state of remote_protocol_e and
remote_protocol_E.
(_initialize_remote): Add "set remote step-over-range-packet"
and "set remote step-over-range-w-signal-packet" to CLI.
-------------------------------------------------------------------
David O'Brien [Mon, 2 Apr 2001 23:44:03 +0000 (23:44 +0000)]
2001-04-01 David O'Brien <obrien@FreeBSD.org>
* ld-undefined/undefined.exp: XFAIL on FreeBSD/i386 for the usual (even
though it doesn't use DWARF2 yet (but its output is identical).
Approved by: Alan Modra <alan@linuxcare.com.au>
<Pine.LNX.4.21.
0104021511350.487-100000@front.linuxcare.com.au>
David O'Brien [Mon, 2 Apr 2001 23:33:20 +0000 (23:33 +0000)]
001-04-01 David O'Brien <obrien@FreeBSD.org>
* ld-selective/selective.exp: Use -O with gcc rather than -O2.
This optimization level is buggy on some platforms, and this test
is not intended to test compiler optimizations.
Approved by: Alan Modra <alan@linuxcare.com.au>
<Pine.LNX.4.21.
0104021510450.487-100000@front.linuxcare.com.au>
Andrew Cagney [Mon, 2 Apr 2001 20:57:26 +0000 (20:57 +0000)]
Obsolete ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv* and
ns32k-utek-*.
Eli Zaretskii [Mon, 2 Apr 2001 17:16:11 +0000 (17:16 +0000)]
* config/djgpp/fnchange.lst: Tweak due to
expect/example/chesslib.c.
Kevin Buettner [Mon, 2 Apr 2001 14:47:22 +0000 (14:47 +0000)]
Make --target=m88k buildable again.
Eli Zaretskii [Mon, 2 Apr 2001 08:58:19 +0000 (08:58 +0000)]
* gdb.texinfo (Tracepoint Actions): Mention the "info scope"
command and provide a cross-reference to its description.
(Symbols): Note that "info scope" is useful for trace experiments.
Alexandre Oliva [Mon, 2 Apr 2001 01:32:45 +0000 (01:32 +0000)]
* Makefile.in (CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS):
New macros.
(bootstrap, cross): Use RECURSE_FLAGS.
* configure.in: Subst CXX_FOR_TARGET_FOR_RECURSIVE_MAKE.
Alan Modra [Mon, 2 Apr 2001 01:21:27 +0000 (01:21 +0000)]
Bump page size to 64k
Daniel Berlin [Sun, 1 Apr 2001 19:50:50 +0000 (19:50 +0000)]
2001-03-20 Daniel Berlin <dberlin@redhat.com>
* symtab.c (completion_list_add_name): Remove duplicate string checks,
readline already does this, and it's much faster at it, too.
Eli Zaretskii [Sun, 1 Apr 2001 14:01:52 +0000 (14:01 +0000)]
* go32-nat.c: Minor tweaks, to pacify the ari script.
Mark Kettenis [Sun, 1 Apr 2001 12:39:52 +0000 (12:39 +0000)]
* i386-tdep.c (i386_extract_struct_value_address): New function.
* config/i386/tm-i386.h (EXTRACT_STRUCT_VALUE_ADDRESS): Redefine
in terms of i386_extract_struct_value_address.
(i386_extract_struct_value_address): New prototype.
Mark Kettenis [Sun, 1 Apr 2001 10:48:48 +0000 (10:48 +0000)]
* i386-linux-nat.c (i386_linux_dr_get): Change type of return
value to `unsigned long'. Change type of `value' to `unsigned
long'.
(i386_linux_dr_set): Change type of second argument to `unsigned
long'.
(i386_linux_dr_set_control): Change type of first argument to
`unsigned long'.
(i386_linux_dr_get_status): Change type of return value to
unsigned long.
* config/i386/nm-linux.h (i386_linux_dr_set_control,
i386_linux_dr_get_status): Adjust prototypes accordingly.
Eli Zaretskii [Sun, 1 Apr 2001 09:15:21 +0000 (09:15 +0000)]
* gdb.texinfo (Symbols): Document "info scope".
(Tracepoints): New chapter.
(Contributors): Update for v5.1.
<All nodes>: Change "C++" to "C@t{++}".
Eli Zaretskii [Sun, 1 Apr 2001 09:07:08 +0000 (09:07 +0000)]
* gdbint.texinfo (User Interface): A new section about ui_out
functions, based on text written by Fernando Nasser.
Eli Zaretskii [Sun, 1 Apr 2001 09:04:44 +0000 (09:04 +0000)]
Change Permissions to GFDL. Update Copyright.
Kevin Buettner [Sat, 31 Mar 2001 23:07:10 +0000 (23:07 +0000)]
Revert change to config/ia64/linux.mh in which core-regset.h was
removed from NATDEPFILES.
Kevin Buettner [Sat, 31 Mar 2001 22:55:25 +0000 (22:55 +0000)]
* config/ia64/linux.mh (NATDEPFILES): Remove core-regset.o
from list.
Kevin Buettner [Sat, 31 Mar 2001 21:53:39 +0000 (21:53 +0000)]
Make hardware watchpoint support work again on Linux/IA-64.
DJ Delorie [Sat, 31 Mar 2001 19:05:20 +0000 (19:05 +0000)]
merge from gcc
Mark Kettenis [Sat, 31 Mar 2001 18:09:03 +0000 (18:09 +0000)]
* i386bsd-nat.c: Include "gdb_assert.h".
[HAVE_PT_GETDBREGS] (DBREG_DRX): Define if not
already defined.
[HAVE_PT_GETDBREGS] (i386bsd_dr_set, i386bsd_dr_set_control,
i386bsd_dr_set_addr, i386bsd_dr_reset_addr,
i386bsd_dr_get_status): New functions.
* config/i386/nm-fbsd.h [HAVE_PT_GETDBREGS]
(I386_USE_GENERIC_WATCHPOINTS): Define.
Include "i386/nm-i386.h".
(I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
(i386bsd_dr_set_control, i386bsd_dr_set_addr,
i386bsd_dr_reset_addr, i386bsd_dr_get_status): New prototypes.
* acconfig.h (HAVE_PT_GETDBREGS): New configure macro.
* configure.in: Cleanup a few comments. Check for PT_GETDBREGS
ptrace request.
* config.in, configure: Regenerate.
Mark Kettenis [Sat, 31 Mar 2001 17:40:04 +0000 (17:40 +0000)]
* i386-nat.c (i386_insert_aligned_watchpoint): Set address
register before enabling it by setting the control register.
(i386_remove_aligned_watchpoint): Reset address register after
disabling it by setting the control register.
Mark Kettenis [Sat, 31 Mar 2001 13:05:16 +0000 (13:05 +0000)]
* i386-tdep.c (i386_extract_return_value): If the type of the
return value is TYPE_STRUCT and the number of fields is one, call
ourselves with TYPE set tp the type of the first field.
(i386_store_return_value): Likewise.
This fixes a problem with returning structs consisting of a single
`float' or `double' on *BSD.
Alan Modra [Sat, 31 Mar 2001 06:47:54 +0000 (06:47 +0000)]
Fix conditional assembly listings when more than one .else/.elsif
H.J. Lu [Sat, 31 Mar 2001 06:37:39 +0000 (06:37 +0000)]
2001-03-30 H.J. Lu <hjl@gnu.org>
* binutils-all/readelf.exp: Run on more ELF targets.
H.J. Lu [Sat, 31 Mar 2001 06:36:17 +0000 (06:36 +0000)]
2001-03-30 H.J. Lu <hjl@gnu.org>
* readelf.c (process_unwind): Just return if do_unwind is 0.
Alan Modra [Sat, 31 Mar 2001 02:06:24 +0000 (02:06 +0000)]
* cond.c (s_endif): Correct handling of "if .. elseif .." trees.
Don't abort on NULL current_cframe.
Mark Kettenis [Fri, 30 Mar 2001 19:45:19 +0000 (19:45 +0000)]
* lin-lwp.c (lin_lwp_resume): Don't mark LWP as not stopped until
we're absolutely sure we're going to resume it.
Mark Kettenis [Fri, 30 Mar 2001 19:36:35 +0000 (19:36 +0000)]
* thread-db.c (check_event): Don't report an error if we encounter
a thread creation event for a thread that's already in the thread
list, since that may legitemately happen. Instead only call
attach_thread if it's not already in the thread list.
H.J. Lu [Fri, 30 Mar 2001 17:52:10 +0000 (17:52 +0000)]
2001-03-30 H.J. Lu <hjl@gnu.org>
* gas/i386/relax.d: Dump with -s instead of -drw.
H.J. Lu [Fri, 30 Mar 2001 16:08:34 +0000 (16:08 +0000)]
2001-03-30 H.J. Lu <hjl@gnu.org>
* efi-app-ia32.c (PEI_TARGET_SUBSYSTEM): Rename from ...
(PEI_DEFAULT_TARGET_SUBSYSTEM): This.
Alexandre Oliva [Fri, 30 Mar 2001 07:36:27 +0000 (07:36 +0000)]
* ppc-opc.c (insert_mbe): Shift mask initializer as long.
Alan Modra [Fri, 30 Mar 2001 07:07:11 +0000 (07:07 +0000)]
Pass finalize_syms on calls to resolve_symbol_value.
Alan Modra [Fri, 30 Mar 2001 02:39:18 +0000 (02:39 +0000)]
Missing ChangeLog for dwarf2dbg.c warning fixes.
Alan Modra [Fri, 30 Mar 2001 02:19:36 +0000 (02:19 +0000)]
Multi-pass relaxation machinery.