Commit Graph

29738 Commits

Author SHA1 Message Date
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
Eli Zaretskii b78a4f26ba * event-loop.c (toplevel) [!HAVE_POLL] [NO_FD_SET]: Remove unused
definitions for SELECT, NBBY, FD_SETSIZE, NFDBITS, and MASK_SIZE.
2001-03-26 11:37:51 +00:00
Eli Zaretskii 3d67e040a5 * gdb.texinfo (Output Formats): Mention "info symbol" and provide
a cross-reference to its description.
	(Symbols): Document "info symbol".
2001-03-26 11:35:03 +00:00
Eli Zaretskii 49baf81994 Fix the date of the last entry. 2001-03-26 11:30:03 +00:00
Eli Zaretskii 4d2779813f * config/djgpp/djconfig.sh: Add copyright notice.
* ser-go32.c (rawclock): Remove prototype; include time.h instead.
	(ISR, dos_hookirq, isr_t): Convert K&R definition to ANSI C.
	(top level) <string.h>: Include gdb_string.h instead.
	(dos_noop, dos_raw, dos_noflush_set_tty_state)
	(dos_print_tty_state, dos_info): Remove ATTRIBUTE_UNUSED.

	* go32-nat.c (go32_create_inferior): Move the declaration of
	`environ' to here from the top level.
	(top level) <_initialize_go32_nat>: Remove redundant prototype.
	<gdb_string.h>: Include it instead of string.h.
	(store_register): Call register_buffer instead of accessing
	registers[] directly.
	(redir_cmdline_delete, redir_cmdline_parse, redir_to_debugger)
	(redir_to_debugger, redir_debug_init) [__DJGPP_MINOR__ < 3]: Put
	the function names at the start of the line.
	(go32_set_dr): Throw internal_error if the argument is not a valid
	debug register number.
	(go32_open, go32_close, go32_attach, go32_detach, go32_resume)
	(go32_wait, go32_xfer_memory, go32_files_info)
	(go32_terminal_info): Remove ATTRIBUTE_UNUSED.
2001-03-26 11:26:45 +00:00
Andreas Jaeger 0879a67a8f 2001-03-26 Andreas Jaeger <aj@suse.de>
* binutils.texi (nm): Fix texi syntax.

2001-03-26  Andreas Jaeger  <aj@suse.de>

	* ld.texinfo (Overview): Fix syntax in texi code.
2001-03-26 07:02:59 +00:00
Jim Blandy 8f3ee2aeae *** empty log message *** 2001-03-26 04:03:26 +00:00
Jim Blandy 3259a17229 * mips-tdep.c (mips_gdbarch_init): Tweak indentation. 2001-03-26 04:01:53 +00:00
Elena Zannoni 6ec4c4bd0e 2001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From  Andrew Cagney  <ac131313@redhat.com>

        * coffread.c: Include "gdb_assert.h".
	(coff_symtab_read): Cast the integer s_sclass to a long before
 	casting it to a pointer.
2001-03-26 02:50:46 +00:00
Elena Zannoni b9179dbce9 2001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From  Andrew Cagney  <ac131313@redhat.com>

        * coffread.c (coff_symtab_read): Initialize
 	``fcn_first_line_addr''.  Check that the ``.bf'' always preceeds
 	the ``.ef'' info.
	* dbxread.c (find_text_range): Initialize ``start'' and ``end''.
2001-03-26 02:48:23 +00:00
Nick Clifton 0285c67df1 Automate generate on man pages 2001-03-25 20:32:31 +00:00
Alan Modra 551c1ca176 Accept an absolute expression for index scale factor. 2001-03-25 05:57:09 +00:00
Alan Modra 0f17484fd3 Small tweaks to sse2 instructions. 2001-03-24 06:29:16 +00:00
Jim Blandy 2adab5d0b2 Revert previous change, committed to trunk accidentally. 2001-03-24 03:23:20 +00:00
Jim Blandy 9e40428556 A single-file branch to help me keep things straight while adapting
GDB to the GNU V3 C++ ABI.

* c-typeprint.c: Commit Dan Berlin's changes.
2001-03-24 03:21:46 +00:00
Andrew Cagney 64c4637f92 * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Down grade to
GDB_MULTI_ARCH_PARTIAL from two.  SOFTWARE_SINGLE_STEP is not
multi-arch.
* gdbarch.sh (SOFTWARE_SINGLE_STEP): Add.
* gdbarch.h, gdbarch.c: Re-generate.
* target.h (SOFTWARE_SINGLE_STEP_P)
(SOFTWARE_SINGLE_STEP): Delete macro definitions.
2001-03-24 02:07:49 +00:00
Andrew Cagney 61a0eb5b8e Re-vamp the register code so that a lot more is routed through
{read,write}_register_gen.  Hook that function with multi-arch.
2001-03-24 01:26:09 +00:00
Nick Clifton cc51ea7952 Remove extraneous whitespace 2001-03-24 00:46:00 +00:00
Nick Clifton e3806b3775 Fix compile time warnings. 2001-03-24 00:45:11 +00:00
Jim Blandy c2bd2ed9a6 * stabsread.c (read_cpp_abbrev): Properly construct the names of
virtual function table pointer fields.
2001-03-24 00:42:59 +00:00
Nick Clifton e93d71992f Remove extraneous whitespace 2001-03-24 00:40:22 +00:00
DJ Delorie 079c672a7a merge from gcc 2001-03-23 23:57:50 +00:00
Andrew Cagney c0e61796d0 * defs.h (xfree, mcalloc, mmalloc, mrealloc, mfree, xmmalloc,
xmrealloc): Move existing declarations to the one place and
re-order to be consistent.
(xmcalloc, xmfree): Declare.
(xmmalloc, xmrealoc): Assume ISO-C - use size_t and void* in
declaration.

* utils.c (size_t): Delete #ifdef defining size_t.
(mmalloc, mrealloc, mcalloc, mfree): Re-order.
(mmalloc, mrealloc, mcalloc): Document as only calls in GDB
corresponding malloc, realloc, calloc.
(mfree): Call free directly.
(xmmalloc, xmrealloc): Clean up. Assume ISO-C.
(xmcalloc, xmfree): New functions. Copy old xcalloc and xfree
function bodies to here.
(xcalloc, xfree): Call xmcalloc and xmfree respectfully.
2001-03-23 23:39:57 +00:00
Nick Clifton c20ec07b9a Support the GCC flags '-ffunction-sections' and '-fdata-sections'.
Set the VMA of STABS sections to zero.
2001-03-23 23:05:07 +00:00
Andrew Cagney c65ecaf37b Fix -Werror -Wuninitialized warnings. 2001-03-23 22:48:44 +00:00
Nick Clifton c3a27914b8 Document --listing-XXX command line switches.
Explain why listings behave differently when -pipe is used.
2001-03-23 19:35:02 +00:00
Nick Clifton 37006e4391 fix_new_exp: Print an error if passed a register. 2001-03-23 18:15:49 +00:00
Nick Clifton d4fc7db892 Add note about inability to use "make distclean" in maintainer mode. 2001-03-23 18:06:17 +00:00
Nick Clifton 55c80943b8 Fix building bfd.pot in maintainer mode 2001-03-23 18:05:30 +00:00
Mark Kettenis 207e433e1d * config/i386/nm-i386.h: Fix formatting and change reference to
i386-tdep.c to i386-nat.c.
2001-03-23 16:17:45 +00:00
David Smith 6c5cfe5b67 2001-03-23 David Smith <dsmith@redhat.com>
* configure.in: Corrected spelling errors.
	* configure: Regenerated.
2001-03-23 16:05:29 +00:00
Hans-Peter Nilsson 5ef6758f8a * gas/cris/pic-err-1.s, gas/cris/rd-pic-1.s, gas/cris/rd-pic-1.d:
New tests.
2001-03-23 05:58:38 +00:00
Hans-Peter Nilsson 7704145c73 * gas/cris/branch-warn-1.s, gas/cris/branch-warn-2.s,
gas/cris/branch-warn-3.s: Tweak for fixed FIXME:s.
2001-03-23 05:39:38 +00:00
Hans-Peter Nilsson 08caf3f870 * config/tc-cris.[ch]: Tweak attribution. Fix typos. PIC support. 2001-03-23 05:27:42 +00:00
Andrew Cagney 5300940c68 Update list of obsolete targets. 2001-03-23 01:14:10 +00:00
Andrew Cagney 17e78a56e2 Obsolete stuff.c and kdb-start.c. 2001-03-23 00:58:48 +00:00
Andrew Cagney 41899c0412 * config/pa/xm-hppah.h (HPPA_COMPILER_BUG): Delete. GDB only
compiles using an ISO-C compiler.
(MALLOC_INCOMPATIBLE): Ditto.
* linespec.c (decode_line_1): Delete hack to work around
HPPA_COMPILER_BUG.
2001-03-23 00:41:02 +00:00