Commit Graph

29674 Commits

Author SHA1 Message Date
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
Hans-Peter Nilsson
1268a053f8 * configure.tgt (cris-*-*): Change default emulation to criself.
(cris-*-*aout*): New rule.
2001-03-27 02:37:41 +00:00
H.J. Lu
b9d8899626 Remove ATTRIBUTE_UNUSED in the last patch. 2001-03-27 02:05:18 +00:00
Kevin Buettner
37de36c6ed Add AIX5 procfs support. 2001-03-27 02:01:11 +00:00
H.J. Lu
eb4a6e4f4b 2001-03-26 H.J. Lu <hjl@gnu.org>
* elf32-gen.c (elf32_generic_link_add_symbols): New. Check
	if there are any relocations for generic ELF.
	(bfd_elf32_bfd_link_add_symbols): Defined to
	elf32_generic_link_add_symbols.
	* elf64-gen.c (elf64_generic_link_add_symbols): New. Check
	if there are any relocations for generic ELF.
	(bfd_elf64_bfd_link_add_symbols): Defined to
	elf64_generic_link_add_symbols.
2001-03-27 02:00:34 +00:00
Kevin Buettner
3207ec212c Add new step-line test. 2001-03-27 01:32:45 +00:00
Kevin Buettner
25d53da1c8 * symtab.c (find_pc_sect_line): Revise method used for finding
the ending pc.
2001-03-27 01:17:47 +00:00
Alan Modra
d85e9ff7b1 Go to 16k page size on hppa-linux. 2001-03-27 00:42:47 +00:00
Nick Clifton
8a5613f978 oops - omitted from previous delta 2001-03-26 21:42:48 +00:00
Mark Kettenis
50e27f84bf * i386-linux-tdep.c (i386_linux_sigtramp_saved_pc,
i386_linux_sigtramp_saved_sp): Make static.
(i386_linux_frame_saved_pc): New function based on the old
FRAME_SAVED_PC macro, but use read_memory_unsigned_integer instead
of read_memory_integer.
* config/i386/tm-linux.h (sigtramp_saved_pc): Remove definition.
(i386_linux_sigtramp_saved_pc): Remove prototype.
(FRAME_SAVED_PC): Redefine in terms of i386_linux_frame_saved_pc.
(i386_linux_frame_saved_pc): New prototype.
2001-03-26 19:51:47 +00:00
Chris Demetriou
10a5181444 2001-03-26 Chris Demetriou <cgd@broadcom.com>
* gas/mips/sync.s: Declare 'foo' as a function so that this
        test will work on properly on ECOFF targets.
2001-03-26 19:47:47 +00:00
Nick Clifton
07855becf9 Do not optimize BFD_RELOC_390_GOTENT relocs.
Always generate relocs for VT_ relocs.
2001-03-26 19:38:33 +00:00
Jim Blandy
f34754ee25 Correct/clarify credit for C++ work. 2001-03-26 18:39:33 +00:00
Andrew Cagney
1a5cef0650 Mark m88k as known to be broken. 2001-03-26 18:06:43 +00:00
Andrew Cagney
af8021274c * fork-child.c (clone_and_follow_inferior): Delete #ifdef
HAVE_VFORK.
2001-03-26 16:44:32 +00:00
Mark Kettenis
5b31405b6e * config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef. 2001-03-26 12:25:31 +00:00
Mark Kettenis
22f8ba5774 * i386-tdep.c (i386_push_arguments, i386_store_struct_return): New
functions.
* config/i386/tm-i386.h (PUSH_ARGUMENTS): New macro.
(STORE_STRUCT_RETURN): Redefine in terms of
i386_store_struct_return.
(i386_push_arguments, i386_store_struct_return): New prototypes.
* config/i386/tm-i386v.h (STORE_STRUCT_RETURN): Remove.  It's
definition was identical to the definition in "i386/tm-i386.h" so
the new definition should suffice too.
2001-03-26 12:11:14 +00:00
Eli Zaretskii
e9c75b65b1 * gdbint.texinfo: Change Permissions to GFDL. Update Copyright.
* gdbgui.texinfo: Change Permissions to GFDL.  Update Copyright.
	Replace "GDB" with "@value{GDBN}".  Fix markup.

	* annotate.texi: Change Permissions to GFDL.  Update Copyright.

	* gdb.texinfo: Change Permissions to GFDL.  Update Copyright.

	* gdbmi.texinfo: Update copyright.  Change Permissions to GFDL.
2001-03-26 11:51:50 +00:00