Commit Graph

29854 Commits

Author SHA1 Message Date
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
Alan Modra
61b96bb428 Fix conditional assembly listings when more than one .else/.elsif 2001-03-31 06:47:54 +00:00
H.J. Lu
69e37bf6a2 2001-03-30 H.J. Lu <hjl@gnu.org>
* binutils-all/readelf.exp: Run on more ELF targets.
2001-03-31 06:37:39 +00:00
H.J. Lu
e58d53afc0 2001-03-30 H.J. Lu <hjl@gnu.org>
* readelf.c (process_unwind): Just return if do_unwind is 0.
2001-03-31 06:36:17 +00:00
Alan Modra
cdbc6895e5 * cond.c (s_endif): Correct handling of "if .. elseif .." trees.
Don't abort on NULL current_cframe.
2001-03-31 02:06:24 +00:00
Mark Kettenis
40564acad4 * lin-lwp.c (lin_lwp_resume): Don't mark LWP as not stopped until
we're absolutely sure we're going to resume it.
2001-03-30 19:45:19 +00:00
Mark Kettenis
95a856212b * 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.
2001-03-30 19:36:35 +00:00
H.J. Lu
5fba830057 2001-03-30 H.J. Lu <hjl@gnu.org>
* gas/i386/relax.d: Dump with -s instead of -drw.
2001-03-30 17:52:10 +00:00
H.J. Lu
8b4b0fac4b 2001-03-30 H.J. Lu <hjl@gnu.org>
* efi-app-ia32.c (PEI_TARGET_SUBSYSTEM): Rename from ...
	(PEI_DEFAULT_TARGET_SUBSYSTEM): This.
2001-03-30 16:08:34 +00:00
Alexandre Oliva
3eb9799d10 * ppc-opc.c (insert_mbe): Shift mask initializer as long. 2001-03-30 07:36:27 +00:00
Alan Modra
1a5447b835 Pass finalize_syms on calls to resolve_symbol_value. 2001-03-30 07:07:11 +00:00
Alan Modra
0529cb8781 Missing ChangeLog for dwarf2dbg.c warning fixes. 2001-03-30 02:39:18 +00:00
Alan Modra
e46d99eb07 Multi-pass relaxation machinery. 2001-03-30 02:19:36 +00:00
DJ Delorie
bee723322c * dlltool.c (make_one_lib_file): Fix section flags for
.text, .data and .bss in stub ds*.o files to match those
generated by gas.
2001-03-30 01:34:54 +00:00
H.J. Lu
f1467e3315 2001-03-29 H.J. Lu <hjl@gnu.org>
* readelf.c (process_unwind): Only do unwind sections for
	IA64.
2001-03-30 01:26:43 +00:00
H.J. Lu
0068722893 2001-03-29 H.J. Lu <hjl@gnu.org>
* gas/i386/relax.s: New test for relaxation between sections.
	* gas/i386/relax.d: New.

	* gas/i386/i386.exp: Add tests for ELF.
2001-03-30 01:20:41 +00:00
Alan Modra
93c2a809af Prepare for multi-pass relaxation. 2001-03-30 00:06:10 +00:00
Hans-Peter Nilsson
23ec5d0312 Clarify ChangeLog entry 2001-03-29 02:32:52 +00:00
Hans-Peter Nilsson
d551a338e2 * config/tc-cris.h (tc_fix_adjustable): Allow only
BFD_RELOC_CRIS_32_GOTREL of the PIC relocs.
	* config/tc-cris.c (cris_get_pic_suffix): Correct reloc used in
	example to valid.
2001-03-29 02:29:38 +00:00
Andrew Cagney
2e94c45304 * config/pa/xm-hppah.h (malloc): Really delete declaration
(MALLOC_INCOMPATIBLE): Really delete macro.
* cli/cli-cmds.c (apropos_command): Use xcalloc.
2001-03-28 23:21:43 +00:00
Andrew Cagney
93d56215df Gag -Wuninitialized warnings.
Add -Wuninitialized to default warning list.
2001-03-28 21:42:32 +00:00
Andrew Cagney
381bab78db Fix -Werror probs for ns32k. 2001-03-28 21:26:07 +00:00
H.J. Lu
1c6fb4fe1f 2001-03-28 H.J. Lu <hjl@gnu.org>
* Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
	* Makefile.in: Regenerate.
2001-03-28 19:01:04 +00:00
DJ Delorie
a7bf099bb7 merge from gcc 2001-03-28 17:38:43 +00:00
H.J. Lu
440ecb3800 2001-03-28 H.J. Lu <hjl@gnu.org>
* read.c (equals): Set to local for COFF only if it hasn't been
	defined before.
2001-03-28 17:24:01 +00:00
Alan Modra
8a238888b4 Default hppa64 to ".level 2.0w" 2001-03-28 14:13:46 +00:00
Mark Kettenis
b05f243280 * i386-linux-tdep.c (FRAMELESS_SIGNAL): Moved here from
config/i386/nm-linux.h (including comment).
(i386_linux_frame_chain): New function implementing guts of the
former FRAME_CHAIN macro, but using read_memory_unsigned_integer
instead of read_memory_integer.
(i386_linux_frame_saved_pc): Removed doc pointing to
i386/tm-linux.h for an explanation of FRAMELESS_SIGNAL since that
now lives in this file.
* config/i386/tm-linux.h (FRAMELESS_SIGNAL): Moved to
i386-linux-tdep.c (including comment).
(FRAME_CHAIN): Redefined in terms of i386_linux_frame_chain.
(i386_linux_frame_chain): New prototype.
2001-03-28 11:36:23 +00:00
Mark Kettenis
0eebe06ae6 * gdbserver/low-linux.c [I386_GNULINUX_TARGET]: Cleanup code and
make it work again.
(NUM_FREGS): Redefine to 0.
(NUM_REGS): Redefine as NUM_GREGS.
(i386_register_byte, i386_register_raw_size): Update from
i386-tdep.c.  Add comment about their origin.
(regmap, register_u_addr): Take these from i386-linux-nat.c.
(i386_register_u_addr): Removed.
2001-03-28 09:15:22 +00:00
Mark Kettenis
b9511b9a9a * i386-linux-nat.c (i386_linux_dr_get): Return 0 if ptrace call
fails instead of calling perror_with_name.  This should fix
debugging remote i386 targets with a native Linux/x86 GDB.  Add
FIXME for this hack.
2001-03-28 08:35:14 +00:00