Commit Graph

29782 Commits

Author SHA1 Message Date
H.J. Lu dd484e5c56 2001-04-05 David Mosberger <davidm@hpl.hp.com>
* elf32-i386.c (elf_i386_fake_sections): Treat ".reloc" as an
	ordinary "progbits" section.
2001-04-06 00:37:30 +00:00
Hans-Peter Nilsson 589bad82a2 * 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.
2001-04-05 20:37:54 +00:00
Hans-Peter Nilsson 4ef7f0bf1c * cris.h (enum cris_insn_version_usage): Correct comment for
cris_ver_v3p.
2001-04-05 19:35:17 +00:00
Hans-Peter Nilsson ee544a35f7 Remove redundant ChangeLog entry separator 2001-04-05 19:11:07 +00:00
Hans-Peter Nilsson 777623bb46 * 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.
2001-04-05 19:07:00 +00:00
Hans-Peter Nilsson 8ac9c12459 * gas/cris/brokw-2.s: Correct broken-word expansion visualization
in comment.
2001-04-05 18:19:13 +00:00
Hans-Peter Nilsson ad7f5c6905 * 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.
2001-04-05 18:15:04 +00:00
Hans-Peter Nilsson 0c66b61e31 Fix address in ChangeLog entry 2001-04-05 17:46:25 +00:00
Hans-Peter Nilsson ff94ebf2c8 * readelf.c (display_debug_lines): Fix typo for "Prologue". 2001-04-05 17:44:15 +00:00
Jeff Holcomb 1fcef33420 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.
2001-04-05 17:44:06 +00:00
Eli Zaretskii f032fb6e9e * README: Don't mention gdba.el. 2001-04-05 16:52:30 +00:00
Hans-Peter Nilsson 4b0d96c227 * lib/gas-defs.exp (run_dump_test): Support using readelf.
* config/default.exp: Default READELF and READELFFLAGS.
2001-04-05 15:31:46 +00:00
Elena Zannoni 0191bed77d 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.
2001-04-05 15:19:42 +00:00
Andrew Cagney 4a1968f494 Obsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets. 2001-04-05 14:49:29 +00:00
Alan Modra e66457fbf3 Fix more breakages from the multiple relax pass patch. 2001-04-05 04:21:36 +00:00
Christopher Faylor 608506ed67 * 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.
2001-04-05 02:02:13 +00:00
Martin Hunt 6457bd4761 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
2001-04-05 00:04:45 +00:00
Mark Kettenis 3df1b9b49d * i386-tdep.c (i386_extract_return_value): Don't return the return
value of a void function.
(i386_store_return_value): Likewise.
2001-04-04 15:09:46 +00:00
Hans-Peter Nilsson ed67db7ab9 * 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.
2001-04-04 04:23:20 +00:00
Hans-Peter Nilsson c335d39444 * 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.
2001-04-04 03:53:12 +00:00
Hans-Peter Nilsson aacb52510a * write.c (write_object_file): Reset broken word state before
calling relax_seg.
2001-04-04 03:05:47 +00:00
DJ Delorie d969735448 merge from gcc 2001-04-04 01:16:27 +00:00
Alan Modra 391a809a0a * elflink.h (elf_fix_symbol_flags): Call elf_backend_hide_symbol
when -Bsymbolic causes a symbol to no longer need a .plt entry.
2001-04-04 00:31:37 +00:00
Andrew Cagney 76f4ea5303 Obsolete w65-*-* target. 2001-04-03 21:56:01 +00:00
Andrew Cagney 52071915c8 Obsolete tic80. 2001-04-03 21:14:37 +00:00
H.J. Lu 5854c6337e 2001-04-03 David Mosberger <davidm@hpl.hp.com>
* efi-app-ia32.c (ALIGN_SECTIONS_IN_FILE): Deleted.
2001-04-03 14:45:43 +00:00
J.T. Conklin ba79cc8154 * remote-mips.c (S_IROTH): Moved definition from here.
* gdb_stat.h (S_IROTH): to here.
2001-04-03 01:51:26 +00:00
J.T. Conklin 44eaed12c5 * 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.
-------------------------------------------------------------------
2001-04-03 01:42:17 +00:00
David O'Brien 358a550280 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>
2001-04-02 23:44:03 +00:00
David O'Brien 44df2f94b9 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>
2001-04-02 23:33:20 +00:00
Andrew Cagney bb19ff3b14 Obsolete ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv* and
ns32k-utek-*.
2001-04-02 20:57:26 +00:00
Eli Zaretskii d6259d756b * config/djgpp/fnchange.lst: Tweak due to
expect/example/chesslib.c.
2001-04-02 17:16:11 +00:00
Kevin Buettner 971ff5453a Make --target=m88k buildable again. 2001-04-02 14:47:22 +00:00
Eli Zaretskii f5c37c66ad * 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.
2001-04-02 08:58:19 +00:00
Alexandre Oliva dec0cb0ce3 * 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.
2001-04-02 01:32:45 +00:00
Alan Modra 94202e16cf Bump page size to 64k 2001-04-02 01:21:27 +00:00
Daniel Berlin 4e4f46a17d 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.
2001-04-01 19:50:50 +00:00
Eli Zaretskii ba8629a96e * go32-nat.c: Minor tweaks, to pacify the ari script. 2001-04-01 14:01:52 +00:00
Mark Kettenis f7af964784 * 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.
2001-04-01 12:39:52 +00:00
Mark Kettenis 7bf0983e94 * 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.
2001-04-01 10:48:48 +00:00
Eli Zaretskii b37052ae3b * gdb.texinfo (Symbols): Document "info scope".
(Tracepoints): New chapter.
	(Contributors): Update for v5.1.
	<All nodes>: Change "C++" to "C@t{++}".
2001-04-01 09:15:21 +00:00
Eli Zaretskii 0ee5478628 * gdbint.texinfo (User Interface): A new section about ui_out
functions, based on text written by Fernando Nasser.
2001-04-01 09:07:08 +00:00
Eli Zaretskii c534679c58 Change Permissions to GFDL. Update Copyright. 2001-04-01 09:04:44 +00:00
Kevin Buettner 517a56366b Revert change to config/ia64/linux.mh in which core-regset.h was
removed from NATDEPFILES.
2001-03-31 23:07:10 +00:00
Kevin Buettner 521f1f968c * config/ia64/linux.mh (NATDEPFILES): Remove core-regset.o
from list.
2001-03-31 22:55:25 +00:00
Kevin Buettner 6e4862ff55 Make hardware watchpoint support work again on Linux/IA-64. 2001-03-31 21:53:39 +00:00
DJ Delorie 129e8d96a5 merge from gcc 2001-03-31 19:05:20 +00:00
Mark Kettenis 0afdd43759 * 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.
2001-03-31 18:09:03 +00:00
Mark Kettenis 4bcc394469 * 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.
2001-03-31 17:40:04 +00:00
Mark Kettenis 1e8d0a7b55 * 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.
2001-03-31 13:05:16 +00:00