Michael Snyder
c1da8dedae
2003-10-15 Michael Snyder <msnyder@redhat.com>
...
* Makefile.in (sim_calls.o): No longer depends on gdb/tm.h.
2003-10-15 21:32:36 +00:00
Andrew Cagney
84e7fd53af
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".
2003-10-15 21:10:55 +00:00
Kazu Hirata
6288878d4b
* elf32-h8300.c (elf_reloc_map): Fix a comment typo.
2003-10-15 19:08:10 +00:00
Kevin Buettner
e4d5f7e1d9
* gdb.texinfo (Breakpoints related warnings): Insert into menu.
2003-10-15 17:55:02 +00:00
Alan Modra
60946ad010
* doc/as.texinfo (Align): Correct list of byte targets.
2003-10-15 14:16:29 +00:00
Joern Rennecke
8822d0016c
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.
2003-10-15 12:30:47 +00:00
Joern Rennecke
cdc9c0bc96
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.
2003-10-15 12:28:50 +00:00
Thiemo Seufer
1b8e29e540
* config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
...
Fix indentation. Better error message.
2003-10-15 11:12:53 +00:00
Kaz Kojima
46e993b970
[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.
2003-10-15 06:23:55 +00:00
gdbadmin
3d390fc11a
*** empty log message ***
2003-10-15 00:00:32 +00:00
Alan Modra
210cf1716c
daily update
2003-10-15 00:00:05 +00:00
Kaz Kojima
9bf7216d00
* 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.
2003-10-14 22:43:10 +00:00
Bob Wilson
b614a7028d
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.
2003-10-14 22:28:28 +00:00
Nathanael Nerode
2641f58d69
* gettext.m4: Properly quote arguments to AC_DEFUN.
2003-10-14 21:40:44 +00:00
Kevin Buettner
0f4d7c5207
* frv-tdep.c (frv_frame_this_id): Call inside_entry_func()
...
instead of deprecated_inside_entry_file().
2003-10-14 20:44:46 +00:00
Kevin Buettner
1485d690a8
* gdb.texinfo (Breakpoint related warnings): New node.
...
* gdbint.texinfo (ADJUST_BREAKPOINT_ADDRESS): Document.
2003-10-14 20:23:29 +00:00
Corinna Vinschen
2e95240843
* 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.
2003-10-14 15:35:43 +00:00
Richard Henderson
7e86466e04
* 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.
2003-10-14 06:51:14 +00:00
Danny Smith
661a32f7da
* pe-dll.c (pe_implied_import_dll): Also scan .rdata sections
...
to identify data symbols.
2003-10-14 06:26:31 +00:00
Kevin Buettner
46a16dba95
* 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.
2003-10-14 00:30:27 +00:00
Alan Modra
8723da3b74
daily update
2003-10-14 00:00:28 +00:00
gdbadmin
a66e852abc
*** empty log message ***
2003-10-14 00:00:01 +00:00
Kevin Buettner
76897487df
* 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.
2003-10-13 23:53:20 +00:00
Kevin Buettner
a113152116
* gdbarch.sh (ADJUST_BREAKPOINT_ADDRESS): New method.
...
* gdbarch.h, gdbarch.c: Regenerate.
2003-10-13 23:41:40 +00:00
Nathanael Nerode
f0b24077ac
* Makefile.tpl: Make GCC_FLAGS_TO_PASS a superset of
...
HOST_FLAGS_TO_PASS.
* Makefile.in: Regenerate.
2003-10-13 21:45:29 +00:00
Richard Sandiford
98a8deaf8a
* 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.
2003-10-13 19:51:10 +00:00
Richard Sandiford
786dbcc3f4
* 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.
2003-10-13 19:48:39 +00:00
Daniel Jacobowitz
d1d69fdd54
* gdb.threads/killed.exp: Use gdb_run_cmd.
2003-10-13 16:32:51 +00:00
Daniel Jacobowitz
7d605576a6
* gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
...
create a core file.
* gdb.threads/gcore-thread.exp: Likewise.
2003-10-13 16:30:45 +00:00
Daniel Jacobowitz
64386c31df
* 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.
2003-10-13 16:17:21 +00:00
Daniel Jacobowitz
86d30acc85
* gdb.texinfo (Remote Protocol): Document v and vCont.
2003-10-13 16:11:57 +00:00
H.J. Lu
3f7deb8a34
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.
2003-10-13 15:55:51 +00:00
Corinna Vinschen
618ec11271
* 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.
2003-10-13 09:13:43 +00:00
Kaz Kojima
0c72ffe04b
* elf64-sh64.c (sh_elf64_relocate_section): Tidy up for the
...
renumbering of some relocation numbers.
2003-10-13 05:11:30 +00:00
Kaz Kojima
f19ae42f43
[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.
2003-10-13 05:09:21 +00:00
Alan Modra
a852636504
daily update
2003-10-13 00:00:26 +00:00
gdbadmin
2aac377541
*** empty log message ***
2003-10-13 00:00:01 +00:00
gdbadmin
efbffed04f
*** empty log message ***
2003-10-12 00:00:31 +00:00
Alan Modra
ee9c017cad
daily update
2003-10-12 00:00:25 +00:00
Kaz Kojima
224186bcdc
* config/tc-sh.h (sh_coff_reloc_mangle): Delete an extra
...
parenthesis.
2003-10-11 21:51:13 +00:00
Michael Chastain
9367a73cbc
2003-10-11 Michael Chastain <mec@shout.net>
...
* gdb.base/call-rt-st.exp: Update copyright year.
2003-10-11 20:57:42 +00:00
Mark Kettenis
155c1d33d8
* i386bsd-tdep.c (i386bsd_init_abi): Use ARRAY_SIZE to initialize
...
TDEP->sc_num_regs.
2003-10-11 15:38:55 +00:00
Mark Kettenis
8a96bc77ca
* 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.
2003-10-11 15:22:39 +00:00
Mark Kettenis
477f40d1ae
* 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.
2003-10-11 14:54:24 +00:00
Mark Kettenis
c6b3359690
* x86-64-tdep.c (x86_64_regset_from_core_section): New function.
...
(x86_64_init_abi): Initialize regset_from_core_section if
appropriate.
2003-10-11 14:19:11 +00:00
Mark Kettenis
8446b36a38
* 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.
2003-10-11 13:50:25 +00:00
Kaz Kojima
8edc77b9b4
* 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.
2003-10-11 13:40:21 +00:00
Mark Kettenis
c783cbd61e
* i386-tdep.h (struct regset): Declare opaque.
2003-10-11 13:33:31 +00:00
Alan Modra
0f22be51ab
Fix bugus mail address
2003-10-11 13:13:02 +00:00
Alan Modra
27c5d6c91a
* bfd.texinfo: Remove spurious backslash.
2003-10-11 13:10:24 +00:00