Commit Graph

30498 Commits

Author SHA1 Message Date
gdbadmin 8aa9a2becc *** empty log message *** 2001-07-05 00:00:04 +00:00
Mark Kettenis c96646d00b * i387-tdep.c (print_i387_value): Add extra space after final full
stop in comment.
2001-07-04 21:14:05 +00:00
Andrew Cagney af6c57eaf6 * gdbint.texinfo (Target Architecture Definition): GDBARCH is a C
structure and not macros.
(Host Definition): Document that much of this chapter is obsolete.
(Target Architecture Definition): Update list of files that make
up a target architecture.
(Coding): Update.
2001-07-04 20:52:14 +00:00
Andrew Cagney 9da8e4f8c8 * config/arm/tm-arm.h: Include "floatformat.h". 2001-07-04 19:57:53 +00:00
Andrew Cagney d0df847233 * i387-tdep.c: Include "gdb_assert.h".
(print_i387_value): Use extract_floating to extract the FP value
from a zero padded local buffer.
2001-07-04 19:19:58 +00:00
Andrew Cagney 291903b139 * TODO: Delete all thread items. The thread code was overhauled. 2001-07-04 18:51:51 +00:00
Elena Zannoni 2ed3d0b5f1 2001-07-04 Elena Zannoni <ezannoni@redhat.com>
* memattr.c (create_mem_region): Move n to next memory region,
	to avoid infinite loop.
2001-07-04 18:06:02 +00:00
Elena Zannoni 80629b1b75 2001-07-04 Elena Zannoni <ezannoni@redhat.com>
* memattr.h: Add copyright statement.
	* memattr.c: Ditto.
2001-07-04 17:59:02 +00:00
Jim Blandy 0b010bcc00 * dwarf2read.c (struct partial_die_info): New member: has_pc_info.
(read_partial_die): Delete fourth argument; we return this info in
the struct partial_die_info object itself now.
(dwarf2_build_psymtabs_hard, scan_partial_symbols): Use the
has_pc_info field of the partial die struct, rather than passing a
variable by reference to read_partial_die.
2001-07-04 16:08:20 +00:00
Jim Blandy 9faef8a7c5 Doc fix. 2001-07-04 16:00:35 +00:00
Jim Blandy 2541c7cf08 * dwarf2read.c (dwarf2_build_psymtabs_hard): Remove extraneous
code in loop condition.  This seemed to be trying to round
info_ptr up to the next four-byte boundary, but that's not what it
actually did.  If we discover the problem the old code was really
trying to address, we can fix it properly.
2001-07-04 16:00:08 +00:00
Eric Christopher 18ae5d728b 2001-07-04 Eric Christopher <echristo@redhat.com>
* doc/c-mips.texi (MIPS Opts): Document 12000 as valid cpu.

	* config/tc-mips.c (mips_cpu_info_table): Add rm5200, rm5231, rm5261,
	and rm5721 as valid cpu strings.
	(md_show_usage): Add rm5200, rm5231, rm5261, rm5721.
2001-07-04 12:32:07 +00:00
Richard Sandiford 7461da6e23 [gas]
* config/tc-mips.c (md_apply_fix): Prevent addend from becoming zero
	if it's expected to be non-zero.
[gas/testsuite]
	* gas/mips/elf-rel3.s: Add zero word to end of file.
2001-07-04 09:49:29 +00:00
H.J. Lu 5e7079af51 2001-07-04 H.J. Lu <hjl@gnu.org>
* bfd/elf32-mips.c (_bfd_mips_elf_final_write_processing):
	Handle bfd_mach_mips4400, bfd_mach_mips4600 and
	bfd_mach_mips5000.
2001-07-04 07:15:20 +00:00
gdbadmin 3231403007 *** empty log message *** 2001-07-04 00:00:02 +00:00
H.J. Lu 63653551a8 2001-07-03 H.J. Lu <hjl@gnu.org>
* scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
	2001-07-03. It creates dynamic entries even for static binaries.
