Alan Modra [Sat, 18 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 18 Oct 2003 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Hans-Peter Nilsson [Fri, 17 Oct 2003 23:05:50 +0000 (23:05 +0000)]
* ldlang.c (lang_size_sections): Last, set _cooked_size for output
sections.
Hans-Peter Nilsson [Fri, 17 Oct 2003 23:03:44 +0000 (23:03 +0000)]
* reloc.c (bfd_generic_relax_section): Default-set
section->_cooked_size here.
(bfd_generic_get_relocated_section_contents): Don't set it here.
Explain why.
Ian Lance Taylor [Fri, 17 Oct 2003 22:45:29 +0000 (22:45 +0000)]
* gas/arm/iwmmxt-bad.s: New file.
* gas/arm/iwmmxt-bad.l: New file.
* gas/arm/arm.exp: Run new test.
Andrew Cagney [Fri, 17 Oct 2003 20:17:51 +0000 (20:17 +0000)]
2003-10-17 Andrew Cagney <cagney@redhat.com>
* target.c (target_section_by_addr): New function.
(do_xfer_memory): Use "target_section_by_addr".
* target.h (target_section_by_addr): Declare.
Andrew Cagney [Fri, 17 Oct 2003 18:24:49 +0000 (18:24 +0000)]
2003-10-17 Andrew Cagney <cagney@redhat.com>
* target.h (struct target_ops): Add "to_read_partial" and
"to_write_partial", delete "to_query".
(target_read_partial, target_write_partial): Declare.
(target_read, target_write): Declare.
(target_query): Delete macro.
* target.c (target_read_partial): New function.
(target_write_partial, target_read, target_write): New function.
(update_current_target): Delete inheritance of "to_query". Add
comments about "to_read_partial" and "to_write_partial".
(debug_to_partial_read, debug_to_partial_write): New functions.
(debug_to_query): Delete function.
(setup_target_debug): Set "to_read_partial" and "to_write_partial"
instead of "to_query".
* remote.c (remote_read_partial): Replace "remote_query".
(init_remote_ops): Set "to_read_partial" instead of "to_query".
(init_remote_async_ops): Ditto.
* kod.c (gdb_kod_query): Make "bufsize" a LONGEST. Use
"target_read_partial" instead of "target_query".
* avr-tdep.c (avr_io_reg_read_command): Make "bufsize" a LONGEST.
Use "target_read_partial" instead of "target_query".
Dave Anglin [Fri, 17 Oct 2003 16:43:14 +0000 (16:43 +0000)]
* elf32-hppa.c (elf32_hppa_relocate_section): Skip relocation if
output section has been discarded.
Jeff Johnston [Fri, 17 Oct 2003 16:32:17 +0000 (16:32 +0000)]
2003-10-17 Jeff Johnston <jjohnstn@redhat.com>
* frame.h (struct frame_id): Add new field: special_addr.
(frame_id_build_special): New prototype.
* frame.c (frame_id_build_special): New function.
(frame_id_build): Change to call frame_id_build_special().
(frame_id_eq): Change to also test special_addr field.
(frame_id_inner): Update comment.
Andrew Cagney [Fri, 17 Oct 2003 16:09:20 +0000 (16:09 +0000)]
2003-10-17 Andrew Cagney <cagney@redhat.com>
* target.c: Update copyright.
(update_current_target): Perform the target cleanup.
Put the target stack beneath the squashed "current_target".
(add_target): Delete disabled call to "cleanup_target".
(cleanup_target): Delete function.
(push_target, unpush_target): Do not call "cleanup_target".
Andrew Cagney [Fri, 17 Oct 2003 14:41:09 +0000 (14:41 +0000)]
Fix changelog date :-(
Andrew Cagney [Fri, 17 Oct 2003 13:59:27 +0000 (13:59 +0000)]
2003-10-15 Andrew Cagney <cagney@redhat.com>
* target.c (target_stack): Change to a static target_ops.
(update_current_target): Walk the "struct target_ops" stack.
(pop_target, do_xfer_memory, target_info): Ditto.
(find_target_beneath): Ditto.
(push_target): Rewrite to use the "struct target_ops" stack.
(unpush_target): Ditto.
* target.h (struct target_stack_item): Delete definition.
(target_stack): Delete declaration.
(struct target_ops): Add field "beneath".
Andrew Cagney [Fri, 17 Oct 2003 13:49:37 +0000 (13:49 +0000)]
fix tiop in changelug
Shrinivas Atre [Fri, 17 Oct 2003 12:45:55 +0000 (12:45 +0000)]
2003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com>
* h8300/compile.c : Addition of extern variable h8300_normal_mode
(SP) : Handle normal mode
(bitfrom) : Use normal mode flag to return suitable value
(lvalue) : Use normal mode flag to return command line location
(decode) : Decode instruction correctly for normal mode
(init_pointers) : Initialise memory correctly for normal mode
(sim_resume) : Handle cases for normal mode using h8300_normal_mode flag
(sim_store_register) : Handle 2 byte PC for normal mode
(sim_fetch_register) : Handle 2 byte PC for normal mode
(set_h8300h) : Set normal mode flag as per architechture
(sim_load) : Allocate 64K for normal mode instead of bigger memory
Shrinivas Atre [Fri, 17 Oct 2003 12:43:05 +0000 (12:43 +0000)]
2003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com>
* gdb/config/h8300/tm-h8300.h : Addition of extern variable h8300_normal_mode
* gdb/h8300-tdep.c (BINWORD): Update BINWORD for h8300_normal_mode
(h8300_examine_prologue): Use h8300_normal_mode flag
(h8300_gdbarch_init): Set architecture info for normal mode
Nick Clifton [Fri, 17 Oct 2003 10:50:27 +0000 (10:50 +0000)]
Enforce PC-relative jumps with --pcrel.
Nick Clifton [Fri, 17 Oct 2003 10:23:33 +0000 (10:23 +0000)]
Fix normal operation for h8300-coff target
Ian Lance Taylor [Fri, 17 Oct 2003 07:01:44 +0000 (07:01 +0000)]
* config/tc-arm.c (do_iwmmxt_byte_addr): Reject control
registers.
(do_iwmmxt_word_addr): With a control register, reject conditional
execution and reject a non-word size.
Ian Lance Taylor [Fri, 17 Oct 2003 06:57:18 +0000 (06:57 +0000)]
* gas/arm/iwmmxt.d: Add -miwmmxt to #objdump line, to get the
right disassembly.
Christopher Faylor [Fri, 17 Oct 2003 03:30:27 +0000 (03:30 +0000)]
* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't calculate image size for
sections which lack size info.
Danny Smith [Fri, 17 Oct 2003 02:15:53 +0000 (02:15 +0000)]
* configure.host: Add __USE_MINGW_FSEEK to HDEFINES for
mingw32.
H.J. Lu [Fri, 17 Oct 2003 01:36:56 +0000 (01:36 +0000)]
2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
* gas/alpha/elf-reloc-8.d: Updated.
Michael Snyder [Fri, 17 Oct 2003 00:15:25 +0000 (00:15 +0000)]
2003-10-16 Michael Snyder <msnyder@redhat.com>
* emul_netbsd.c: Only a comment may follow an #endif.
gdbadmin [Fri, 17 Oct 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 17 Oct 2003 00:00:06 +0000 (00:00 +0000)]
daily update
H.J. Lu [Thu, 16 Oct 2003 21:05:32 +0000 (21:05 +0000)]
2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also warn
undefined patterns with '*'.
H.J. Lu [Thu, 16 Oct 2003 21:04:04 +0000 (21:04 +0000)]
2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't
use the last CIE from a different section.
(_bfd_elf_write_section_eh_frame): Don't pad beyond the raw
size of the output section.
Daniel Jacobowitz [Thu, 16 Oct 2003 20:51:47 +0000 (20:51 +0000)]
* remote.c (remote_protocol_vcont): New variable.
(set_remote_protocol_vcont_packet_cmd): New function.
(show_remote_protocol_vcont_packet_cmd): New function.
(init_all_packet_configs): Handle remote_protocol_vcont.
(remote_vcont_probe): New function.
(remote_vcont_resume): New function.
(remote_resume): Use it.
(remote_async_resume): Call remote_resume.
(_initialize_remote): Add verbose-resume packet commands.
Roland McGrath [Thu, 16 Oct 2003 18:55:52 +0000 (18:55 +0000)]
.
Roland McGrath [Thu, 16 Oct 2003 18:55:48 +0000 (18:55 +0000)]
2003-10-07 Roland McGrath <roland@redhat.com>
* elf.c (_bfd_elf_make_section_from_phdr): Set alignment_power of
new section from p_align header field.
Andrew Cagney [Thu, 16 Oct 2003 18:24:13 +0000 (18:24 +0000)]
2003-10-16 Andrew Cagney <cagney@redhat.com>
* infrun.c (handle_inferior_event): Add comment about
"frame_id_inner" being too weak.
Elena Zannoni [Thu, 16 Oct 2003 16:35:27 +0000 (16:35 +0000)]
2003-10-16 Elena Zannoni <ezannoni@redhat.com>
* minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove
second parameter, which is always null. Remove
SOFUN_ADDRESS_MAYBE_MISSING ifdeffed code.
* symtab.h (lookup_minimal_symbol_solib_trampoline): Update
accordingly.
* somsolib.c (som_solib_create_inferior_hook,
som_solib_desire_dynamic_linker_symbols): Update callers.
* hppa-tdep.c (hppa_fix_call_dummy): Ditto.
H.J. Lu [Thu, 16 Oct 2003 15:25:54 +0000 (15:25 +0000)]
2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
* elf32-xtensa.c (xtensa_read_table_entries): The external size
of entry is 8 bytes.
H.J. Lu [Thu, 16 Oct 2003 15:22:27 +0000 (15:22 +0000)]
2003-10-14 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/demangle-expected: Update the expected output of
_GLOBAL__I__Z2fnv.
Alan Modra [Thu, 16 Oct 2003 13:16:26 +0000 (13:16 +0000)]
* configure.in: Set em=linux for ppc-*-linux-gnu* target.
* configure: Regenerate.
Alan Modra [Thu, 16 Oct 2003 08:46:35 +0000 (08:46 +0000)]
* Makefile.am (GENSCRIPTS_EXTRA, GEN_EXTRA_DEPENDS): Remove. Use
GENSCRIPTS and GEN_DEPENDS in place of these.
* Makefile.in: Regenerate.
* genscripts_extra.sh: Delete. Merge extra functionality to..
* genscripts.sh: ..here.
* emulparams/gld960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Define.
* emulparams/gld960coff.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
* emulparams/lnk960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
* emulparams/m88kbcs.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
* emulparams/vanilla.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
Alan Modra [Thu, 16 Oct 2003 06:26:37 +0000 (06:26 +0000)]
* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't
use $EMULATION_NAME to call bfd function.
Andrew Cagney [Thu, 16 Oct 2003 04:11:10 +0000 (04:11 +0000)]
Index: doc/ChangeLog
2003-10-15 Andrew Cagney <cagney@redhat.com>
* bfdint.texi (BFD target vector symbols): Rename _get_symtab to
_canonicalize_symtab.
2003-10-15 Andrew Cagney <cagney@redhat.com>
* targets.c (BFD_JUMP_TABLE_SYMBOLS): Replace NAME##_get_symtab
with NAME##_canonicalize_symtab.
* libcoff-in.h (coff_canonicalize_symtab): Update.
* xsym.h (bfd_sym_canonicalize_symtab): Update.
* elf-bfd.h (_bfd_elf_canonicalize_symtab): Update.
* coffgen.c (coff_canonicalize_symtab): Update.
* libbfd-in.h (_bfd_nosymbols_canonicalize_symtab): Update.
* libnlm.h (nlmNAME(canonicalize_symtab)): Update.
* ieee.c (ieee_vec): Update comment.
* libecoff.h (_bfd_ecoff_canonicalize_symtab): Update.
* mmo.c (mmo_canonicalize_symtab): Update.
* nlm-target.h (nlm_canonicalize_symtab): Update.
* nlmcode.h (nlm_canonicalize_symtab): Update.
* i386msdos.c (msdos_canonicalize_symtab): Update.
* hp300hpux.c (MY (canonicalize_symtab)): Update.
* oasys.c (oasys_canonicalize_symtab): Update.
* som.c (som_canonicalize_symtab): Update.
* pef.c (bfd_pef_canonicalize_symtab): Update.
* nlmcode.h (nlm_canonicalize_symtab): Update.
* xsym.c (bfd_sym_canonicalize_symtab): Update.
* vms.c (vms_canonicalize_symtab): Update.
* versados.c (versados_canonicalize_symtab): Update.
* mach-o.c (bfd_mach_o_canonicalize_symtab): Update.
* ieee.c (ieee_canonicalize_symtab): Update.
* pdp11.c (NAME(aout,canonicalize_symtab)): Update.
* reloc.c: Update comment.
* libaout.h (NAME(aout,canonicalize_symtab)): Update.
* coff64-rs6000.c (aix5coff64_vec): Update.
* coff64-rs6000.c (bfd_xcoff_aix5_backend_data): Update.
* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Update.
* aoutx.h (NAME(aout,canonicalize_symtab)): Update.
* elfxx-target.h (bfd_elfNN_canonicalize_symtab): Update.
* hp300hpux.c (MY_canonicalize_symtab): Update.
* ecoff.c (_bfd_ecoff_canonicalize_symtab): Update.
* aout-tic30.c (MY_canonicalize_symtab): Update.
* aout-target.h (MY_canonicalize_symtab): Update.
* ppcboot.c (ppcboot_canonicalize_symtab): Update.
* elf.c (_bfd_elf_canonicalize_symtab): Update.
* elfcode.h (elf_canonicalize_symtab): Update.
* ihex.c (ihex_canonicalize_symtab): Update.
* tekhex.c (tekhex_canonicalize_symtab): Update.
* binary.c (binary_canonicalize_symtab): Update.
* srec.c (srec_canonicalize_symtab): Update.
Kazuhiro Inaoka [Thu, 16 Oct 2003 02:36:39 +0000 (02:36 +0000)]
2003-10-16 Kei Sakamoto <sakamoto.kei@renesas.com>
* remote-m32r-sdi.c : New file, interface to m32r on-chip
debug interface, SDI (Scalable Debug Interface).
* NEWS: Mention m32r SDI protocol was supported.
* Makefile.in (remote-m32r-sdi.o): Add build rule.
* config/m32r/m32r.mt (TDEPFILES) : Add remote-m32r-sdi.o.
Kazuhiro Inaoka [Thu, 16 Oct 2003 02:33:46 +0000 (02:33 +0000)]
2003-10-16 Kei Sakamot Sakamoto <sakamoto.kei@renesas.com>
* gdb.texinfo (M32R/D): Mention m32rsdi target.
gdbadmin [Thu, 16 Oct 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 16 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update
Jeff Johnston [Wed, 15 Oct 2003 22:55:32 +0000 (22:55 +0000)]
2003-10-15 Jeff Johnston <jjohnstn@redhat.com>
* ia64-linux-tdep.c: Include gdbcore.h.
(IA64_LINUX_SIGCONTEXT_OFFSET): Magic constant removed.
(ia64_linux_sigcontext_register_addr): Find the address of the
sigcontext area stored in the sigframe instead of using
a magic offset constant.
Michael Snyder [Wed, 15 Oct 2003 21:32:36 +0000 (21:32 +0000)]
2003-10-15 Michael Snyder <msnyder@redhat.com>
* Makefile.in (sim_calls.o): No longer depends on gdb/tm.h.
Andrew Cagney [Wed, 15 Oct 2003 21:10:55 +0000 (21:10 +0000)]
2003-10-15 Andrew Cagney <cagney@redhat.com>
* remote.c (remote_search): Delete function.
* target.h (target_search): Delete disabled macro.
(struct target_ops): Delete disabled field "to_search".
Kazu Hirata [Wed, 15 Oct 2003 19:08:10 +0000 (19:08 +0000)]
* elf32-h8300.c (elf_reloc_map): Fix a comment typo.
Kevin Buettner [Wed, 15 Oct 2003 17:55:02 +0000 (17:55 +0000)]
* gdb.texinfo (Breakpoints related warnings): Insert into menu.
Alan Modra [Wed, 15 Oct 2003 14:16:29 +0000 (14:16 +0000)]
* doc/as.texinfo (Align): Correct list of byte targets.
Joern Rennecke [Wed, 15 Oct 2003 12:30:47 +0000 (12:30 +0000)]
include/gdb:
* callback.h (struct host_callback_struct): New members ftruncate
and truncate.
gdb:
sim/common:
* callback.c (os_ftruncate, os_truncate): New functions.
(default_callback): Initialize ftruncate and truncate members.
sim/sh:
* syscall.h (SYS_truncate, SYS_ftruncate): Define.
* interp.c (trap): Add support for SYS_ftruncate and SYS_truncate.
Joern Rennecke [Wed, 15 Oct 2003 12:28:50 +0000 (12:28 +0000)]
nclude/gdb:
* callback.h (struct host_callback_struct): New members ftruncate
and truncate.
gdb:
sim/common:
* callback.c (os_ftruncate, os_truncate): New functions.
(default_callback): Initialize ftruncate and truncate members.
sim/sh:
* syscall.h (SYS_truncate, SYS_ftruncate): Define.
* interp.c (trap): Add support for SYS_ftruncate and SYS_truncate.
Thiemo Seufer [Wed, 15 Oct 2003 11:12:53 +0000 (11:12 +0000)]
* config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
Fix indentation. Better error message.
Kaz Kojima [Wed, 15 Oct 2003 06:23:55 +0000 (06:23 +0000)]
[bfd]
* elf32-sh.c (sh_elf_relocate_section): Handle R_SH_IMM_*_PCREL
relocations.
(sh_elf_check_relocs): Likewise.
* elf32-sh64.c (elf_backend_merge_symbol_attribute): Define.
(sh64_elf_merge_symbol_attribute): New.
* elf64-sh64.c (elf_backend_merge_symbol_attribute): Define.
(sh64_elf64_merge_symbol_attribute): New.
[ld/testsuite]
* ld-sh/sh64/rd-sh64.exp: If the test matches *-dso.d, copy
the output of linker to the file tmpdir/*-dso.so.
* ld-sh/sh64/stobin-0-dso.d: New.
* ld-sh/sh64/stobin-1.d: New.
* ld-sh/sh64/stobin.s: New.
* ld-sh/sh64/stolib.s: New.
gdbadmin [Wed, 15 Oct 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 15 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update
Kaz Kojima [Tue, 14 Oct 2003 22:43:10 +0000 (22:43 +0000)]
* elf-bfd.h (struct elf_backend_data): New function pointer member
elf_backend_merge_symbol_attribute.
* elflink.h (elf_link_add_object_symbols): Adjust call to
elf_backend_merge_symbol_attribute if the backend defined it.
* elfxx-target.h (elf_backend_merge_symbol_attribute): New macro.
(elfNN_bed): Add that to the initializer.
Bob Wilson [Tue, 14 Oct 2003 22:28:28 +0000 (22:28 +0000)]
bfd ChangeLog:
2003-10-14 Bob Wilson <bob.wilson@acm.org>
* elf32-xtensa.c (get_is_linkonce_section): Delete.
(xtensa_is_property_section, xtensa_is_littable_section): Use
XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Do not recognize
linkonce sections containing ".xt.insn" and ".xt.lit" substrings.
(xtensa_get_property_section_name): Check section name instead of
calling get_is_linkonce_section. Remove unused bfd parameter. Use
XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Never generate
linkonce section names by appending ".xt.insn" or ".xt.lit".
(xtensa_read_table_entries): Remove bfd argument in call to
xtensa_get_property_section_name. Free section name when done.
(elf_xtensa_combine_prop_entries): Free leaking table.
gas ChangeLog:
2003-10-14 Bob Wilson <bob.wilson@acm.org>
* config/tc-xtensa.c (xtensa_create_property_segments): Remove bfd
argument in call to xtensa_get_property_section_name. Formatting.
include ChangeLog:
2003-10-14 Bob Wilson <bob.wilson@acm.org>
* elf/xtensa.h: Formatting. Fix comments about property section
names for linkonce sections.
Nathanael Nerode [Tue, 14 Oct 2003 21:40:44 +0000 (21:40 +0000)]
* gettext.m4: Properly quote arguments to AC_DEFUN.
Kevin Buettner [Tue, 14 Oct 2003 20:44:46 +0000 (20:44 +0000)]
* frv-tdep.c (frv_frame_this_id): Call inside_entry_func()
instead of deprecated_inside_entry_file().
Kevin Buettner [Tue, 14 Oct 2003 20:23:29 +0000 (20:23 +0000)]
* gdb.texinfo (Breakpoint related warnings): New node.
* gdbint.texinfo (ADJUST_BREAKPOINT_ADDRESS): Document.
Corinna Vinschen [Tue, 14 Oct 2003 15:35:43 +0000 (15:35 +0000)]
* sh-tdep.c: Fix two copy/paste hangovers in comments.
(sh_push_dummy_call_fpu): Accomodate double passing in little endian
mode.
(sh3e_sh4_extract_return_value): Ditto.
Richard Henderson [Tue, 14 Oct 2003 06:51:14 +0000 (06:51 +0000)]
* f-typeprint.c (f_type_print_base): Handle TYPE_CODE_REF.
* f-valprint.c (f_val_print): Likewise. Tweak TYPE_CODE_PTR to
match c_val_print a bit closer.
Danny Smith [Tue, 14 Oct 2003 06:26:31 +0000 (06:26 +0000)]
* pe-dll.c (pe_implied_import_dll): Also scan .rdata sections
to identify data symbols.
Kevin Buettner [Tue, 14 Oct 2003 00:30:27 +0000 (00:30 +0000)]
* frv-tdep.c (max_instrs_per_bundle, frv_instr_size): New constants.
(frv_gdbarch_adjust_breakpoint_address): New function.
(frv_gdbarch_init): Initialize ``gdbarch_adjust_breakpoint_address''
method.
Alan Modra [Tue, 14 Oct 2003 00:00:28 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 14 Oct 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Kevin Buettner [Mon, 13 Oct 2003 23:53:20 +0000 (23:53 +0000)]
* breakpoint.h (struct breakpoint): Add new member
``requested_address''.
* breakpoint.c (breakpoint_adjustment_warning)
(adjust_breakpoint_address): New static functions.
(print_it_typical): Issue warning if breakpoint's address is different
from its requested address.
(set_raw_breakpoint, set_longjmp_resume_breakpoint, watch_command_1)
(breakpoint_re_set_one): Set breakpoint's
``requested_address'' field. Set ``address'' field to the
result of calling adjust_breakpoint_address() on the requested
address.
Kevin Buettner [Mon, 13 Oct 2003 23:41:40 +0000 (23:41 +0000)]
* gdbarch.sh (ADJUST_BREAKPOINT_ADDRESS): New method.
* gdbarch.h, gdbarch.c: Regenerate.
Nathanael Nerode [Mon, 13 Oct 2003 21:45:29 +0000 (21:45 +0000)]
* Makefile.tpl: Make GCC_FLAGS_TO_PASS a superset of
HOST_FLAGS_TO_PASS.
* Makefile.in: Regenerate.
Richard Sandiford [Mon, 13 Oct 2003 19:51:10 +0000 (19:51 +0000)]
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add
DT_MIPS_LIBLIST or DT_MIPS_CONFLICT entries.
(_bfd_mips_elf_finish_dynamic_symbol): Don't handle them. Don't
handle DT_MIPS_MSYM. Set DT_RELSZ based on the number of relocations
that were needed.
(_bfd_mips_elf_modify_segment_map): Fix placement of PT_MIPS_OPTIONS.
(_bfd_mips_elf_merge_private_bfd_data): Ignore EF_MIPS_UCODE.
Richard Sandiford [Mon, 13 Oct 2003 19:48:39 +0000 (19:48 +0000)]
* emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Move
definition from elf64btsmip.sh.
(TEXT_DYNAMIC): Likewise elf32btsmipn32.sh.
* emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Remove.
* emulparams/elf64btsmip.sh (INITIAL_READONLY_SECTIONS): Remove.
* emulparams/elf64bmip.sh (SHLIB_TEXT_START_ADDR): Define.
(EXECUTABLE_SYMBOLS): Set __elf_header correctly for shared objects.
Define __program_header_table in terms of __elf_header.
Daniel Jacobowitz [Mon, 13 Oct 2003 16:32:51 +0000 (16:32 +0000)]
* gdb.threads/killed.exp: Use gdb_run_cmd.
Daniel Jacobowitz [Mon, 13 Oct 2003 16:30:45 +0000 (16:30 +0000)]
* gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
create a core file.
* gdb.threads/gcore-thread.exp: Likewise.
Daniel Jacobowitz [Mon, 13 Oct 2003 16:17:21 +0000 (16:17 +0000)]
* linux-low.c (linux_resume): Take a struct thread_resume *
argument.
(linux_wait): Update call.
(resume_ptr): New static variable.
(linux_continue_one_thread): Renamed from
linux_continue_one_process. Use resume_ptr.
(linux_resume): Use linux_continue_one_thread.
* server.c (handle_v_cont, handle_v_requests): New functions.
(myresume): New function.
(main): Handle 'v' case.
* target.h (struct thread_resume): New type.
(struct target_ops): Change argument of "resume" to struct
thread_resume *.
(myresume): Delete macro.
Daniel Jacobowitz [Mon, 13 Oct 2003 16:11:57 +0000 (16:11 +0000)]
* gdb.texinfo (Remote Protocol): Document v and vCont.
H.J. Lu [Mon, 13 Oct 2003 15:55:51 +0000 (15:55 +0000)]
bfd/
2003-10-10 H.J. Lu <hongjiu.lu@intel.com>
* bfd-in.h (bfd_elf32_ia64_after_parse): New prototype.
(bfd_elf64_ia64_after_parse): Likewise.
* bfd-in2.h: Regenerated.
* elfxx-ia64.c (oor_ip): New.
(oor_branch_size): Likewise.
(bfd_elfNN_ia64_after_parse): Likewise.
(elfNN_ia64_relax_section): Use oor_ip if oor_branch_size
equals sizeof (oor_ip).
ld/
2003-10-10 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (eelf64_ia64.c): Also depend on
$(srcdir)/emultempl/ia64elf.em.
* Makefile.in: Regenerated.
* emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Set to ia64elf.
* emultempl/ia64elf.em: New.
Corinna Vinschen [Mon, 13 Oct 2003 09:13:43 +0000 (09:13 +0000)]
* gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
type, based on char type.
(struct bit_flags_short_t): New bitfield type, based on short type.
(init_bit_flags_char): New fuction.
(init_bit_flags_short): Ditto.
(print_bit_flags_char): Ditto.
(print_bit_flags_short): Ditto.
(main): Add handling for bit_flags_char_t and bit_flags_short_t.
Kaz Kojima [Mon, 13 Oct 2003 05:11:30 +0000 (05:11 +0000)]
* elf64-sh64.c (sh_elf64_relocate_section): Tidy up for the
renumbering of some relocation numbers.
Kaz Kojima [Mon, 13 Oct 2003 05:09:21 +0000 (05:09 +0000)]
[ld]
* emulparams/shelf32_nbsd.sh (OTHER_SECTIONS): Redefine.
[ld/testsuite]
* ld-sh/rd-sh.exp (LDFLAGS): Define appropriately for each
sh64/sh5 targets.
* ld-sh/sh.exp: Don't do relaxing test for sh64*-*-* and
sh5*-*-* targets.
* ld-sh/sh64/relax.exp (emul32): Set to shelf32_nbsd for netbsd.
* ld-sh/sh64/relfail.exp: Set parameters for netbsd.
* ld-sh/sh64/sh64.exp: Skip this for netbsd. Trim the section
numbers for crangerel1 and crengerel2 tests.
* ld-sh/sh64/abi32.sd: Update.
* ld-sh/sh64/abi32.xd: Likewise.
* ld-sh/sh64/abi64.sd: Likewise.
* ld-sh/sh64/abi64.xd: Likewise.
* ld-sh/sh64/abixx-noexp.sd: Likewise.
* ld-sh/sh64/cmpct1.sd: Likewise.
* ld-sh/sh64/cmpct1.xd: Likewise.
* ld-sh/sh64/crange1.rd: Likewise.
* ld-sh/sh64/crange2.rd: Likewise.
* ld-sh/sh64/crange3-cmpct.rd: Likewise.
* ld-sh/sh64/crange3-media.rd: Likewise.
* ld-sh/sh64/crange3.rd: Likewise.
* ld-sh/sh64/crangerel1.rd: Likewise.
* ld-sh/sh64/crangerel2.rd: Likewise.
* ld-sh/sh64/dlsection.sd: Likewise.
* ld-sh/sh64/endian.sbd: Likewise.
* ld-sh/sh64/endian.sld: Likewise.
* ld-sh/sh64/gotplt.d: Likewise.
* ld-sh/sh64/init-cmpct.d: Likewise.
* ld-sh/sh64/init-media.d: Likewise.
* ld-sh/sh64/init.s: Align functions.
* ld-sh/sh64/init64.d: Update.
* ld-sh/sh64/mix1-noexp.sd: Likewise.
* ld-sh/sh64/mix1.sd: Likewise.
* ld-sh/sh64/mix1.xd: Likewise.
* ld-sh/sh64/mix2-noexp.sd: Likewise.
* ld-sh/sh64/mix2.sd: Likewise.
* ld-sh/sh64/mix2.xd:Likewise.
* ld-sh/sh64/rel32.xd: Likewise.
* ld-sh/sh64/rel64.xd: Likewise.
* ld-sh/sh64/reldl32.rd: Likewise.
* ld-sh/sh64/reldl64.rd: Likewise.
* ld-sh/sh64/shdl32.xd: Update.
* ld-sh/sh64/shdl64.sd: Likewise.
* ld-sh/sh64/shdl64.xd: Likewise.
* ld-sh/shared-1.d: Add -z nocombreloc to ld option. Update.
* ld-sh/sub2l-1.d: Make file format match with elf32-sh.*.
* ld-sh/weak1.d: Likewise.
Alan Modra [Mon, 13 Oct 2003 00:00:26 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 13 Oct 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Sun, 12 Oct 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 12 Oct 2003 00:00:25 +0000 (00:00 +0000)]
daily update
Kaz Kojima [Sat, 11 Oct 2003 21:51:13 +0000 (21:51 +0000)]
* config/tc-sh.h (sh_coff_reloc_mangle): Delete an extra
parenthesis.
Michael Chastain [Sat, 11 Oct 2003 20:57:42 +0000 (20:57 +0000)]
2003-10-11 Michael Chastain <mec@shout.net>
* gdb.base/call-rt-st.exp: Update copyright year.
Mark Kettenis [Sat, 11 Oct 2003 15:38:55 +0000 (15:38 +0000)]
* i386bsd-tdep.c (i386bsd_init_abi): Use ARRAY_SIZE to initialize
TDEP->sc_num_regs.
Mark Kettenis [Sat, 11 Oct 2003 15:22:39 +0000 (15:22 +0000)]
* i386fbsd-tdep.c: New file.
(i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,
i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi,
i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Move here from
i386bsd-tdep.c.
(_initialize_i386fbsd_tdep): New function.
(i386fbsd_r_reg_offset, i386fbsd4_r_reg_offset): New varibles.
(i386fbsdaout_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs, TDEP->sizeof_gregset and
TDEP->sizeof_fpregset. Use ARRAY_SIZE to initialize
TDEP->sc_num_regs.
(i386fbsd4_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and TDEP->sizeof_gregset. Use ARRAY_SIZE
to initialize TDEP->sc_num_regs.
* i386bsd-tdep.c (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,
i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi,
i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Remove.
(_initialize_i386bsd_tdep): Don't register FreeBSD a.out and
FreeBSD ELF OS/ABI's here.
* Makefile.in (ALLDEPFILES): Add i386fbsd-tdep.c.
(i386fbsd-tdep.o): New target.
* config/i386/fbsd.mt (TDEPFILES): Add i386fbsd-tdep.o.
* config/i386/fbsd64.mt (TDEPFILES): Add i386fbsd-tdep.o.
Mark Kettenis [Sat, 11 Oct 2003 14:54:24 +0000 (14:54 +0000)]
* amd64fbsd-tdep.c (amd64fbsd_r_reg_offset): New variable.
(amd64fbsd_init_abi): Set TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and TDEP->sizeof_gregset. Use ARRAY_SIZE
in initialization of TDEP->sc_num_regs.
Mark Kettenis [Sat, 11 Oct 2003 14:19:11 +0000 (14:19 +0000)]
* x86-64-tdep.c (x86_64_regset_from_core_section): New function.
(x86_64_init_abi): Initialize regset_from_core_section if
appropriate.
Mark Kettenis [Sat, 11 Oct 2003 13:50:25 +0000 (13:50 +0000)]
* i386-tdep.c (i386_regset_from_core_section): New function.
(i386_gdbarch_init): Initialize regset_from_core_section if
appropriate.
* i386-tdep.h (i386_regset_from_core_section): New declaration.
Kaz Kojima [Sat, 11 Oct 2003 13:40:21 +0000 (13:40 +0000)]
* config/tc-sh.c: Convert to ISO C90. Remove unnecessary
prototypes and casts.
* config/tc-sh.h: Likewise.
* config/tc-sh64.c: Likewise.
* config/tc-sh64.h: Likewise.
Mark Kettenis [Sat, 11 Oct 2003 13:33:31 +0000 (13:33 +0000)]
* i386-tdep.h (struct regset): Declare opaque.
Alan Modra [Sat, 11 Oct 2003 13:13:02 +0000 (13:13 +0000)]
Fix bugus mail address
Alan Modra [Sat, 11 Oct 2003 13:10:24 +0000 (13:10 +0000)]
* bfd.texinfo: Remove spurious backslash.
Alan Modra [Sat, 11 Oct 2003 13:08:44 +0000 (13:08 +0000)]
* coff-sh.c: Move definition of MAP and guard more code with
COFF_IMAGE_WITH_PE.
Mark Kettenis [Sat, 11 Oct 2003 12:52:30 +0000 (12:52 +0000)]
* gdbarch.sh (regset_from_core_section): New method.
(struct regset): Declare opaque.
* gdbarch.c, gdbarch.h: Regenerated.
Alan Modra [Sat, 11 Oct 2003 12:41:12 +0000 (12:41 +0000)]
* interp.c (sim_load): Don't refer directly to _cooked_size and vma;
Use bfd_section_size and bfd_get_section_vma.
Alan Modra [Sat, 11 Oct 2003 12:40:38 +0000 (12:40 +0000)]
* hppa-tdep.c (hppa_in_solib_call_trampoline): Don't refer directly to
_cooked_size and vma; Use bfd_section_size and bfd_get_section_vma.
Correct test for pc within section.
Alan Modra [Sat, 11 Oct 2003 12:34:31 +0000 (12:34 +0000)]
* corefile.c (core_create_function_syms): Don't refer directly to
_cooked_size and vma; Use bfd_section_size and bfd_get_section_vma.
Alan Modra [Sat, 11 Oct 2003 12:33:50 +0000 (12:33 +0000)]
Oops. missed a line.
Alan Modra [Sat, 11 Oct 2003 12:32:18 +0000 (12:32 +0000)]
* section.c (bfd_get_section_size_before_reloc): Ignore reloc_done.
* bfd-in2.h: Regenerate.