Commit Graph

32196 Commits

Author SHA1 Message Date
Alan Modra
d7458677f4 * elfxx-ia64.c (elfNN_ia64_relocate_section): Test r_symndx rather
than sym_sec->output_section to detect relocs against discarded
	sections.
2001-11-21 14:58:26 +00:00
Richard Sandiford
add55e1f31 * config/tc-mips.c (mips_need_elf_addend_fixup): New, extracted from...
(md_apply_fix3): ...here.  Don't prevent the symbol value being
	subtracted twice from GPREL addends.
	(tc_gen_reloc): Add the symbol value to a GPREL addend if it was
	subtracted by the previous function.
2001-11-21 11:24:13 +00:00
Jim Blandy
98eedd63d0 * target.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): Delete
default definition; this is never used.
2001-11-21 02:01:29 +00:00
Alan Modra
abc6ab0a54 * ldlang.c (map_input_to_output_sections): Replace "break"
accidentally removed with 2001-08-03 change.
	(lang_gc_sections_1): Likewise.
2001-11-21 01:13:15 +00:00
Alan Modra
7a47c3a29c daily update 2001-11-21 00:53:38 +00:00
Michael Snyder
a773d1cdf8 2001-11-20 Michael Snyder <msnyder@redhat.com>
* gdb.c++/namespace.exp: Fix quotes in output messages.
2001-11-21 00:13:30 +00:00
Michael Snyder
bb632afbec 2001-11-14 Michael Snyder <msnyder@redhat.com>
* gdb.base/code-exprs.exp: New file.  Tests use of the "@code"
	qualifier in a type cast expression, to designate an address
	in the instruction space (Harvard architecture).
2001-11-21 00:12:01 +00:00
gdbadmin
71c7a32578 *** empty log message *** 2001-11-21 00:00:34 +00:00
Nick Clifton
43e6407243 Use msgfmt to generate .gmo files from .po files for a distribution. 2001-11-20 19:00:47 +00:00
Keith Seitz
5bbc1a8e41 * varobj.c (c_value_of_child): Release memory for "name" when
finshed using it.
	(c_type_of_child): Likewise.
	(cplus_value_of_child): Isolate the use of name_of_child to
	one case that needs it.
	Release memory for "name" when finished using it.
2001-11-20 18:08:14 +00:00
Keith Seitz
1ad24239ce * top.c (gdb_init): Call init_ui_hook before initializing
the default UI.
2001-11-20 16:54:39 +00:00
Elena Zannoni
4cb0dbef42 2001-11-19 Elena Zannoni <ezannoni@redhat.com>
* config/powerpc/nm-linux.h (ppc_register_u_addr): Add extern
        declaration.
2001-11-20 16:36:44 +00:00
Elena Zannoni
f00d375378 2001-11-19 Elena Zannoni <ezannoni@redhat.com>
* ppc-linux-nat.c (COPY_REG): Use regcache_collect instead of
	accessing registers[].
	(fill_fpregset): Ditto.
2001-11-20 16:35:24 +00:00
Alan Modra
2181f54fd8 * ldlang.c (walk_wild_section): Move sec == NULL case out of loop. 2001-11-20 15:31:10 +00:00
Alan Modra
ca0b584738 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
of false when calling lang_size_sections.
	(hppaelf_layout_sections_again): Likewise.
