Commit Graph

29691 Commits

Author SHA1 Message Date
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
DJ Delorie 30a1def20d merge from gcc 2001-03-28 05:02:47 +00:00
Alexandre Oliva 6a9c388603 * configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3. 2001-03-28 01:19:29 +00:00
Ben Elliston 0e70c820dd * Comment tweak. 2001-03-27 21:37:47 +00:00
J.T. Conklin 3172dc307b * arch-utils.c (#include "gdbthread.h"): Removed.
(#include "symfile.h"): Removed.
(XMALLOC): Removed unused macro.
* breakpoint.c (tbreak_command): Removed local declaration.
(awatch_command, do_enable_breakpoint, set_breakpoint_count):
Remove duplicate declarations.
(bpstat_should_step, bpstat_have_active_hw_watchpoints)
(remove_solib_event_breakpoints): Fix indentation botch.
* c-typeprint.c (#include "command.h"): Removed.
(#include "gdbcmd.h"): Removed.
* ch-exp.c (ch_terminal_match_float_literal, parse_expr)
(parse_primval, parse_untyped_expr, parse_opt_untyped_expr):
Removed duplicate declarations.
* ch-typeprint.c (#include "command.h"): Removed.
(#include "gdbcmd.h"): Removed.
* corefile.c (#include "frame.h"): Removed
(#include "symfile.h"): Removed.
(#include "language.h"): Removed.
* dbxread.c (#include "command.h"): Removed.
* environ.c (#include "gdbcore.h"): Removed.
* event-loop.c (#include "top.h"): Removed.
* f-typeprint.c (#include "command.h"): Removed.
(#include "gdbcmd.h"): Removed.
(#include "language.h"): Removed.
(#include "typeprint.h"): Removed.
(#include "frame.h"): Removed.
* gdbtypes.h (print_type_scalar): Removed declaration.
* infcmd.c (#include "completer.h"): Removed.
* language.c (#include "frame.h"): Removed.
* m2-typeprint.c (#include "command.h"): Removed.
(#include "gdbcmd.h"): Removed.
(#include "language.h"): Removed.
* m2-valprint.c (#include "valprint.h"): Removed.
* p-typeprint.c (#include "command.h"): Removed.
(#include "gdbcmd.h"): Removed.
* p-valprint.c (#include "typeprint.h"): Removed.
* parse.c (#include "linespec.h"): Removed.
* regcache.c (#include "frame.h"): Removed.
* remote.c (#include "frame.h"): Removed.
(getpkt_sane): Make static.
* source.c (#include "completer.h"): Removed.
* stack.c (#include "symfile.h"): Removed.
(#include "objfiles.h"): Removed.
* symfile.c (#include "completer.h"): Removed.
* tracepoint.c (#include "completer.h"): Removed.
* values.c (#include "frame.h"): Removed.
* varobj.c (#include "valprint.h"): Removed.
* wrapper.c (#include "frame.h"): Removed.

* memattr.c (create_mem_region): Removed unused variable.
* remote-nrom.c: Removed spurious semicolon after init_nrom_ops.
-------------------------------------------------------------------
2001-03-27 20:36:24 +00:00
Nick Clifton d5c4095a98 Allow for the possibility that the local labels won't be in the objdump output. 2001-03-27 19:33:52 +00:00
Nick Clifton 775cf89163 (for COFF) default symbols to being local. 2001-03-27 19:13:55 +00:00
Nick Clifton 397b41add9 Add missing double quote 2001-03-27 17:23:47 +00:00
Kevin Buettner ed817e6830 * solib-aix5.c (build_so_lib_from_mapfile): Use xfree() instead
of free().
2001-03-27 10:03:41 +00:00
Eli Zaretskii b75e0a6b90 (Cleanups): Remove the item about converting docs to GFDL. 2001-03-27 07:09:01 +00:00
Kevin Buettner 224d8953bf * solib-aix5.c (build_so_lib_from_mapfile): Fix xasprintf() usage. 2001-03-27 06:23:25 +00:00
Ben Elliston bc64be0c37 * as.texinfo (Fill): Replace "result" with "repeat". 2001-03-27 04:51:28 +00:00
Hans-Peter Nilsson f9c191122c * configure.in (cris-*-*): Change default emulation to criself.
(cris-*-*aout*): New rule.
	* configure: Regenerate.
2001-03-27 02:48:19 +00:00
Kevin Buettner 2fc3ac7ed8 Fix problems encountered in compiling ia64-tdep.c with IBM's compiler. 2001-03-27 02:45:54 +00:00