OSDN Git Service
jjohnstn [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.
msnyder [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.
cagney [Wed, 15 Oct 2003 21:10:54 +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".
jjohnstn [Wed, 15 Oct 2003 19:57:18 +0000 (19:57 +0000)]
2003-10-15 Bernardo Innocenti <bernie@develer.com>
* m68k/sim-funcs.c (_XOPEN_SOURCE): Define to get the pid_t
typedef from <unistd.h>.
kazu [Wed, 15 Oct 2003 19:08:10 +0000 (19:08 +0000)]
* elf32-h8300.c (elf_reloc_map): Fix a comment typo.
kevinb [Wed, 15 Oct 2003 17:55:02 +0000 (17:55 +0000)]
* gdb.texinfo (Breakpoints related warnings): Insert into menu.
jjohnstn [Wed, 15 Oct 2003 17:33:32 +0000 (17:33 +0000)]
2003-10-15 Alexandre Oliva <aoliva@redhat.com>
* Makefile.am: Add $(MAKE) comments to multido and multiclean
lines, to enable parallel make.
* Makefile.in: Rebuilt.
amodra [Wed, 15 Oct 2003 14:16:28 +0000 (14:16 +0000)]
* doc/as.texinfo (Align): Correct list of byte targets.
amylaar [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.
amylaar [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.
ths [Wed, 15 Oct 2003 11:12:52 +0000 (11:12 +0000)]
* config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
Fix indentation. Better error message.
corinna [Wed, 15 Oct 2003 09:38:21 +0000 (09:38 +0000)]
* baseboards/sh-sim.exp: Add copyright header.
corinna [Wed, 15 Oct 2003 08:23:25 +0000 (08:23 +0000)]
* fhandler_console.cc (char_command): Add escape sequence for codepage
ansi <-> oem switching for ncurses frame drawing capabilities.
* dcrt0.cc: Add local variable alternate_charset_active.
* winsup.h: Add global external variable alternate_charset_active.
kkojima [Wed, 15 Oct 2003 06:23:54 +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 ***
amodra [Wed, 15 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update
kkojima [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.
bwilson [Tue, 14 Oct 2003 22:28:26 +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.
neroden [Tue, 14 Oct 2003 21:40:44 +0000 (21:40 +0000)]
* gettext.m4: Properly quote arguments to AC_DEFUN.
kevinb [Tue, 14 Oct 2003 20:44:45 +0000 (20:44 +0000)]
* frv-tdep.c (frv_frame_this_id): Call inside_entry_func()
instead of deprecated_inside_entry_file().
kevinb [Tue, 14 Oct 2003 20:23:28 +0000 (20:23 +0000)]
* gdb.texinfo (Breakpoint related warnings): New node.
* gdbint.texinfo (ADJUST_BREAKPOINT_ADDRESS): Document.
cgf [Tue, 14 Oct 2003 17:41:29 +0000 (17:41 +0000)]
* libc/time/clock.c: Clarify documentation of return value when no measurement
is available.
bje [Tue, 14 Oct 2003 16:50:31 +0000 (16:50 +0000)]
* win/tcl.m4 (SC_PROG_TCLSH): Replace with version from tcl/win.
* win/configure: Regenerate.
corinna [Tue, 14 Oct 2003 15:35:41 +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.
corinna [Tue, 14 Oct 2003 09:21:54 +0000 (09:21 +0000)]
* exceptions.cc (ctrl_c_handler): Don't send SIGHUP on
CTRL_LOGOFF_EVENT to processes running in invisible Windows Stations.
* window.cc (has_visible_window_station): New function.
* winsup.h: Add declaration for has_visible_window_station.
rth [Tue, 14 Oct 2003 06:51:13 +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.
dannysmith [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.
kevinb [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.
amodra [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 ***
kevinb [Mon, 13 Oct 2003 23:53:19 +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.
kevinb [Mon, 13 Oct 2003 23:41:39 +0000 (23:41 +0000)]
* gdbarch.sh (ADJUST_BREAKPOINT_ADDRESS): New method.
* gdbarch.h, gdbarch.c: Regenerate.
neroden [Mon, 13 Oct 2003 21:45:28 +0000 (21:45 +0000)]
* Makefile.tpl: Make GCC_FLAGS_TO_PASS a superset of
HOST_FLAGS_TO_PASS.
* Makefile.in: Regenerate.
rsandifo [Mon, 13 Oct 2003 19:51:08 +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.
rsandifo [Mon, 13 Oct 2003 19:48:38 +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.
drow [Mon, 13 Oct 2003 16:32:51 +0000 (16:32 +0000)]
* gdb.threads/killed.exp: Use gdb_run_cmd.
drow [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.
drow [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.
drow [Mon, 13 Oct 2003 16:11:57 +0000 (16:11 +0000)]
* gdb.texinfo (Remote Protocol): Document v and vCont.
hjl [Mon, 13 Oct 2003 15:55:50 +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 [Mon, 13 Oct 2003 09:17:25 +0000 (09:17 +0000)]
* baseboards/sh-sim.exp: New file.
corinna [Mon, 13 Oct 2003 09:13:42 +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.
papadopo [Mon, 13 Oct 2003 06:02:06 +0000 (06:02 +0000)]
* include/windows.h (CopyCursor): Although MSDN pretends this is
a function to be imported from user32.lib, it's actually a macro.
From the Delphi FAQ:
Question:
Where is the Windows API function CopyCursor defined in
32-Bit versions of Delphi and C++ Builder?
Answer:
While the call is documented in the Win32 help file, the
function is simply mapped to the Windows API function
CopyIcon(). Note that the 32 bit version of CopyIcon
does not take a hInstance parameter.
dannysmith [Mon, 13 Oct 2003 05:22:30 +0000 (05:22 +0000)]
2003-10-13 Steven Edwards <Steven_Ed4153@yahoo.com>
* include/winnt.h (CONTAINING_RECORD): Add macro.
kkojima [Mon, 13 Oct 2003 05:11:29 +0000 (05:11 +0000)]
* elf64-sh64.c (sh_elf64_relocate_section): Tidy up for the
renumbering of some relocation numbers.
kkojima [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.
dannysmith [Mon, 13 Oct 2003 03:25:25 +0000 (03:25 +0000)]
* include/winnt.h: (FILE_SUPERSEDED, FILE_OPENED, FILE_CREATED,
FILE_OVERWRITTEN, FILE_EXISTS, FILE_DOES_NOT_EXIST): remove
defines.
dannysmith [Mon, 13 Oct 2003 02:46:35 +0000 (02:46 +0000)]
2003-10-13 Filip Navara <xnavara@volny.cz>
* include/commctrl.h: (DSA_*):Add prototypes, typedefs and
defines for Dynamic Storage Arrays.
(DPA_*): Likewise, for Dynamic Pointer Arrays.
(FlatSB_*, InitializeFlatSB, InitializeFlatSB): Add prototypes
and defines for Flat ScrollBars.
(SetWindowSubclass, GetWindowSubclass, RemoveWindowSubclass,
DefSubclassProc): Add prototypes for subclassing.
(DrawShadowText) Add prototype.
` (COMCTL32_VERSION): Define.
dannysmith [Mon, 13 Oct 2003 00:22:38 +0000 (00:22 +0000)]
2003-10-13 Martin Fuchs <Martin-Fuchs@gmx.net>
* include/shlobj.h (CFSTR_FILENAME, CFSTR_FILEDESCRIPTOR,
CFSTR_FILENAMEMAP, CFSTR_SHELLURL): Correct UNICODE definitions.
amodra [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 ***
dannysmith [Sun, 12 Oct 2003 23:38:57 +0000 (23:38 +0000)]
2003-10-13 Pierre Humblet <pierre.humblet@ieee.org>
* include/winnt.h (SM_REMOTESESSION): Add define.
* include/winuser.h (SE_CREATE_GLOBAL_NAME): Ditto.
dannysmith [Sun, 12 Oct 2003 23:34:13 +0000 (23:34 +0000)]
* include/wincrypt (KP_IV, KP_SALT, KP_PADDING, KP_MODE,
KP_MODE_BITS, KP_PERMISSIONS, KP_ALGID, KP_BLOCKLEN): Remove
duplicate definitions.
(KP_X, KP_Y): Correct typos.
gdbadmin [Sun, 12 Oct 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 12 Oct 2003 00:00:25 +0000 (00:00 +0000)]
daily update
kkojima [Sat, 11 Oct 2003 21:51:12 +0000 (21:51 +0000)]
* config/tc-sh.h (sh_coff_reloc_mangle): Delete an extra
parenthesis.
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.
kettenis [Sat, 11 Oct 2003 15:38:54 +0000 (15:38 +0000)]
* i386bsd-tdep.c (i386bsd_init_abi): Use ARRAY_SIZE to initialize
TDEP->sc_num_regs.
kettenis [Sat, 11 Oct 2003 15:22:38 +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.
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.
kettenis [Sat, 11 Oct 2003 14:19:10 +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.
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.
kkojima [Sat, 11 Oct 2003 13:40:20 +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.
kettenis [Sat, 11 Oct 2003 13:33:31 +0000 (13:33 +0000)]
* i386-tdep.h (struct regset): Declare opaque.
amodra [Sat, 11 Oct 2003 13:13:02 +0000 (13:13 +0000)]
Fix bugus mail address
amodra [Sat, 11 Oct 2003 13:10:24 +0000 (13:10 +0000)]
* bfd.texinfo: Remove spurious backslash.
amodra [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.
kettenis [Sat, 11 Oct 2003 12:52:29 +0000 (12:52 +0000)]
* gdbarch.sh (regset_from_core_section): New method.
(struct regset): Declare opaque.
* gdbarch.c, gdbarch.h: Regenerated.
amodra [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.
amodra [Sat, 11 Oct 2003 12:40:37 +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.
amodra [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.
amodra [Sat, 11 Oct 2003 12:33:50 +0000 (12:33 +0000)]
Oops. missed a line.
amodra [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.
kettenis [Sat, 11 Oct 2003 12:05:44 +0000 (12:05 +0000)]
* gdbarch.sh: Remove trailing whitepsace from comments.
hp [Sat, 11 Oct 2003 09:18:58 +0000 (09:18 +0000)]
* ld-scripts/defined3.d, ld-scripts/defined3.t: New test.
* ld-scripts/defined.exp: Run defined3.
hp [Sat, 11 Oct 2003 09:16:20 +0000 (09:16 +0000)]
* ld.texinfo (Builtin Functions) <DEFINED>: Say that only symbols
defined before the statement using DEFINED yield 1.
* ldexp.c (fold_name) <case DEFINED>: In lang_first_phase_enum,
call lang_track_definedness on symbol. In subsequent phases, use
lang_symbol_definition_iteration and lang_statement_iteration to
check whether the symbol was defined before the current statement.
(exp_fold_tree) <case etree_assign et al>: Call
lang_update_definedness before updating symbol type when setting
symbol.
* ldlang.c (lang_definedness_table): New variable.
(lang_definedness_newfunc, lang_track_definedness)
(lang_symbol_definition_iteration, lang_update_definedness): New
functions.
(lang_init): Initialize lang_definedness_table and
lang_statement_iteration.
(lang_finish): Destroy bfd_hash_table_free.
(lang_size_sections): Increment lang_statement_iteration.
(lang_do_assignments_1): New function with former
lang_do_assignments contents. Change recursive calls to call this
function.
(lang_do_assignments): Evacuate contents. Increment
lang_statement_iteration, then just call lang_do_assignments_1.
* ldlang.h (struct lang_definedness_hash_entry)
(lang_statement_iteration, lang_track_definedness)
(lang_symbol_definition_iteration, lang_update_definedness):
Declare.
manubee [Sat, 11 Oct 2003 08:00:38 +0000 (08:00 +0000)]
Dummy afxres header, richedit constants added
roland [Sat, 11 Oct 2003 01:57:07 +0000 (01:57 +0000)]
.
roland [Sat, 11 Oct 2003 01:56:53 +0000 (01:56 +0000)]
2003-10-08 Roland McGrath <roland@redhat.com>
* gcore.c (make_mem_sec): Function removed, folded into ...
(gcore_create_callback): ... here. To omit a section, clear its
SEC_LOAD bit rather than zeroing its size.
Omit read-only sections only if they correspond to a known disk file.
(gcore_copy_callback): Ignore sections without SEC_LOAD flag set.
amodra [Sat, 11 Oct 2003 00:00:19 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 11 Oct 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
msnyder [Fri, 10 Oct 2003 22:13:49 +0000 (22:13 +0000)]
2003-06-03 Michael Snyder <msnyder@redhat.com>
and Bernd Schmidt <bernds@redhat.com>
and Alexandre Oliva <aoliva@redhat.com>
* disassemble.c (disassembler): Add support for h8300sx.
msnyder [Fri, 10 Oct 2003 21:59:04 +0000 (21:59 +0000)]
2003-10-10 Michael Snyder <msnyder@redhat.com>
* d10v-tdep.c: Fix typo in comment.
cagney [Fri, 10 Oct 2003 21:32:46 +0000 (21:32 +0000)]
2003-10-10 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (e500_store_return_value): Delete function.
(e500_extract_return_value): Delete function.
(rs6000_gdbarch_init): When SYSV, set "extract_return_value" and
"restore_return_value" to "ppc_sysv_abi_extract_return_value" and
"ppc_sysv_abi_restore_return_value" where applicable.
* ppc-tdep.h: (ppc_sysv_abi_store_return_value): Declare.
(ppc_sysv_abi_extract_return_value): Declare.
(ppc_sysv_abi_broken_store_return_value): Declare.
(ppc_sysv_abi_broken_extract_return_value): Declare.
(ppc_sysv_abi_broken_use_struct_convention:) Delete declaration.
* ppc-sysv-tdep.c (return_value_convention): Move definition to
start of file.
(do_ppc_sysv_return_value): New function.
(ppc_sysv_abi_extract_return_value): New function.
(ppc_sysv_abi_store_return_value): New function.
(ppc_sysv_abi_broken_extract_return_value): New function.
(ppc_sysv_abi_broken_store_return_value): New function.
(ppc_sysv_abi_use_struct_convention): Call
do_ppc_sysv_return_value.
brobecke [Fri, 10 Oct 2003 20:49:40 +0000 (20:49 +0000)]
* blockframe.c (inside_main_func): No longer use symbol_lookup()
to lookup the main function symbol.
corinna [Fri, 10 Oct 2003 20:30:43 +0000 (20:30 +0000)]
* sh-tdep.c (sh_treat_as_flt_p): New function to recognize float
types correctly.
(sh_push_dummy_call_fpu): Fix argument passing rules.
(sh3e_sh4_extract_return_value): Call sh_treat_as_flt_p to recognize
float types.
(sh3e_sh4_store_return_value): Ditto.
brolley [Fri, 10 Oct 2003 19:31:17 +0000 (19:31 +0000)]
2003-10-10 Dave Brolley <brolley@redhat.com>
* gas/frv/allinsn.s: Use preoperly aligned registers.
* gas/frv/allinsn.d: Update expected results.
brolley [Fri, 10 Oct 2003 19:30:50 +0000 (19:30 +0000)]
2003-10-10 Dave Brolley <brolley@redhat.com>
* sim/frv/testutils.inc (or_gr_immed): New macro.
* sim/frv/fp_exception-fr550.cgs: Write insns using
unaligned registers into the program in order to
cause the required exceptions.
* sim/frv/fp_exception.cgs: Ditto.
* sim/frv/regalign.cgs: Ditto.
brolley [Fri, 10 Oct 2003 19:30:21 +0000 (19:30 +0000)]
2003-10-10 Dave Brolley <brolley@redhat.com>
* cpu.h, sem.c: Regenerate.
brolley [Fri, 10 Oct 2003 19:30:01 +0000 (19:30 +0000)]
2003-10-10 Dave Brolley <brolley@redhat.com>
* frv-asm.c,frv-desc.c,frv-opc.c: Regenerated.
brolley [Fri, 10 Oct 2003 19:29:38 +0000 (19:29 +0000)]
2003-10-10 Dave Brolley <brolley@redhat.com>
* frv.cpu (dnpmop): New p-macro.
(GRdoublek): Use dnpmop.
(CPRdoublek, FRdoublei, FRdoublej, FRdoublek): Ditto.
(store-double-r-r): Use (.sym regtype doublek).
(r-store-double): Ditto.
(store-double-r-r-u): Ditto.
(conditional-store-double): Ditto.
(conditional-store-double-u): Ditto.
(store-double-r-simm): Ditto.
(fmovs): Assign to UNIT FMALL.
ezannoni [Fri, 10 Oct 2003 19:20:30 +0000 (19:20 +0000)]
2003-10-10 Elena Zannoni <ezannoni@redhat.com>
* sh-tdep.c (sh_use_struct_convention): Clarify one case in
comment.
corinna [Fri, 10 Oct 2003 19:14:02 +0000 (19:14 +0000)]
* sh-tdep.c (sh_use_struct_convention): Clean up to have a
more readable code. Accomodate passing of bitfields.
cgf [Fri, 10 Oct 2003 19:11:21 +0000 (19:11 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::open): Don't create a new window station
if one already exists.
cgf [Fri, 10 Oct 2003 19:07:08 +0000 (19:07 +0000)]
* shared.cc (shared_info::initialize): Remove myself check since hMainProc
initialization will allow user initialization to work.
cagney [Fri, 10 Oct 2003 18:29:12 +0000 (18:29 +0000)]
2003-10-10 Andrew Cagney <cagney@redhat.com>
* Makefile.in (ppc-sysv-tdep.o): Add $(gdb_assert_h).
* rs6000-tdep.c (rs6000_gdbarch_init): When 64 bit SysV ABI, set
push_dummy_call to ppc64_sysv_abi_push_dummy_call.
* ppc-sysv-tdep.c: Include "gdb_assert.h".
(ppc64_sysv_abi_push_dummy_call): New function.
(ppc64_sysv_abi_broken_push_dummy_call): New function.
* ppc-tdep.h (ppc64_sysv_abi_push_dummy_call): Declare.
(ppc64_sysv_abi_broken_push_dummy_call): Declare.
earnie [Fri, 10 Oct 2003 18:25:09 +0000 (18:25 +0000)]
* include/_mingw.h: Increment version to 3.2.
* Makefile.in: Ditto.
cgf [Fri, 10 Oct 2003 17:44:54 +0000 (17:44 +0000)]
fix typo
hjl [Fri, 10 Oct 2003 15:29:49 +0000 (15:29 +0000)]
2003-10-10 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Likewise.
earnie [Fri, 10 Oct 2003 15:09:53 +0000 (15:09 +0000)]
* include/sys/types.h: Revert last change.