2001-07-03 23:22:20 +00:00
Michael Snyder 5d12882f43 2001-07-03 Michael Snyder <msnyder@redhat.com>
* thread_db (find_new_threads_callback, thread_db_thread_alive,
        attach_thread): Update comments.
2001-07-03 21:04:49 +00:00
Michael Snyder 00783ba94c 2001-06-29 Ken Whaley <ken@believe.com>
* thread-db.c (attach_thread): Check for TD_THR_ZOMBIE in addition
	to TD_THR_UNKNOWN when looking for defunct zombie threads.
	(thread_db_thread_alive): Ditto.
	(find_new_threads_callback): Ditto.
2001-07-03 21:01:59 +00:00
Michael Snyder 4970cb0f38 2001-07-03 Michael Snyder <msnyder@redhat.com>
* gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
	the output of the ptype command.
2001-07-03 19:52:46 +00:00
H.J. Lu 86a1548669 2001-07-03 H.J. Lu <hjl@gnu.org>
* gas/mips/lb-xgot-ilocks.d: Add -march=r3900.
2001-07-03 18:49:04 +00:00
Nick Clifton 2dd46b8b52 Fix encoding of clf instruction 2001-07-03 18:37:39 +00:00
H.J. Lu d303a449f2 2001-07-03 Jakub Jelinek <jakub@redhat.com>
* scripttempl/elf.sc (DYNAMIC_PAD): New variable.
	(DYNAMIC): Use it to reserve few dynamic entries for
	post-linking tools.
