Commit Graph

44319 Commits

Author SHA1 Message Date
Alan Modra 587aac4eaf * config/obj-coff.c (coff_adjust_section_syms): Use
bfd_get_section_size instead of bfd_get_section_size_before_reloc.
	(coff_frob_section): Likewise.
	* config/tc-mips.c (md_apply_fix3): Likewise.
	* config/obj-elf.c (elf_frob_file): Use bfd_set_section_size.
	(elf_frob_file_after_relocs): Likewise.
2004-06-15 01:16:35 +00:00
Alan Modra 52886d7065 * arc-ext.c (build_ARC_extmap): Use bfd_get_section_size
instead of _raw_size.
2004-06-15 01:14:22 +00:00
Alan Modra a9e0c0c668 * ldwrite.c (build_link_order): Use bfd_get_section_size
instead of bfd_get_section_size_before_reloc or _raw_size.
	* pe-dll.c (process_def_file): Likewise.
2004-06-15 01:13:20 +00:00
Alan Modra 67cf9bc5a1 * corefile.c (core_init): Use bfd_get_section_size
instead of bfd_get_section_size_before_reloc or _raw_size.
	* symtab.c (symtab_finalize): Likewise.
2004-06-15 01:11:43 +00:00
Alan Modra dcb74f961a * hw_htab.c (htab_sum_binary(bfd): Use bfd_get_section_size
instead of bfd_get_section_size_before_reloc.
	(htab_dma_binary(bfd): Likewise.
	* hw_init.c (update_for_binary_section(bfd): Likewise.
2004-06-15 01:08:57 +00:00
Alan Modra 84b11e2eb5 * interp.c (sim_prepare_for_program): Use bfd_get_section_size
instead of bfd_get_section_size_before_reloc.
2004-06-15 01:08:34 +00:00
Alan Modra 5f510f9ca0 * sim-load.c (sim_load_file): Use bfd_get_section_size
instead of bfd_get_section_size_before_reloc.
2004-06-15 01:08:00 +00:00
Alan Modra 2c500098f2 * dsrec.c (load_srec, make_srec): Use bfd_get_section_size instead of
bfd_get_section_size_before_reloc or _raw_size.
	* dwarf2-frame.c (dwarf2_build_frame_info): Likewise.
	* dwarf2read.c (dwarf2_locate_sections): Likewise.
	(dwarf2_read_section): Likewise.
	* elfread.c (elf_locate_sections): Likewise.
	* gcore.c (derive_heap_segment): Likewise.
	* mipsread.c (read_alphacoff_dynamic_symtab): Likewise.
	* remote-e7000.c (e7000_load): Likewise.
	* remote-m32r-sdi.c (m32r_load): Likewise.
	* remote-mips.c (mips_load_srec): Likewise.
	(pmon_load_fast): Likewise.
	* remote.c (compare_sections_command): Likewise.
	* symfile.c (add_section_size_callback): Likewise.
	(load_section_callback): Likewise.
	(pc_in_unmapped_range): Likewise.
	(pc_in_mapped_range): Likewise.
	(sections_overlap): Likewise.
	(list_overlays_command): Likewise.
	(simple_overlay_update_1): Likewise.
	(simple_overlay_update): Likewise.
	* tracepoint.c (remote_set_transparent_ranges): Likewise.
	* win32-nat.c (core_section_load_dll_symbols): Likewise.
2004-06-15 01:04:20 +00:00
Andrew Cagney 1bf404efc4 2004-06-14 Andrew Cagney <cagney@gnu.org>
* gdb.base/gcore.exp (capture_command_output): Delete the always
	passing tests containing inferior values.
	* gdb.base/ending-run.exp: Do not include the breakpoint address
	in the test message.  Update copyright.
	* gdb.base/sizeof.exp (check_sizeof): Do not include the type's
	size in the test name, use gdb_test_multiple.  Update copyright.
2004-06-15 00:16:42 +00:00
Alan Modra a4233a84bd daily update 2004-06-15 00:00:06 +00:00
gdbadmin aa97803648 *** empty log message *** 2004-06-15 00:00:04 +00:00
Andrew Cagney 3973a7d36d ChangeLog editorial fixes. 2004-06-14 22:52:52 +00:00
Andrew Cagney 03727ca61a 2004-06-14 Andrew Cagney <cagney@gnu.org>
Based on changes from Karl Berry.
	* gdb.texinfo: Do not use @sc in a direntry.
	* stabs.texinfo: Change @dircateogry to "Software development".
	* gdbint.texinfo, gdb.texinfo, annotate.texinfo: Ditto.
2004-06-14 22:26:34 +00:00
Randolph Chung 90f943f11a 2004-06-14 Randolph Chung <tausq@debian.org>
* Makefile.in (hppa-hpux-tdep.o): Update dependency.
	* hppa-hpux-tdep.c (hp_cxx_exception_support_initialized): Make
	static.
	(hppa_hpux_inferior_created): New function.
	(hppa_hpux_init_abi): Register observer.
	* symfile.c (hp_cxx_exception_support_initialized)
	(RESET_HP_UX_GLOBALS): Remove HPUXHPPA specific hacks.
	(symbol_file_add_main_1, symbol_file_clear): Likewise.
2004-06-14 20:40:40 +00:00
Chris Demetriou 092dcd755d [ bfd/ChangeLog ]
2004-06-14  Chris Demetriou  <cgd@broadcom.com>

        * elf32-mips.c (elf_mips_gnu_pcrel32): Add (undoing 2004-04-24
        removal) with updated comment.
        (bfd_elf32_bfd_reloc_type_lookup): Add back case for
        BFD_RELOC_32_PCREL.
        (mips_elf32_rtype_to_howto): Add back case for R_MIPS_PC32.
        * elfxx-mips.c (mips_elf_calculate_relocation): Likewise.

[ include/elf/ChangeLog ]
2004-06-14  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (R_MIPS_PC32): Add back (undoing removal on 2004-04-24),
        with an updated comment.
2004-06-14 18:25:10 +00:00
Randolph Chung 700c15aa2a 2004-06-14 Randolph Chung <tausq@debian.org>
* MAINTAINERS (Write After Approval): Alphabetize my entry correctly.
2004-06-14 17:35:07 +00:00
Michael Chastain ef220b3362 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/ref-types.cc: Add copyright notice.
2004-06-14 16:30:16 +00:00
Michael Chastain 4f70a4c95a 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
* lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
	hp_aCC_compiler.
	* lib/compiler.cc: Likewise.
	* lib/gdb.exp (get_compiler_info): Eval lines only if they are
	'set' commands.  Log diagnostics for other lines.  Set
	gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
2004-06-14 15:29:30 +00:00
Andrew Cagney cea4838c90 Index: ChangeLog
2004-06-14  Andrew Cagney  <cagney@gnu.org>

	* MAINTAINERS (testsuite): List Michael Chastain as the lead
	testsuite maintainer.
2004-06-14 13:40:34 +00:00
Alan Modra 7115639bec * ldlang.c (lang_finish): Don't free lang_definedness_table. 2004-06-14 12:46:43 +00:00
gdbadmin 699a6c011b *** empty log message *** 2004-06-14 00:00:32 +00:00
Alan Modra e9081f5778 daily update 2004-06-14 00:00:07 +00:00
Andrew Cagney e8c3165b25 2004-06-13 Andrew Cagney <cagney@gnu.org>
* infcmd.c (print_return_value): Fix logic, allow
	DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS when struct_return.
2004-06-13 17:05:55 +00:00
Andrew Cagney bceabdd859 2004-06-13 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh: For predicates, do not check GDB_MULTI_ARCH when
	defining any macros.
	* gdbarch.h: Re-generate.
2004-06-13 17:04:49 +00:00
Andrew Cagney 57010b1c8d 2004-06-13 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh: Delete "level" attribute.  Only check for a macro
	redefinition when multi-arch greater than GDB_MULTI_ARCH_PARTIAL.
	* gdbarch.h: Re-generate.
2004-06-13 16:43:58 +00:00
Michael Chastain 335928accd 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/try_catch.cc: Add copyright notice.
2004-06-13 16:07:02 +00:00
Andrew Cagney bc87dfa03b 2004-06-13 Andrew Cagney <cagney@gnu.org>
* values.c (generic_use_struct_convention): Don't check gcc_p.
2004-06-13 15:15:59 +00:00
Andrew Cagney 15ac804d2f 2004-06-13 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE)
	(DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Delete.
	* gdbarch.h, gdbarch.c: Regenerate.
	* ns32k-tdep.h (NS32K_MAX_REGISTER_RAW_SIZE)
	(NS32K_MAX_REGISTER_VIRTUAL_SIZE): Delete macros.
	* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
	deprecated_max_register_raw_size and
	deprecated_max_register_virtual_size.
	* v850-tdep.c (v850_gdbarch_init): Ditto.
	* ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
	* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
	* mcore-tdep.c (mcore_gdbarch_init): Ditto.
	* cris-tdep.c (cris_gdbarch_init): Ditto.
2004-06-13 13:49:53 +00:00
Andrew Cagney 9709241559 Index: ChangeLog
2004-06-13  Andrew Cagney  <cagney@gnu.org>

	* gdbarch.sh (RETURN_VALUE_ON_STACK): Delete method.
	* gdbarch.h, gdbarch.c: Re-generate.
	* m68hc11-tdep.c (m68hc11_return_value_on_stack): Delete function.
	(m68hc11_use_struct_convention): Delete function.
	(m68hc11_extract_struct_value_address): Delete function.
	(m68hc11_return_value): New function.
	(m68hc11_gdbarch_init): Instead of store_return_value,
	extract_return_value, return_value_on_stack,
	deprecated_extract_struct_value_address and use_struct_convention,
	set return_value.
	* values.c (using_struct_return): Do not call
	RETURN_VALUE_ON_STACK.
	* arch-utils.h (generic_return_value_on_stack_not): Delete
	declaration.
	* arch-utils.c (generic_return_value_on_stack_not): Delete
	function.

Index: doc/ChangeLog
2004-06-13  Andrew Cagney  <cagney@gnu.org>

	* gdbint.texinfo (Target Architecture Definition): Delete
	description of RETURN_VALUE_ON_STACK.
2004-06-13 13:42:33 +00:00
gdbadmin 789cdc3a47 *** empty log message *** 2004-06-13 00:00:33 +00:00
Alan Modra c3567b45bf daily update 2004-06-13 00:00:06 +00:00
Andrew Cagney 44e5158b45 2004-06-12 Andrew Cagney <cagney@gnu.org>
* values.c (register_value_being_returned): Delete function.
	* infcmd.c (legacy_return_value): Delete function.
	* infcall.c (call_function_by_hand): Inline
	"register_value_being_returned", simplify.
	* values.c (using_struct_return): Update comment, refer to
	print_return_value instead of register_value_being_returned.
	* infcmd.c (print_return_value): Inline calls to
	register_value_being_returned and legacy_return_value.  Simplify.
2004-06-12 18:02:30 +00:00
Michael Chastain 2efb12e85b 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/userdef.cc: Add copyright notice.
2004-06-12 16:45:49 +00:00
Christopher Faylor f8053e5265 YA forced checkin to see if I can duplicate the header mismatch problem. 2004-06-12 16:07:16 +00:00
Alan Modra 3ffa5234cb * elf64-x86-64.c (elf64_x86_64_relocate_section): Ignore reloc
overflow on branches to undefweaks.
2004-06-12 11:30:10 +00:00
Michael Chastain 0bbed51abe 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/virtfunc.cc: Add copyright notice.
2004-06-12 01:20:50 +00:00
Alan Modra 2d92b4e163 daily update 2004-06-12 00:00:07 +00:00
gdbadmin 239b822e57 *** empty log message *** 2004-06-12 00:00:03 +00:00
Randolph Chung b887c273ae 2004-06-11 Randolph Chung <tausq@debian.org>
* somread.c (som_symtab_read): Exclude gcc local symbols.
2004-06-11 23:44:24 +00:00
Randolph Chung e12a46c96a 2004-06-11 Randolph Chung <tausq@debian.org>
* gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
	problem.
2004-06-11 23:42:49 +00:00
Randolph Chung 1b2bfbb999 2004-06-11 Randolph Chung <tausq@debian.org>
* infrun.c (handle_inferior_event): Handle the case when a trampoline
	ends up in the runtime resolver, and if the trampoline has no name.
	Rearrange the code so that all the trampoline processing happens before
	other step-out-of-range handling.
2004-06-11 23:39:51 +00:00
Martin Hunt a9d61c8600 2004-06-11 Martin Hunt <hunt@redhat.com>
* mips-tdep.c (mips_gdbarch_init): Recognize vr4120
	has no fpu.
2004-06-11 19:34:29 +00:00
Dave Anglin b8fc22bc53 * config/tc-hppa.c (log2): Rename to exact_log2.
(pa_next_subseg): Delete unused function.
	(create_new_space): Mark unused arguments with ATTRIBUTE_UNUSED.
	(create_new_subspace): Likewise.
2004-06-11 17:39:18 +00:00
Dave Anglin 2337eb33bb Bug gas/213
* config/tc-hppa.c (hppa_fix_adjustable): Allow reduction of fake
	labels.  Fix warning.
2004-06-11 17:36:32 +00:00
Maciej W. Rozycki e9edc8084b * coff-alpha.c (alpha_relocate_section): Set used_by_bfd directly
as ecoff_section_data() does not return a valid lvalue.
2004-06-11 14:19:32 +00:00
Christopher Faylor ef15268bd0 forced checkin 2004-06-11 13:52:50 +00:00
Christopher Faylor c7a794980f forced checkin 2004-06-11 13:51:28 +00:00
Christopher Faylor e12cfa5294 forced checkin 2004-06-11 01:53:38 +00:00
Andrew Cagney 2c87cf5acf 2004-06-10 Andrew Cagney <cagney@gnu.org>
* blockframe.c (legacy_inside_entry_func): Delete.
	(legacy_frame_chain_valid): Inline call to
	legacy_inside_entry_func, simplify.
2004-06-11 00:41:56 +00:00
Alan Modra 0a4695466c daily update 2004-06-11 00:00:10 +00:00