2001-11-20 15:19:39 +00:00
Nick Clifton
a6567fe028 Fix md_apply_fix3 typo. 2001-11-20 09:33:49 +00:00
Ben Elliston
f021c2a7b7 2001-11-20 Ben Elliston <bje@redhat.com>
* config/tc-m88k.c (md_apply_fix3): Match local variable `val' to
	 usage after md_apply_fix3 cleanups.
2001-11-20 03:33:30 +00:00
H.J. Lu
45e9217a8f 2001-11-19 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_link_input_bfd): Assert r_symndx != 0 when
	discarding relocations.
2001-11-20 00:54:51 +00:00
gdbadmin
ee396359a5 *** empty log message *** 2001-11-20 00:00:33 +00:00
Elena Zannoni
8b6f1f3a31 2001-11-19 Elena Zannoni <ezannoni@redhat.com>
* infptrace.c (fetch_register): Dynamically allocate buffer for
	register.
	(store_register): Use regcache_collect, instead of accessing the
	register buffer directly.
2001-11-19 23:59:55 +00:00
Daniel Jacobowitz
479412cd97 * mips-tdep.c (find_proc_desc): Add cur_frame argument. Pass
cur_frame to heuristic_proc_desc.
        (heuristic_proc_desc): Add cur_frame argument.  Do not read SP
        if cur_frame == 0.
        (after_prologue): Pass cur_frame == 0 to find_proc_desc.
        (mips_frame_chain): Pass cur_frame == 1 to find_proc_desc.
        (mips_init_extra_frame_info): Likewise.
2001-11-19 23:15:31 +00:00
Alan Modra
b572d65c66 daily update 2001-11-19 23:00:05 +00:00
Andrew Cagney
ab290c52fb * defs.h (return_to_top_level): Comment. 2001-11-19 21:44:46 +00:00
H.J. Lu
f5e0494514 2001-11-19 H.J. Lu <hjl@gnu.org>
* ld-elfvsb/define.s: Mark all global lables as object.

	* ld-elfvsb/hidden0.d: Match large section number.
	* ld-elfvsb/hidden1.d: Likewise.
	* ld-elfvsb/internal0.d: Likewise.
	* ld-elfvsb/internal1.d: Likewise.
	* ld-elfvsb/protected0.d: Likewise.
	* ld-elfvsb/protected1.d: Likewise.

	* ld-elfvsb/hidden0.d: Change NOTYPE to OBJECT.
	* ld-elfvsb/internal0.d: Likewise.
	* ld-elfvsb/protected0.d: Likewise.
2001-11-19 20:32:02 +00:00
Andrew Cagney
22e0437587 Use ISO C long strings. 2001-11-19 20:18:32 +00:00
Keith Seitz
30c6b1fbe9 * varobj.c (c_value_of_child): Use the wrapper function,
gdb_value_struct_elt.
	(cplus_value_of_child): Likewise.
2001-11-19 19:44:04 +00:00
Nick Clifton
84c254c646 Define and use bfd_is_const_section(). 2001-11-19 15:35:38 +00:00
Nick Clifton
261a45adff Add -ws switch to display contents of .debug_str sections 2001-11-19 14:35:57 +00:00
Andreas Jaeger
b8908f93e2 * testsuite/binutils-all/objdump.exp: Add x86-64. 2001-11-19 12:38:21 +00:00
Alan Modra
a0e94dc00c * elf32-hppa.c (clobber_millicode_symbols): Dec dynstr refcount. 2001-11-19 03:52:37 +00:00
Alan Modra
2a5aaecb4a * elf32-hppa.c (elf32_hppa_size_stubs): Don't consider undefined
millicode syms as candidates for import stubs.
2001-11-19 03:01:43 +00:00
Alan Modra
e5ee5df190 * elf32-hppa.c (PLABEL_PLT_ENTRY_SIZE): Delete.
(allocate_PIC_calls): Rename to allocate_plt_static.
	(allocate_dynrelocs): Move most of code handling .plt entries to..
	(allocate_plt_static): ..here.  Don't drop plabel entries.
2001-11-19 01:25:00 +00:00
Hans-Peter Nilsson
6eeb40b2c0 * mmo.c: Adjust documentation tags to use texinfo 4 features. 2001-11-19 01:22:45 +00:00
Hans-Peter Nilsson
13f7ad5861 * doc/c-mmix.texi: Use texinfo 4 features.
(MMIX-mmixal): Fix typo.
2001-11-19 01:19:07 +00:00
gdbadmin
4544e9e7ae *** empty log message *** 2001-11-19 00:00:33 +00:00
Hans-Peter Nilsson
66f6c0d534 * COPYING.NEWLIB: Mention preserved notice in specific parts. 2001-11-18 23:43:02 +00:00
Alan Modra
7138fabc3c daily update 2001-11-18 23:00:04 +00:00
Andrew Cagney
bd1ef5d285 * i386-tdep.c (i386_gdbarch_init): Initialize num_regs.
* config/i386/tm-i386.h (NUM_REGS): Delete.
2001-11-18 22:14:13 +00:00
Kevin Buettner
76fb44f49a * i386-linux-nat.c (fill_gregset): Fix botched regcache_collect()
conversion for I386_LINUX_ORIG_EAX_REGNUM.
2001-11-18 21:38:59 +00:00
Andrew Cagney
ed909a0d77 Zap config/i386/tm-embed.h. 2001-11-18 21:28:20 +00:00
Fred Fish
9e52972e45 2001-11-17 Fred Fish <fnf@redhat.com>
* sim-main.h (float_operation): Move enum declaration outside
	of _sim_cpu struct declaration.
2001-11-18 06:00:29 +00:00
Andrew Cagney
4edb848c4e Zap files in gdb/gdbserver/ 2001-11-18 05:09:26 +00:00
Andrew Cagney
f87ece4d0b doco more build probs. 2001-11-18 04:43:50 +00:00
Kevin Buettner
8a40674599 * i386-linux-nat.c (fill_gregset): Use regcache_collect() instead
of accessing registers[] directly.
2001-11-18 01:19:47 +00:00
gdbadmin
27758734ec *** empty log message *** 2001-11-18 00:00:02 +00:00
Kevin Buettner
7dd945fa27 * i386-linux-nat.c (fill_gregset): Don't invoke read_register_gen()
when fetching ORIG_EAX.
2001-11-17 23:53:16 +00:00
Alan Modra
b66167ff38 daily update 2001-11-17 23:00:06 +00:00
Matthew Green
473d3293c6 * ppc-opc.c (mfvrsave, mtvrsave): New instructions. 2001-11-17 22:34:17 +00:00
Daniel Jacobowitz
c215244117 * arm-linux-nat.c: Don't include <asm/ptrace.h>.
(fetch_register): Use elf_gregset_t instead of struct pt_regs.
        (fetch_regs): Likewise.
        (store_register): Likewise.
        (store_regs): Likewise.
2001-11-17 20:31:18 +00:00
Daniel Jacobowitz
b0677c2eb2 * sparc-linux-nat.c (fill_gregset): Replace read_register_gen
with regcache_collect.
        (fill_fpregset): Likewise.
2001-11-17 20:21:09 +00:00