2001-07-03 17:40:14 +00:00
H.J. Lu 4258bf4db5 2001-07-03 H.J. Lu <hjl@gnu.org>
* doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
	$@.pod.
	(ar.1): Likewise.
	(dlltool.1): Likewise.
	(nlmconv.1): Likewise.
	(nm.1): Likewise.
	(objcopy.1): Likewise.
	(objdump.1): Likewise.
	(ranlib.1): Likewise.
	(readelf.1): Likewise.
	(size.1): Likewise.
	(strings.1): Likewise.
	(strip.1): Likewise.
	(windres.1): Likewise.
	(cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
	($(DEMANGLER_NAME).1): Also substitute cxxfilt with
	$(DEMANGLER_NAME).
	(as.1): Removed.
	* doc/Makefile.in: Regenerated.
2001-07-03 16:35:34 +00:00
Nick Clifton f47e50716b Support DJGPP COFF targets in bfd_get_sign_extend_vma() 2001-07-03 16:27:45 +00:00
Nick Clifton 440c46077c Skip section symbols from sections being discarded 2001-07-03 15:49:46 +00:00
Nick Clifton 7bcad3e505 Fix seg fault by replacing symbol_get_frag() with fscan->fx_frag. 2001-07-03 15:22:19 +00:00
Nick Clifton 7014bc3115 Change MIPS maintainer to Erci Christopher 2001-07-03 15:08:42 +00:00
Nick Clifton 8754881645 Fix mips16 testsuite failure by allowing finalize_syms to be set before
size_segs is called.
2001-07-03 15:04:19 +00:00
gdbadmin d81420d233 *** empty log message *** 2001-07-03 00:00:03 +00:00
Michael Snyder d85da69f69 2001-07-02 Michael Snyder <msnyder@redhat.com>
* gdb.base/corefile.exp: Quote the curly braces in regexp.
2001-07-02 21:54:14 +00:00
Daniel Jacobowitz 2740bf6ca5 MAINTAINERS: Add myself to the write-after-approval list 2001-07-02 19:40:47 +00:00
Daniel Jacobowitz f7856c8f27 2001-07-02 Daniel Jacobowitz <drow@mvista.com>
* solib-svr4.c: Include "elf/mips.h".
        (elf_locate_base): Make DT_MIPS_RLD_MAP block unconditional.
2001-07-02 19:37:59 +00:00
Jim Blandy f9aca02d5a * dwarf2read.c (read_comp_unit, sibling_die, dump_die,
dump_die_list, store_in_ref_table, follow_die_ref): Make these
static; they're private functions.
2001-07-02 17:43:07 +00:00
Alan Modra 99a814a1cc * config/tc-ppc.c: Formatting fixes. 2001-07-02 10:54:49 +00:00
gdbadmin c233c2d21d *** empty log message *** 2001-07-02 00:00:01 +00:00
Eli Zaretskii 42a076f06f * coffread.c (coff_symfile_read): Parse DWARF2 info if present. 2001-07-01 10:04:58 +00:00
Nick Clifton b811889fc5 Support DWARF 2.1 tags, encodings, languages. 2001-07-01 08:53:15 +00:00
Ben Elliston bd59b34f1e 2001-07-01 Ben Elliston <bje@redhat.com>
* config/tc-m88k.c: Back out warning fixes from 2001-06-24, as
	they cause some subtle breakage.  Will fix them again later.
2001-07-01 06:36:43 +00:00
Ben Elliston 551b1d8931 * fix tabs in this change:
2001-06-28  Eric Christopher <echristo@redhat.com>
              H.J. Lu  <hjl@gnu.org>
2001-07-01 06:32:07 +00:00
Ben Elliston 013468bc3c 2001-07-01 Ben Elliston <bje@redhat.com>
* gas/m88k/allinsn.s: New file.
	* gas/m88k/allinsn.d: Likewise.
	* gas/m88k/m88k.exp: Test with allinsn.s also.
2001-07-01 06:16:55 +00:00
Geoffrey Keating 17f0ac8499 * cgen-ibld.in (insert_normal): Support CGEN_IFLD_SIGN_OPT. 2001-07-01 02:48:46 +00:00
gdbadmin b9f83eaa83 *** empty log message *** 2001-07-01 00:00:02 +00:00
Nick Clifton e237d851a4 Treat a .ln directive outside of a function as a .appline directive. 2001-06-30 10:09:40 +00:00
Nick Clifton 100bf25200 Remerge with gcc 2001-06-30 08:58:10 +00:00
Alan Modra 936e320bf4 * elfcore.h (elf_core_file_p): Call bfd_section_from_phdr directly
instead of _bfd_elfcore_section_from_phdr.
	* elf-bfd.h (_bfd_elfcore_section_from_phdr): Remove.
	* elf.c (_bfd_elfcore_section_from_phdr): Remove.
	(_bfd_elfcore_make_pseudosection): Expedite tail-call.
	(elfcore_grok_prstatus): Likewise.
	(elfcore_grok_lwpstatus): Likewise.
	(bfd_get_elf_phdr_upper_bound): Likewise.
	(elfcore_make_note_pseudosection): Formatting.
	(_bfd_elfcore_strndup): Formatting.
	* elf32-mips.c (mips_elf_sym_is_global): Formatting.
	(_bfd_elf32_mips_grok_prstatus): Expedite tail-call.
2001-06-30 04:05:13 +00:00
Alan Modra bb0082d686 * elf-bfd.h: Add prototypes for _bfd_elfcore_make_pseudosection
and _bfd_elfcore_strndup.
	(struct elf_backend_data): Add elf_backend_grok_prstatus
	and elf_backend_grok_psinfo.
	* elf.c (_bfd_elfcore_make_pseudosection): New function.
	(elfcore_grok_prstatus): Use it.
	(elfcore_make_note_pseudosection): Likewise.
	(elfcore_strndup):  Rename to...
	(_bfd_elfcore_strndup): Here, and make global.
	(elfcore_grok_psinfo): Use _bfd_elfcore_strndup.
	(elfcore_grok_note): Call elf_backend_grok_prstatus
	and elf_backend_grok_psinfo if available.
	* elf32-mips.c (_bfd_elf32_mips_grok_prstatus): New function.
	(_bfd_elf32_mips_grok_psinfo): New function.
	(elf_backend_grok_prstatus): Define.
	(elf_backend_grok_psinfo): Define.
	* elfxx-target.h (elf_backend_grok_prstatus): Default to NULL.
	(elf_backend_grok_psinfo): Likewise.
	(elfNN_bed): Include elf_backend_grok_prstatus and
	elf_backend_grok_psinfo.
2001-06-30 03:15:46 +00:00
H.J. Lu b64977c5ff 2001-06-29 H.J. Lu <hjl@gnu.org>
* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Check if
	hplink->sgot is NULL before filling GOT. Checck if hplink->splt
	is NULL before filling PLT.
2001-06-30 00:34:10 +00:00
gdbadmin 18ea51df51 *** empty log message *** 2001-06-30 00:00:02 +00:00
Eric Christopher ec68c924f0 2001-06-28 Eric Christopher <echristo@redhat.com>
H.J. Lu  <hjl@gnu.org>

        * config/tc-mips.c (mips_arch): New. Use mips_arch instead
        of mips_cpu for the ISA selection.
        (md_longopts): Add OPTION_MARCH and OPTION_MTUNE.
        (md_parse_option): Handle OPTION_MARCH and OPTION_MTUNE.
	(mips_tune): New.  Use mips_tune for scheduling and optimization
	issues.
	(append_insn): Use mips_tune and mips_arch.
	(macro_build): Ditto.
	(mips_ip): Ditto.
	(md_begin): Handle mips_arch, mips_tune and mips_cpu.  For
	backwards compatability mips_cpu generates arch and tune.
	(md_show_usage): Document new behavior.

	* doc/c-mips.texi (MIPS Opts): Document -march and -mtune.
	Deprecate -mcpu.

	* NEWS: Update.

2001-06-28  Eric Christopher  <echristo@redhat.com>

	* gas/mips/usd.d: Change for march/mtune.
	* gas/mips/ulh-xgot.d: Ditto.
	* gas/mips/uld.d: Ditto.
	* gas/mips/trunc.d: Ditto.
	* gas/mips/rol.d: Ditto.
	* gas/mips/nodelay.d: Ditto.
	* gas/mips/mul.d: Ditto.
	* gas/mips/mul-ilocks.d: Ditto.
	* gas/mips/trap20.d: Ditto.
	* gas/mips/mips4.d: Ditto.
	* gas/mips/mips16.d: Ditto.
	* gas/mips/lif-xgot.d: Ditto.
	* gas/mips/lif-svr4pic.d: Ditto.
	* gas/mips/ld-xgot.d: Ditto.
	* gas/mips/ld-svr4pic.d: Ditto.
	* gas/mips/ld-ilocks-addr32.d: Ditto.
	* gas/mips/lb-xgot.d: Ditto.
	* gas/mips/jal-xgot.d: Ditto.
	* gas/mips/jal-svr4pic.d: Ditto.
	* gas/mips/delay.d: Ditto.
	* gas/mips/lb-xgot-ilocks.d: Ditto.
	* gas/mips/div.d: Ditto.
	* gas/mips/break20.d: Ditto.
	* gas/mips/delay.d: Ditto.
	* gas/mips/elf_e_flags3.d: Ditto.
	* gas/mips/elf_e_flags4.d: Ditto.
	* gas/mips/lineno.d: Ditto.
	* gas/mips/mips16.d: Ditto.
	* gas/mips/mips4.d: Ditto.
	* gas/mips/mips4010.d: Ditto.
	* gas/mips/mips4650.d: Ditto.
2001-06-29 21:27:43 +00:00
Elena Zannoni 7746781066 2001-06-28 Elena Zannoni <ezannoni@redhat.com>
* TODO: Add import of readline 4.2 as a gdb 5.2 task.
2001-06-29 20:32:48 +00:00